2011年8月18日木曜日

gtk/gtk.h: No such file or directory

このような問題がありました:
make[3]: Entering directory `/home/Sola/evince-3.1.2/cut-n-paste/zoom-control'
CC libephyzoom_la-ephy-zoom-action.lo
In file included from ephy-zoom-action.c:26:0:
ephy-zoom-action.h:25:21: fatal error: gtk/gtk.h: No such file or directory
このようなことが考えられます:
必要なパッケージが不足しているのかもしれません。
また,Makefileの中で,SHELL_CORE_CFLAGS=のように,SHELL_CORE_CFLAGSが空宣言になっています。
次のコマンドを実行してみてください:
pkg-config.exe --cflags "libxml-2.0 gtk+-3.0 gio-2.0 gthread-2.0"
次のような出力になりましたら,不足が見られます:
Package pangowin32 was not found in the pkg-config search path.
Perhaps you should add the directory containing `pangowin32.pc'
to the PKG_CONFIG_PATH environment variable
Package 'pangowin32', required by 'GDK', not found
このように対策しました:
面倒なので列挙しませんが,こちらのサイトから不足パッケージを補てんします。

0 件のコメント:

コメントを投稿