GTK+をビルドするにはなぜGTK+が必要なのですか?そしてそれを修正する方法

GTK+をビルドするにはなぜGTK+が必要なのですか?そしてそれを修正する方法

JHBuildを使用してGTK +をビルドしようとしています。次のエラーが発生します。

checking for GTK... no
configure: error: Package requirements (gtk+-3.0 >= 3.12 gtk+-x11-3.0 >= 3.12) were not met:

Requested 'gtk+-3.0 >= 3.12' but version of GTK+ is 3.10.8
Requested 'gtk+-x11-3.0 >= 3.12' but version of GTK+ is 3.10.8

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

Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
*** Error during phase configure of gcr: ########## Error running ./configure --prefix /home/xiaolong/jhbuild/releases/gnome-apps-3.17.90/install  --disable-static --disable-gtk-doc --disable-Werror  *** [15/29]

私は今混乱しています。 GTK+をビルドしたいのですが、GTK+が必要ですか? !なぜ?彼らは互いに独立しているべきではありませんか?この問題をどのように解決できますか?

ビルドプロセスを開始するために使用するコマンドは次のとおりです。

jhbuild -m ~/jhbuild/gnome-apps-3.17.90.modules build gtk+

(「モジュールディレクトリ」がどこにあるべきかについてのドキュメントが見つからなかったため、jhbuildにモジュールを見つけることができる場所を知らせる必要がありました。モジュールを作業ディレクトリに配置しようとしませんでした。指定しません。)

ベストアンサー1

おすすめ記事