PDA

View Full Version : glib e gtk


^[H3ad-Tr1p]^
15-04-2005, 10:52
salve a tutti
siccome devo installare arts ho bisogno delle librerie glib e gtk

le glib 2.6.4 le installa

quando vado ad installare le gtk mi dice che sono richieste almeno le glib 2.6.0 e mi restituisce questo messaggio

checking for extra flags to get ANSI library prototypes... none needed
checking for the BeOS... no
checking for extra flags for POSIX compliance... none needed
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.6.0...
*** 'pkg-config --modversion glib-2.0' returned 2.6.1, but GLIB (2.6.4)
*** 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.6.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/pub/gtk/.



io le glib le ho appena installate e x cui nn so che cosa mi chieda
le ho installate da sorgenti x cui magari c e' da cambiare qualche percorso?sembra che nn le veda....mi sapete dire?

DanieleC88
15-04-2005, 13:17
L'output mi sembra abbastanza eloquente: pkg-config dice che hai la versione 2.6.1, ma ./configure trova la versione 2.6.4. Prova a disinstallare GLIB (con il sistema di packaging che la tua distro offre) e reinstallarlo da sorgenti, oppure a fare un "make uninstall" da sorgenti e poi fare un "make install" dopo aver lanciato "./configure --prefix=/usr; make".