gaim wants GLIB with devel headers
Trying to configure gaim 0.8.2, but I keep getting an error about GLib development headers. I have tried reinstalling GLib to no avail. Please bare in mind that I am pretty new to Linux.
Thanks! checking for GLIB - version >= 2.0.0... no *** Could not run GLIB test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GLIB is incorrectly installed. configure: error: *** GLib 2.0 is required to build Gaim; please make sure you have the GLib *** development headers installed. The latest version of GLib is *** always available at gtk.org. |
most binary linux disributions divide packages in two
one to use the library at runtime and another glib-devel or something with the developement files in it -- you have to install the devel one as well. I will never understand this practice but as long as you use one of those prepackaged distros you will have to deal with it . |
Quote:
|
As long as you're using FC 1, get apt-get for fc1 and install glib with it.
Apt-get will download the pakages you need and dependencies in rpm and it will install them for you. It's really easy to use, and I recommend you as well that you get synaptic (the GUI for apt-get). If you do a google search, there's a lot of pages where they explain you how to use apt-get. |
Thanks for the reply. Is there any other way to get GLib with development headers other than apt-get? Thanks.
|
Your glib install may be ok, you may need to set up an environment variable to direct the ./configure to the right header files.
Am having a similar problem with Slackware 9.1, but it seems to be due to having an old version 1.x version of glib (for backwards comp) around on the system, in addition to the 2.x glib, it seems to default to the old one. |
Quote:
glib uses pkg-config so if you installed in a non standard place you need to add the path to the pkgconfig dir to PKG_CONFIG_PATH mine says PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig:/opt/gnome/lib/pkgconfig:$PKG_CONFIG_PATH pkg-config has a standard path hardcoded in but i can't remember exactly.. i think its --prefix= where pkgconfig was installed +/pkgconfig everything else you have to add also of course make sure the path to libglib is in /etc/ld.so.conf and run as root ldconfig |
Yes, that was what I was trying to remember.
I had a pkgconfig dir in both /usr/local/lib and in /usr/lib my glib files were in /usr/lib did the following: PKG_CONFIG_PATH="usr/lib/pkgconfig" LD_LIBRARY_PATH="usr/lib" export PKG_CONFIG_PATH LD_LIBRARY_PATH also edited /etc/ lc.so.conf to contain the correct path Also: watch for stale symlinks in /usr/lib |
All times are GMT -5. The time now is 01:29 AM. |