0

我想php_gtk在 Fedora 17 上安装。

我已经下载php-gtk-2.0.1并尝试安装它。然后我这样做了:

./buildconf
./configure
make

命令执行后make出现如下错误:

In file included from /home/n/Downloads/php-gtk-2.0.1/./ext/gtk+/php_gtk+.c:23:0:
/home/n/Downloads/php-gtk-2.0.1/main/php_gtk.h:307:64: error: unknown type name 'function_entry'
In file included from /home/n/Downloads/php-gtk-2.0.1/./ext/gtk+/php_gtk+.c:23:0:
/home/n/Downloads/php-gtk-2.0.1/main/php_gtk.h:308:68: error: unknown type name 'function_entry'
In file included from /home/n/Downloads/php-gtk-2.0.1/./ext/gtk+/php_gtk+.c:23:0:
/home/n/Downloads/php-gtk-2.0.1/main/php_gtk.h:490:64: error: unknown type name 'function_entry'
In file included from /home/n/Downloads/php-gtk-2.0.1/./ext/gtk+/php_gtk+.c:23:0:
/home/n/Downloads/php-gtk-2.0.1/main/php_gtk.h:506:66: error: unknown type name 'function_entry'
make: *** [ext/gtk+/php_gtk+.lo] Error 1

我怎么解决这个问题?

4

1 回答 1

0

如果你有 php-5.4 则需要更改function_entryzend-function_entry,但如果解决了,你可能会发现其他问题。

于 2013-01-19T17:36:28.830 回答