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.
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
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:
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.
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
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.
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 ?
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
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