Re: php-gtk2 don't compile :(
| From: | Alan Knowles | Date: | Thu, 25 Sep 2003 23:33:42 +0000 |
| Subject: | Re: php-gtk2 don't compile :( | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-538@lists.php.net to get a copy of this message | ||
dont let it compile in anything but gtk ..
check with ./configure --help :
eg. --without-glade --without-paned ....
which version of php5 have you got? - latest cvs...?
Regards
Alan
epplestun wrote:
Hi, when I tried to compile PHP-GTK2 I have this error: @localhost php-gtk2]# make /bin/sh /root/php-gtk2/libtool --mode=compile gcc -I/root/php-gtk2/main -I./ext/libglade/ -I/root/php-gtk2/./ext/libglade/ -DPHP_ATOM_INC -I/root/php-gtk2/include -I/root/php-gtk2/main -I/root/php-gtk2 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gnome-xml -I/usr/include/libglade-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DHAVE_CONFIG_H -g -O2 -prefer-pic -c /root/php-gtk2/./ext/libglade/php_libglade.c -o ./ext/libglade/php_libglade.lo gcc -I/root/php-gtk2/main -I./ext/libglade/ -I/root/php-gtk2/./ext/libglade/ -DPHP_ATOM_INC -I/root/php-gtk2/include -I/root/php-gtk2/main -I/root/php-gtk2 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gnome-xml -I/usr/include/libglade-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DHAVE_CONFIG_H -g -O2 -c/root/php-gtk2/./ext/libglade/php_libglade.c -fPIC -DPIC -o./ext/libglade/php_libglade.lo In file included from /root/php-gtk2/main/php_gtk.h:36,from /root/php-gtk2/ext/libglade/php_libglade.h:26, from /root/php-gtk2/ext/libglade/php_libglade.c:23:/usr/local/include/php/Zend/zend_objects_API.h:27: parse error before "zend_object_handle" /usr/local/include/php/Zend/zend_objects_API.h:59: parse error before "zend_objects_store_put" /usr/local/include/php/Zend/zend_objects_API.h:59: warning: data definition has no type or storage class /usr/local/include/php/Zend/zend_objects_API.h:64: parse error before "zend_objects_store_clone_obj" /usr/local/include/php/Zend/zend_objects_API.h:64: warning: data definition has no type or storage class /usr/local/include/php/Zend/zend_objects_API.h:71: parse error before '*' token /usr/local/include/php/Zend/zend_objects_API.h:71: warning: data definition has no type or storage class In file included from /root/php-gtk2/main/php_gtk.h:91,from /root/php-gtk2/ext/libglade/php_libglade.h:26, from /root/php-gtk2/ext/libglade/php_libglade.c:23:/root/php-gtk2/ext/gtk+/php_gtk+.h:33: parse error before "php_gtk_handlers" /root/php-gtk2/ext/gtk+/php_gtk+.h:33: warning: data definition has no type or storage class make: *** [ext/libglade/php_libglade.lo] Error 1 Configure command works fine but when I tried to compile with make all crash :(