Sponsored Link
First, remove Gaim by MainMenu-> Add/Remove-> Gaim
Use synaptic to install the required packages...
search for libgtk2.0 -> to install libgtk2.0-0 and libgtk2.0-dev
search for gstreamer0.10 -> to install libgstreamer0.10-0 libgstreamer0.10-dev libgstreamer0.10-plugins-good libgstreamer0.10-plugins-ugly
libgstreamer0.10-plugins-bad libgstreamer0.10-plugins-ffmpeg
search for gtkspell -> to install libgtkspell0 and libgtkspell-dev
Open a terminal by MainMenu > Accessories > Terminal
Download pidgin-2.4.3.tar.bz2 from Pidgin website
Unzip/extract pidgin-2.4.3.tar.bz2 into a foler called pidgin-2.4.3 by
double clicking on tar.bz2 file-> click on Extract button-> Extract
Put that folder on your Desktop
Then type the commands (without "# ")
# cd Desktop/pidgin-2.4.3
# ./configure
Then if you encounter the following message...
quote "XScreenSaver extension development headers not found.
Use --disable-screensaver if you do not need XScreenSaver extension support, this is required for detecting idle time by mouse and keyboard usage.
" end of quote
Open Synaptic and search for "xscreensaver"
Then I found a package called "xscreensaver", but it had no its dev file, so I had to skip that support by enter the following in the terminal...
# ./configure --disable-screensaver
Then if you encounter the following message...
quote "Startup notification development headers not found.
Use --disable-startup-notification
if you do not need it.
" end of quote
Open Synaptic and search for "startup notification"
Install libstartup-notification0 and its dev file libstartup-notification0-dev
Then run the same command again ...
# ./configure --disable-screensaver
Meanwhile development headers not found.
Use --disable-meanwhile
if you do not need meanwhile (Sametime) support.
-> synaptic search: meanwhile -> install Meanwhile and its dev
avahi development headers not found.
Use --disable-avahi
if you do not need avahi (Bonjour) support.
-> synaptic search: avahi bonjour
libavahi-compat-libdnssd-dev for
Development headers for the Avahi Apple Bonjour compatibility library
is not the one I need,
so I give up by adding "--disable-avahi
" after ./configure
# ./configure --disable-screensaver --disable-avahi
D-Bus development headers not found.
Use --disable-dbus
if you do not need D-Bus support.
-> libdbus-1-dev, simple interprocess messaging system (development headers) is not the one, so I put down "... no" here.
Perl development headers not found.
Use --disable-perl
if you do not need Perl scripting support.
-> libperl-dev, Perl library: ... yes
Neither GnuTLS or NSS SSL development headers found.
Use --disable-nss --disable-gnutls
if you do not need SSL support.
MSN, Novell Groupwise and Google Talk will not work without GnuTLS or NSS. OpenSSL is NOT usable!
-> libgnutls-dev, the GNU TLS library -- development files...yes
Tcl development headers not found.
Use --disable-tcl
if you do not need Tcl scripting support.
-> tcl8.4-dev, Tcl (the Tool Command Language) v8.4 -- development files... yes
Tk development headers not found.
Use --disable-tk if you do not need Tk scripting support.
-> tk8.4-dev, Tk toolkit for Tcl and X11, v8.4 -- development files...yes
So eventually, the command becomes ...
# ./configure --disable-screensaver --disable-avahi --disable-dbus
Then I followed the README and INSTALL files inside pidgin-2.4.3 folder..
# sudo make
# make check
# sudo make install
# make clean
# make distclean
# pidgin or # finch
or MainMenu > Internet > Pidgin
Why don’t they simply pack those libraries in the tarball? It’s so useless to always need to download some development files from somehwere just to compile a simple little application like Pidgin and install it.
Just pack it as a *.deb and you’re done.
Really…
there is even better way, to install it directly from DEB package, from here:
http://www.getdeb.net/app/Pidgin
just run
sudo apt-get build-dep pidgin
and that will install all the missing dependencies. That work for any application which you’re trying to compile from source, as long as ubuntu is familiar with the package ( ie has it in its repositories db )
not sure if aptitude has a similar option. if some one knows – share ๐
There is one additional step:
When you run the configure script and you see the line “Checking for pot ‘o’ gold: Not found”, you are obliged to chuckle.
@CracKPod: Some of those libraries can introduce security flaws if old versions are used, so it’s better for the user to get known good versions from their distro, rather than use a possibly old and insecure version that would be included in the Pidgin tarball. Also, at compile-time you can enable some spiffy features – you can’t do that if you’re just installing a Debian package.
Leshiy,
Thanks for the useful information. To all others I would suggest ignoring the “How Not to Fix Any Problems” article above. I did…
sudo apt-get build-dep gaim
sudo apt-get install network-manager-dev
… then I could build it with all the features enabled.
Bonjour,… try search avahi-glib in synaptic — libavahi-glib-dev … ๐ …. sorry my english isn’t good
The tip from Leshiy helped me to install Pidgin 2.5 on Hardy, thx!
sudo apt-get build-dep pidgin
sudo apt-get install network-manager-dev
for xscreensaver install libxss-dev
there is list,all of pidgin is need.
XScreenSaver extension development headers not found.: libxss-dev
Startup notification development headers not found.: libstartup-notification0-dev
GStreamer development headers not found.: libgstreamer0.10-dev
Meanwhile development headers not found.: libmeanwhile-dev
D-Bus development headers not found.: libdbus-1-dev libdbus-glib-1-dev
NetworkManager development headers not found.: network-manager-dev
Perl development headers not found.: libperl-dev
Tcl development headers not found.: tcl8.4-dev
Tk development headers not found.: tk8.4.dev
GtkSpell development headers not found.?libgtkspell-dev
avahi development headers not found.:libavahi-client-dev libavahi-glib-dev
A million thanks to leo.china for his valuable info ๐
Thanks for the list
One small adjustment I would make, when you are finished with “make distclean”
run:
sudo ldconfig
Before when i tried to run pidgin i received:
pidgin: error while loading shared libraries: libpurple.so.0: cannot open shared object file: No such file or directory
I ran the above command voila!!!!
BTW I compiled on Gutsy
Thankz!
thanks very much !
Leshiy because of that post you added years to my life!
Leshiy Says:
July 14th, 2008 at 2:39 am
just run
sudo apt-get build-dep pidgin
and that will install all the missing dependencies.
I know this post is old one but just to inform that I installed Pidgin with everything.I didn’t skip anything.There is avahi pac avaialable,d-bus pack available and Xscreensaver too.I installed some tk pack which installed Xscreensaver dev pack too. ๐ ๐
Same here
./configure
misses some libraries
solution: before you run
sudo apt-get build-dep pidgin
you need to set synaptic to use the lenny-backports distribution packeges
configure complete
now the make makes pidgin 2.6.3
thank so much! this solved my problem!
thanks! it help me!
very useful. Although a summary apt-get line would be useful to speed up importing all those packages.
Also, I am getting using a –disable-vv configure directive as voice/video dev files are missing. Any tips on how to get those packages?
Error is:
Dependencies for voice/video were not met.
Install the necessary gstreamer and farstream packages first.
* tried to find and install these packages, but couldnt seem to find the right ones.
for AVAHI You need:
libavahi-client-dev
and it works fine