compile problem

From: Date: Thu, 25 Apr 2002 11:35:47 +0000
Subject: compile problem
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1836@lists.php.net to get a copy of this message
Hi, I am trying to compile the recent cvs version of php-gtk. After checking out of cvs I do following: ./buildconf ./configure make getting following error (last lines): gen_gtk.c:1: parse error before '<' token In file included from /usr/include/bits/types.h:161, from /usr/lib/gcc-lib/sparc-linux/3.0.4/include/stdio.h:45, from /usr/include/php4/Zend/zend.h:34, from /usr/include/php4/main/php.h:34, from /usr/local/php-gtk/main/php_gtk.h:26, from gen_gtk.c:5: /usr/include/bits/pthreadtypes.h:50: parse error before "size_t" /usr/include/bits/pthreadtypes.h:53: parse error before "__stacksize" In file included from /usr/include/_G_config.h:44, from /usr/include/libio.h:32, from /usr/lib/gcc-lib/sparc-linux/3.0.4/include/stdio.h:74, from /usr/include/php4/Zend/zend.h:34, from /usr/include/php4/main/php.h:34, from /usr/local/php-gtk/main/php_gtk.h:26, from gen_gtk.c:5: /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:173: parse error before '}' token In file included from /usr/include/libio.h:32, from /usr/lib/gcc-lib/sparc-linux/3.0.4/include/stdio.h:74, from /usr/include/php4/Zend/zend.h:34, from /usr/include/php4/main/php.h:34, from /usr/local/php-gtk/main/php_gtk.h:26, from gen_gtk.c:5: /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[3]: *** [gen_gtk.lo] Error 1 make[3]: Leaving directory `/usr/local/php-gtk/ext/gtk+' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/php-gtk/ext/gtk+' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/php-gtk/ext' make: *** [all-recursive] Error 1 looking in gen_gtk.c reveals: bwpc050:/usr/local/php-gtk# more ext/gtk+/gen_gtk.c <br /> <b>Warning</b>: fopen("ext/gtk+/\"gtk-extrafuncs.defs\"", "r") - No such file or directory in <b>/usr/local/php-gtk/generator/scheme.php</b> on line <b>201</b><br /> <br /> <b>Warning</b>: Supplied argument is not a valid File-Handle resource in <b>/usr/local/php-gtk/generator/scheme.php</b> on line <b>34</b><br /> using: debian sparc/linux unstable php 4.1.2 gcc 3.0.4 any ideas? -- Hakan Kuecuekyilmaz, University of Applied Sciences Esslingen, Germany <hakan@php.net> | <hakan@lisas.de> | <hakan.kuecuekyilmaz@c-cn.de> Studenten, Absolventen und Young Professionals <http://www.c-cn.de>

« previous php.gtk.general (#1836) next »