2010-03-25 7 views
0

우분투 8.04에서 Webkit을 컴파일하려고합니다. 하지만 autogen.sh를 실행하면 에 glib의 최신 버전이 필요하다는 다음 오류가 발생합니다. 그렇다면 나머지 OS를 망쳐 놓지 않고 glib를 설치하는 가장 안전한 방법은 무엇입니까? (나머지는 2.16이 필요하고 웹킷은 2.21이 필요합니다)?최신 버전의 glib가 필요한 프로그램을 컴파일하는 방법

checking for GLIB... configure: error: Package requirements (glib-2.0 >= 2.21.3 
        gobject-2.0 >= 2.0 
        gthread-2.0 >= 2.0) were not met: 

Requested 'glib-2.0 >= 2.21.3' but version of GLib is 2.16.6 

Consider adjusting the PKG_CONFIG_PATH environment variable if you 
installed software in a non-standard prefix. 

Alternatively, you may set the environment variables GLIB_CFLAGS 
and GLIB_LIBS to avoid the need to call pkg-config. 
See the pkg-config man page for more details. 

답변

0

당신은 물론 구축하고 $HOME에서, "로컬"어딘가에 즉를 설치하는 구성의 --prefix 옵션을 사용하여 입심 2.21을 설치할 수 있습니다. WebKit 패키지를 구성 할 때 적절한 플래그를 전달해야 할 수도 있지만 표준 절차입니다.

관련 문제