Dopo innumerevoli tentativi sono riuscito a far girare gtk in OSX, senza utilizzare X11 (e senza darwinports o fink). Il problema è che, avendo compilato di tutto e di più, più versioni delle stesse librerie, ora mi trovo con un incongruenza tra la versione di glib installata, e i suoi header.
Ora mi trovo a dover compilare una libreria che necessita di glib come dipendenza, e sfrutta pkg-config nel ./configure.
Ottengo il seguente errore:
checking for GLIB - version >= 2.8.0... *** 'pkg-config --modversion glib-2.0' returned 2.12.3, but GLIB (2.13.0) *** 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
Può essere un problema di configurazione di pkg-config (nel glib-2.0.pc)? Come posso risolvere?
ciao tiziano -- Per iscriversi (o disiscriversi), basta spedire un messaggio con OGGETTO "subscribe" (o "unsubscribe") a mailto:linuxtrent-request@xxxxxxxxxxxxx