0
我想在Ubuntu 8.04上編譯Webkit。但是當我運行autogen.sh時,我得到 以下錯誤,說它需要更新版本的glib。那麼安裝glib時最安全的方式是什麼,而不要讓我的其他操作系統(因爲其他需要2.16而webkit編譯需要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.