LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Double version of Glib-2.0 (https://www.linuxquestions.org/questions/linux-software-2/double-version-of-glib-2-0-a-712033/)

blackdiamond 03-16-2009 01:44 PM

Double version of Glib-2.0
 
Hi, im trying to install GTK+ for some development.

when making the ./configure i get this:
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed... af am ang ar as az az_IR be be@latin bg bn bn_IN br bs ca ca@valencia cs cy da de dz el en_CA en_GB eo es et eu fa fi fr ga gl gu he hi hr hu hy ia id io is it ja ka kn ko ku li lt lv mai mi mk ml mn mr ms nb ne nl nn nso oc or pa pl ps pt pt_BR ro ru rw si sk sl sq sr sr@latin sr@ije sv ta te th tk tr tt uk ur uz uz@cyrillic vi wa xh yi zh_CN zh_HK zh_TW
checking for extra flags to get ANSI library prototypes... none needed
checking for the BeOS... no
checking for HP-UX... no
checking for extra flags for POSIX compliance... none needed
checking for pkg-config... (cached) /usr/local/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.17.6...
*** 'pkg-config --modversion glib-2.0' returned 2.18.0, but GLIB (2.10.3)
*** 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
configure: error:
*** GLIB 2.17.6 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/pub/gtk/.
So I went to the pkgconfig path to see if there were 2 glib-2.x.x.pc files, but there is only one.

The version of that glib is 2.18.0



I also typed pkg-config --list-all:

...
libxml-2.0 libXML - libXML library version2.
xproto Xproto - Xproto headers
glib-2.0 GLib - C Utility Library
gobject-2.0 GObject - GLib Type, Object, Parameter and Signal Library
gthread-2.0 GThread - Thread support for GLib
sndfile sndfile - A library for reading and writing audio files
libpng libpng - Loads and saves PNG files
gmodule-no-export-2.0 GModule - Dynamic module loader for GLib
...

Only one.

I exported the path where is located to the variable pkg_config but it doesnt work.


I need some help, i dont know if i have to reinstall it or erase it (it has lots of subdependencies).


Im working in Ubuntu.


All times are GMT -5. The time now is 07:46 AM.