Re: php-gtk2 don't compile :(
| From: | Alan Knowles | Date: | Fri, 26 Sep 2003 08:15:52 +0000 |
| Subject: | Re: php-gtk2 don't compile :( | ||
| References: | 1 2 3 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-539@lists.php.net to get a copy of this message | ||
Ok, latest version:
http://devel.akbkhome.com/php-gtk2-0.2.tgz
and just so you dont think I'm talking out me ass :)
The first ze2-gtk2 screenshot :)
http://devel.akbkhome.com/screenshots/php-gtk2.jpg
It builds with php-src CVS HEAD aka a PHP5 snapshot.
Regards
Alan
Ivan Rodriguez wrote:
My php5 version is php5.0.0-dev1 ----- Original Message ----- From: "Alan Knowles" <alan@akbkhome.com> To: "epplestun" <epplestun@alaplaya.com> Cc: <php-gtk-dev@lists.php.net> Sent: Friday, September 26, 2003 1:33 AM Subject: Re: [PHP-GTK-DEV] php-gtk2 don't compile :(-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.comdont 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 :(