3
我想在CentOS上爲非標準Python(2.6,與開箱即用的2.4)構建PyGTK。它需要我首先構建pygobject。 pygobject-2.18.0在配置步驟失敗。錯誤消息如下:在CentOS上構建PyGTK的問題
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?
我已經下載,構建併成功安裝了glib。
的的config.log文件包含以下的輸出:
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
我在做什麼錯?
感謝回答, @iElectric。我們最終放棄並轉移到了Ubuntu服務器,這使得像apt-get install這樣簡單......' – 2010-04-24 09:00:38
這裏同樣的問題 - 除了我不能移動到其他操作系統。無賴。 – DrSAR 2012-08-17 00:13:18