0

Ubuntu 8.04 で Webkit をコンパイルしようとしています。しかし、autogen.sh を実行すると、新しいバージョンの glib が必要であるという次のエラーが表示されます。では、OS の残りの部分を台無しにすることなく 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.
4

1 に答える 1

0

もちろん、configure の--prefixオプションを使用して glib 2.21 をビルドしてインストールし、「ローカル」の場所、つまり .xml の下にインストールすることもできます$HOME。WebKit パッケージを構成するときに適切なフラグを渡す必要がある場合がありますが、これは標準的な手順です。

于 2010-03-25T07:56:07.347 に答える