After configure script completes make returns
Thu 16:56:37# make
"Makefile", line 39: Need an operator
"Makefile", line 40: Need an operator
"Makefile", line 41: Need an operator
Fatal errors encountered -- cannot continue
root@access3:~allan/php-4.0.0
Lines 39 40 and 41 of Makefile are
include $(top_srcdir)/build/rules.mk
include $(top_srcdir)/build/library.mk
include $(top_srcdir)/build/program.mk
Reopened. User still has problems:
---
/bin/sh /usr/home/allan/php-4.0.1pl2/libtool --silent --mode=compile gcc
-DHAVE_CONFIG_H -I. -I/usr/home/allan/php-4.0.1pl2/main
-I/usr/home/allan/php-4.0.1pl2 -I/usr/home/allan/php-4.0.1pl2/main
-I/var/www/include -I/usr/home/allan/php-4.0.1pl2/Zend
-I/usr/home/allan/php-4.0.1pl2 -I/usr/local/Hughes/include
-I/usr/home/allan/php-4.0.1pl2/ext/xml/expat/xmltok
-I/usr/home/allan/php-4.0.1pl2/ext/xml/expat/xmlparse -DEAPI=1
-DXML_BYTE_ORDER=12 -g -O2 -c SAPI.c
In file included from SAPI.c:22:
/usr/include/sys/stat.h:55: syntax error before `ino_t'
In file included from SAPI.c:22:
/usr/include/sys/stat.h:92: syntax error before `dev_t'
/usr/include/sys/stat.h:138: syntax error before `dev_t'
/usr/include/sys/stat.h:163: syntax error before `off_t'
/usr/include/sys/stat.h:169: syntax error before `quad_t'
/usr/include/sys/stat.h:267: syntax error before `mode_t'
/usr/include/sys/stat.h:269: syntax error before `mode_t'
/usr/include/sys/stat.h:270: syntax error before `mode_t'
/usr/include/sys/stat.h:272: syntax error before `umask'
/usr/include/sys/stat.h:272: warning: parameter names (without types) in
function declaration
/usr/include/sys/stat.h:272: warning: data definition has no type or
storage class
/usr/include/sys/stat.h:274: syntax error before `u_long'
/usr/include/sys/stat.h:275: syntax error before `u_long'
/usr/include/sys/stat.h:276: syntax error before `mode_t'
make[2]: *** [SAPI.lo] Error 1
make[2]: Leaving directory `/usr/home/allan/php-4.0.1pl2/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/home/allan/php-4.0.1pl2/main'
make: *** [all-recursive] Error 1
---
Please try out recent version from CVS or http://snaps.php.net
--Jani