Problem building PyGTK on CentOS

Posted by Marcelo Cantos on Stack Overflow See other posts from Stack Overflow or by Marcelo Cantos
Published on 2010-04-15T01:45:38Z Indexed on 2010/04/15 2:13 UTC
Read the original article Hit count: 304

Filed under:
|
|

I am trying to build PyGTK on CentOS for a non-standard Python (2.6, vs the out-of-the-box 2.4). It requires that I first build pygobject. pygobject-2.18.0 fails at the configure step. The error messages is as follows:

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?

I have downloaded, built and successfully installed glib.

The config.log file contains the following output:

configure:6893: gcc -E  conftest.c
conftest.c:13:28: error: ac_nonexistent.h: No such file or directory

What am I doing wrong?

© Stack Overflow or respective owner

Related posts about python

Related posts about pygtk