failed to detect Glib?
error: Failed to detect or find glib-2.0 >= 2.6.4 gthread-2.0 (consider adjusting $PKG_CONFIG_PATH)
I got this error when trying to configure BEAST.... I obviously have Glib somewhere. How might I adjust PKG_CONFIG? I'm running UBUNTU |
I guess that you have glib-2.0, but its version is lower that 2.6.4, that's why ./configure complains. Usually these libraries are installed in /usr/lib and you can run
Code:
pkg-config --modversion glib-2.0 Use your distro's package manager to see if it's installed and to upgrade to the latest version. If you have installed the library yourself in a non standard place you can adjust the PKG_CONFIG_PATH like this: Code:
export PKG_CONFIG_PATH=/path/to/non-standard/libs:$PKG_CONFIG_PATH |
Still using Ubuntu 8.10 ?
Install package 'libglib2.0-dev' , if you want to compile with "glib2.0" : sudo apt-get install libglib2.0-dev ..... |
All times are GMT -5. The time now is 06:51 PM. |