2010-04-15 2 views
3

CentOS에서 PyGTK를 비표준 Python (2.6, out-of-the-box 2.4) 용으로 빌드하려고합니다. 먼저 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? 

을 다음과 같이 오류 메시지입니다.

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 

내가 잘못 뭐하는 거지 :

config.log 파일은 다음과 같은 출력을 포함?

답변

4

glib 버전이 최신 버전이 아닌 것 같습니다. 젠투에서

은 다음 버전은 PyGTK 2.16.0에 적용

  • 입심 2.8.0
  • pygobject-2.16.1
  • pycairo 2.0.1
  • 회신에 대한
+0

감사합니다, @i 전기. 우리는 결국 우분투 서버를 포기하고'apt-get install ... '처럼 간단하게 만들었습니다. –

+0

다른 문제로 옮길 수 없다는 것을 제외하고는 여기에 같은 문제가 있습니다. 파머. – DrSAR