0
所以我試圖從http://search.cpan.org/dist/Gtk-Perl/在Mac上致命錯誤:「GTK/gtk.h」找不到文件
安裝GTK的Perl的0.7000我已經成功地跟着安設GTK +的步驟http://www.gtk.org/
當我從GTK的Perl的0.7000運行Makefile.pl它給了我:
gtkvertmp.c:3:10: fatal error: 'gtk/gtk.h' file not found
#include <gtk/gtk.h>
^
1 error generated.
Unable to find Gtk version...
Invoking gendefs.pl with [].
Please wait, this may take a moment...
gtktypexp.c:1:10: fatal error: 'gtk/gtktypeutils.h' file not found
#include <gtk/gtktypeutils.h>
^
1 error generated.
我:
echo $PKG_CONFIG_PATH
:/Users/one/gtk/source/gtk+-2.24.16/gtk:/Users/one/gtk/inst/include/gtk-2.0/gtk:/Users/one/gtk/inst/lib/pkgconfig
我的系統中有gtk.h文件。我在網上搜索,但沒有得到Gtk-Perl編譯。
我確實去了那個網站https://live.gnome.org/GTK%2B/OSX/Building,並按照最後一個命令我成功運行的命令「jhbuild build meta-gtk-osx-core」 。我如何獲得libgtk? – bb2 2013-04-21 16:39:15