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