私はgtk+ 3.16を必要とする拡張機能をインストールしようとしていますが、Debian Jessie 8の現在のバージョンは3.14です。拡張機能から次のようなエラーメッセージが表示されます。
gtkbuilder: required gtk+ version 3.16, current version is 3.14
シナプティックパッケージマネージャーでパッケージが見つかるか探しているのですが、見つかりません。検索してみたら、このgnome ftpを見つけました。 https://ftp.gnome.org/pub/gnome/sources/gtk+/3.16/
パッケージをダウンロードして解凍し、しばらく実行したところsudo tar xf gtk+-3.16.4.tar.xz
、./configure
Requested 'glib-2.0 >= 2.43.4' but version of GLib is 2.42.1
Requested 'atk >= 2.15.1' but version of Atk is 2.14.0
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
エラーが返されるまで、各依存関係を 1 つずつインストールし続ける必要がありますか。それとも、各依存関係エラーをインストールせずに簡単にインストールできる方法がありますか。通常、1 つの依存関係は他の多数の依存関係に依存しており、非常に時間がかかります。ヒントや提案があれば、ぜひお知らせください。
アップデート:
現在、インストールした各依存関係ルートをインストールしていますatk 2.15.1
が、glib 2.43.4
エラーなしで正常にコンパイルされました。しかし、./configure
gtk+-3.16-4 で実行しようとすると、次のエラーが発生します。
*** 'pkg-config --modversion glib-2.0' returned 2.43.4, but GLIB (2.42.1)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error:
*** GLIB 2.43.4 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/pub/gtk/.
実行するpkg-config --modversion glib-2.0
と、出力は2.43.4
正しい glib バージョンがインストールされていることを意味します。エラー メッセージには、この問題が発生した場合に「PKG_CONFIG_PATH の環境変数を正しい構成ファイルを指すように設定してください」と記載されていますが、どのファイルを指すべきか、またはこのファイルへのパスが何であるかはわかりません。