php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6225 "Makefile", line 39: Need an operator
Submitted: 2000-08-17 17:04 UTC Modified: 2000-09-21 10:38 UTC
From: allan at lan2wan dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.1 OS: BSDOS 2.1
Private report: No CVE-ID: None
 [2000-08-17 17:04 UTC] allan at lan2wan dot com
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-23 06:46 UTC] sniper@php.net
Please attach your configure line here..
Have you tried more recent versions of php4?
How did you get that version you used?

--Jani
 [2000-08-24 08:48 UTC] sniper@php.net
User reported problem fixed when using GNU make.

--Jani
 [2000-08-24 10:09 UTC] sniper@php.net
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
 [2000-09-21 10:38 UTC] sniper@php.net
No feedback.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 12:01:30 2024 UTC