所以我试图在mac上安装http://search.cpan.org/dist/Gtk-Perl/的Gtk-Perl-0.7000
我已成功按照步骤在http://www.gtk.org/
安装gtk +当我从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编译。