Results 1 to 10 of 10

Thread: Help- Building Pidgin From Source

  1. #1
    Auriarte NNTP User

    Default Help- Building Pidgin From Source

    Hello all,

    Just switched to linux and am trying to learn to build packages from the source. I just downloaded the new Pidgin-2.5.1.tar.bz2 from Source | Download | Pidgin but am unsure how to install it from source. If someone could provide a brief explanation that would be great, as I would like to avoid the RPM so that I can learn how to use linux properly.

    Thanks alot!

  2. #2
    ab@novell.com NNTP User

    Default Re: Help- Building Pidgin From Source

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Most of the time the instructions are something like the following, but
    chances are the source you download has instructions inside:

    #as a regular user
    tar -jxvf ./Pidgin-2.5.1.tar.bz2
    cd ./Pidgin-2.5.1-extracted-directory
    ../configure && make
    #as root `su`
    make install

    Tada. It's definitely not always that simple, but depending on the
    software and its requirements it can be.

    Good luck.





    Auriarte wrote:
    > Hello all,
    >
    > Just switched to linux and am trying to learn to build packages from
    > the source. I just downloaded the new Pidgin-2.5.1.tar.bz2 from 'Source
    > | Download | Pidgin' (http://www.pidgin.im/download/source/) but am
    > unsure how to install it from source. If someone could provide a brief
    > explanation that would be great, as I would like to avoid the RPM so
    > that I can learn how to use linux properly.
    >
    > Thanks alot!
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFI5Vxr3s42bA80+9kRAt2MAJ90tk8o6GzMOmYDmQbUYOrV+KjWJACffY6/
    FcpWAWdAwewlSxdpvgf/Dg4=
    =5sGG
    -----END PGP SIGNATURE-----

  3. #3

    Default Re: Help- Building Pidgin From Source

    #as root `su`
    make install
    If you prefer to not install it directly into your system as I do - things get messy fast - you can do the following without being root:

    Code:
    make DESTDIR=some_directory install
    where some_directory can be any directory you want that your normal user has control over. This way, the install is self-contained and you don't risk messing up your system.

    Note: This may not work with everything, some programs require they be in default locations. If that is the case, then you can use the configure script, usually, to enable new defaults.

    g

  4. #4
    Auriarte NNTP User

    Default Re: Help- Building Pidgin From Source

    it seemed to work up until the point where it said i was missing Glib 2.0 development headers. what should i do from this point? I am running opensuse 11.0

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,859
    Blog Entries
    15

    Default Re: Help- Building Pidgin From Source

    Quote Originally Posted by Auriarte
    it seemed to work up until the point where it said i was missing Glib
    2.0 development headers. what should i do from this point? I am running
    opensuse 11.0
    Hi
    You need to install the glib2 devel file;
    Code:
    sudo zypper in glib2-devel
    I'm sure there will be more, just need to search in YaST and looik for
    the devel versions.

    As a side note these are the build options I used taken from the
    previous version src rpm.

    Code:
    ../configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
    --target=i586-suse-linux --program-prefix= --prefix=/usr
    --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
    --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include
    --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var
    --sharedstatedir=/usr/com --mandir=/usr/share/man
    --infodir=/usr/share/info --disable-static --enable-plugins
    --enable-cyrus-sasl --enable-dbus=yes --enable-mono=yes
    --enable-gstreamer=yes --enable-gnome-keyring=yes --enable-nm=yes
    --enable-dbus=yes --enable-devhelp --with-perl-lib=/usr
    --with-nspr-includes=/usr/include/nspr4
    --with-nss-includes=/usr/include/nss3 --with-tclconfig=/usr/lib
    --with-tkconfig=/usr/lib
    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
    up 14:31, 1 user, load average: 0.00, 0.07, 0.15
    GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12


  6. #6

    Default Re: Help- Building Pidgin From Source

    Whenever a configure script is missing some development files, search for and install the appropriate package with the '-devel' ending. In this case, glib-devel. It is most likely glib2-devel, however, since pidgin uses the newer glib libraries.

    g

  7. #7
    Auriarte NNTP User

    Default Re: Help- Building Pidgin From Source

    a big thanks to everyone, i am learning more and more about this OS and liking it more everyday.

    as i am installing pidgin, i seem to be running into multiple development tools that are missing that I have to continuously refer back to zypper to download. is there a way to see all the development tools that I would need for a package without having to download each, one by one when using the ./configure && make command ?

  8. #8
    ab@novell.com NNTP User

    Default Re: Help- Building Pidgin From Source

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    I assume this is similar to SLED 10 (which I'm running and which is
    based on opensuse 10) so go into Yast and choose the Software: Software
    Management section (`yast -i` to do it all in one step). There is an
    option to change the filter to 'Patterns' instead of 'Search' as I
    recall. Change to that and then notice the development pattern. (C/C++
    Programming Tools) that should give you all you need for a lot of your
    programming, but you will probably always find yourself adding more
    development packages unless you decide ot install all of them, which
    will probably take substantial amounts of time and space.

    Good luck.





    Auriarte wrote:
    > a big thanks to everyone, i am learning more and more about this OS and
    > liking it more everyday.
    >
    > as i am installing pidgin, i seem to be running into multiple
    > development tools that are missing that I have to continuously refer
    > back to zypper to download. is there a way to see all the development
    > tools that I would need for a package without having to download each,
    > one by one when using the ./configure && make command ?
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFI5YmX3s42bA80+9kRAiwBAJwMgRLiH5BFekRk0krM56Kyei+tnACffT7N
    m8S9ERsFIu1/v96b3BJMnf4=
    =E6EZ
    -----END PGP SIGNATURE-----

  9. #9
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,859
    Blog Entries
    15

    Default Re: Help- Building Pidgin From Source

    Quote Originally Posted by Auriarte
    a big thanks to everyone, i am learning more and more about this OS and
    liking it more everyday.

    as i am installing pidgin, i seem to be running into multiple
    development tools that are missing that I have to continuously refer
    back to zypper to download. is there a way to see all the development
    tools that I would need for a package without having to download each,
    one by one when using the ./configure && make command ?
    Hi
    Generally this information is contained in the text files called
    readme or install in the root directory of the unzipped file.

    In the case of pidgin it's the README file.

    Also if your are going to build from source you generally need to
    install the "base development" and "C/C++ Development" patterns which
    contain the bulk of the files needed.

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
    up 15:29, 1 user, load average: 0.17, 0.12, 0.09
    GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12


  10. #10
    Join Date
    Jun 2008
    Location
    PHX
    Posts
    481

    Default Re: Help- Building Pidgin From Source

    Quote Originally Posted by Auriarte View Post
    a is there a way to see all the development tools that I would need for a package without having to download each, one by one when using the ./configure && make command ?
    From the SRPM:

    BuildRequires: bzip2 dbus-1-devel doxygen evolution-data-server-devel gnome-icon-theme gnome-keyring-devel graphviz gtkspell-devel intltool libao-devel libbonobo-devel libstdc++-devel libxml2-devel mono-devel ncurses-devel perl-XML-Parser python startup-notification-devel tk-devel update-desktop-files meanwhile-devel
    <>---><^>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •