J'essaye de construire PyGTK sur CentOS pour un Python non-standard (2.6, par rapport à l'out-of-the-box 2.4). Cela nécessite que je construise d'abord pygobject. pygobject-2.18.0 échoue lors de l'étape de configuration. Les messages d'erreur sont les suivants:Problème de construction de PyGTK sur CentOS
checking for GLIB - version >= 2.14.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error: maybe you want the pygobject-2-4 branch?
J'ai téléchargé, construit et installé avec succès glib.
Le fichier contient config.log la sortie suivante:
conftest.c:27:18: error: glib.h: No such file or directory
conftest.c: In function 'main':
conftest.c:33: error: 'glib_major_version' undeclared (first use in this function)
conftest.c:33: error: (Each undeclared identifier is reported only once
conftest.c:33: error: for each function it appears in.)
conftest.c:33: error: 'glib_minor_version' undeclared (first use in this function)
conftest.c:33: error: 'glib_micro_version' undeclared (first use in this function)
configure:13844: $? = 1
Qu'est-ce que je fais mal?
Merci pour la réponse, @iElectric. Nous avons finalement abandonné et déplacé à Ubuntu Server, ce qui rend aussi simple que «apt-get install ...' –
même problème ici - sauf que je ne peux pas passer à un autre système d'exploitation. Dommage. – DrSAR