compile problem
[email protected] ("Samo Gabrovec") 04 Aug 2001 19:11:56 CEST
| Newsgroups | php.gtk |
|---|---|
| Message-ID | <[email protected]> |
On the system i have installed php 4.0.6 cgi [and DSO]. when i ran buildconf i get this [ maybe it`s not inportant or is it] ================================== gekko:/stuff/download/php-gtk-0.1 # ./buildconf aclocal: macro `AC_ADD_LIBRARY' defined in acinclude.m4 but never used aclocal: macro `AC_ADD_INCLUDE' defined in acinclude.m4 but never used aclocal: macro `AC_ADD_LIBPATH' defined in acinclude.m4 but never used aclocal: macro `AC_ADD_LIBRARY_WITH_PATH' defined in acinclude.m4 but never used =================================== configure "finds" everything needed but compile fails[ see below]. Is this happening to anybody else or is it just me ? All help is appreciated. Samo Gabrovec ----------------------MAKE---------------------------------------------------- /php-gtk-0.1 # make Making all in ext make[1]: Entering directory `/stuff/download/php-gtk-0.1/ext' Making all in gtk+ make[2]: Entering directory `/stuff/download/php-gtk-0.1/ext/gtk+' make[3]: Entering directory `/stuff/download/php-gtk-0.1/ext/gtk+' /bin/sh /stuff/download/php-gtk-0.1/libtool --mode=compile gcc -I. -I/stuff/download/php-gtk-0.1/ext/gtk+ -I/stuff/download/php-gtk-0.1/main -I/stuff/download/php-gtk-0.1 -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/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-xml -I/usr/local/include -I/stuff/download/php-gtk-0.1/main -DHAVE_CONFIG_H -g -O2 -c php_gtk+.c gcc -I. -I/stuff/download/php-gtk-0.1/ext/gtk+ -I/stuff/download/php-gtk-0.1/main -I/stuff/download/php-gtk-0.1 -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/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-xml -I/usr/local/include -I/stuff/download/php-gtk-0.1/main -DHAVE_CONFIG_H -g -O2 -c php_gtk+.c -fPIC -DPIC -o php_gtk+.lo In file included from php_gtk+.c:23: /stuff/download/php-gtk-0.1/main/php_gtk.h:60: parse error before `TSRMLS_DC' In file included from /stuff/download/php-gtk-0.1/main/php_gtk.h:65, from php_gtk+.c:23: /stuff/download/php-gtk-0.1/ext/gtk+/php_gtk+.h:116: parse error before `TSRMLS_DC' /stuff/download/php-gtk-0.1/ext/gtk+/php_gtk+.h:117: parse error before `TSRMLS_DC' php_gtk+.c:33: parse error before `TSRMLS_DC' php_gtk+.c:146: parse error before `TSRMLS_DC' php_gtk+.c: In function `php_gtk_xinit_gtk_plus': php_gtk+.c:148: `module_number' undeclared (first use in this function) php_gtk+.c:148: (Each undeclared identifier is reported only once php_gtk+.c:148: for each function it appears in.) php_gtk+.c:151: parse error before `TSRMLS_CC' php_gtk+.c:152: parse error before `TSRMLS_CC' php_gtk+.c:153: parse error before `TSRMLS_CC' make[3]: *** [php_gtk+.lo] Error 1 make[3]: Leaving directory `/stuff/download/php-gtk-0.1/ext/gtk+' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/stuff/download/php-gtk-0.1/ext/gtk+' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/stuff/download/php-gtk-0.1/ext' make: *** [all-recursive] Error 1 ===================================================