Building php-gtk from CVS

From: Date: Sat, 10 Aug 2002 18:18:16 +0000
Subject: Building php-gtk from CVS
Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-420@lists.php.net to get a copy of this message
php 4.3.0 -dev builds fine from CVS. But I can't seem to get php-gtk going?.. what am I missing? gcc -Iext/gtk+/ -I/home/ahmad/Projects/php-gtk/ext/gtk+/ -DPHP_ATOM_INC -I/home/ahmad/Projects/php-gtk/include -I/home/ahmad/Projects/php-gtk/main -I/home/ahmad/Projects/php-gtk -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-xml -I/usr/include/libglade-1.0 -DHAVE_CONFIG_H -g -O2 -c ext/gtk+/gen_gtk.c -fPIC -DPIC -o ext/gtk+/gen_gtk.lo ext/gtk+/gen_gtk.c:2: parse error before `:' In file included from /usr/include/bits/types.h:143,
                from /usr/include/stdio.h:36,
                from /usr/include/php/Zend/zend.h:35,
                from /usr/include/php/main/php.h:34,
                from /home/ahmad/Projects/php-gtk/main/php_gtk.h:26,
                from ext/gtk+/gen_gtk.c:3:
/usr/include/bits/pthreadtypes.h:48: parse error before `size_t' /usr/include/bits/pthreadtypes.h:48: warning: no semicolon at end of struct or union /usr/include/bits/pthreadtypes.h:51: parse error before `__stacksize' /usr/include/bits/pthreadtypes.h:51: warning: data definition has no type or storage class /usr/include/bits/pthreadtypes.h:52: warning: data definition has no type or storage class In file included from /usr/include/_G_config.h:44,
                from /usr/include/libio.h:32,
                from /usr/include/stdio.h:65,
                from /usr/include/php/Zend/zend.h:35,
                from /usr/include/php/main/php.h:34,
                from /home/ahmad/Projects/php-gtk/main/php_gtk.h:26,
                from ext/gtk+/gen_gtk.c:3:
/usr/include/gconv.h:72: parse error before `size_t' /usr/include/gconv.h:85: parse error before `size_t' /usr/include/gconv.h:94: parse error before `size_t' /usr/include/gconv.h:170: parse error before `size_t' /usr/include/gconv.h:170: warning: no semicolon at end of struct or union /usr/include/gconv.h:173: parse error before `}' /usr/include/gconv.h:173: warning: data definition has no type or storage class In file included from /usr/include/libio.h:32,
                from /usr/include/stdio.h:65,
                from /usr/include/php/Zend/zend.h:35,
                from /usr/include/php/main/php.h:34,
                from /home/ahmad/Projects/php-gtk/main/php_gtk.h:26,
                from ext/gtk+/gen_gtk.c:3:
/usr/include/_G_config.h:47: field `__cd' has incomplete type /usr/include/_G_config.h:50: field `__cd' has incomplete type /usr/include/_G_config.h:53: confused by earlier errors, bailing out make: *** [ext/gtk+/gen_gtk.lo] Error 1 -- - - -- ---- ----------------------------------------- --- -- - - *Ahmad Baitalmal* *BitBuilder* web: http://www.bitbuilder.com - - -- ---- -------------------------------------------------------------- --- -- - -

« previous php.gtk.dev (#420) next »