irssi-import / bugs.irssi.org

bugs.irssi.org archive
https://github.com/irssi/irssi/issues
0 stars 0 forks source link

Compile Failure: GLib version mismatch #855

Open irssibot opened 12 years ago

irssibot commented 12 years ago

I am on a system where I cannot uninstall the older version of GLib (Slackware64). Since the ./configure can find the recent version of GLib I configured, it should be able to use those files. Can anyone please write a bypass to irssi 0.8.15, such as ./configure --use-any-glib?

./configure ... checking for GLIB - version >= 2.6.0... 'pkg-config --modversion glib-2.0' returned 2.31.17, but GLIB (2.32.1) was found! If pkg-config was correct, then it is best to remove the old version of GLib. You may also be able to fix the error by modifying your LD_LIBRARY_PATH enviroment variable, or by editing /etc/ld.so.conf. Make sure you have run ldconfig if that is required on your system. If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH to point to the correct configuration files no trying without -lgmodule checking for pkg-config... (cached) /usr/local/bin/pkg-config checking pkg-config is at least version 0.7... yes checking for GLIB - version >= 2.6.0... 'pkg-config --modversion glib-2.0' returned 2.31.17, but GLIB (2.32.1) was found! If pkg-config was correct, then it is best to remove the old version of GLib. You may also be able to fix the error by modifying your LD_LIBRARY_PATH enviroment variable, or by editing /etc/ld.so.conf. Make sure you have run ldconfig if that is required on your system. If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH *** to point to the correct configuration files no

If you don't have GLIB, you can get it from ftp://ftp.gtk.org/pub/glib/ We recommend you get the latest stable GLIB 2 version. Compile and install it, and make sure pkg-config finds it, by adding the path where the .pc file is located to PKG_CONFIG_PATH

configure: error: GLIB is required to build irssi.

irssibot commented 12 years ago

As stated in the output above, you can set the PKG_CONFIG_PATH environment variable to point to the location of your update GLIB .pc file, eg:

PKG_CONFIG_PATH=/path/to/your/new/glib20pcfile/ ./configure