[lug] PHP compile problem
Greg Horne
jeerygh at hotmail.com
Fri Mar 15 16:26:15 MST 2002
Hey all!
I am compiling apache 1.3.23, and php-4.1.2
After configuring with either of these commands:
[root at ts1 php-4.1.2]# ./configure --with-mysql=/usr/local/mysql
--with-apache=../apache_1.3.23 --enable-track-vars
[root at ts1 php-4.1.2]# ./configure --with-mysql
--with-apache=../apache_1.3.23 --enable-track-vars
I'm pretty sure it has nothing to do with MySQL.
It's ready to go, but about 5 seconds after I type make.I get this:
[root at ts1 php-4.1.2]# make
Making all in Zend
make[1]: Entering directory `/usr/local/src/php-4.1.2/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../main -I../TSRM -g -O2 -prefer-non-pic -static -c
zend_language_parser.c
In file included from zend.h:55,
from zend_compile.h:25,
from zend_language_parser.c:149:
/usr/local/include/unix.h:182: parse error before `MAILSTREAM'
/usr/local/include/unix.h:182: warning: no semicolon at end of struct or
union
/usr/local/include/unix.h:189: parse error before `}'
/usr/local/include/unix.h:189: warning: data definition has no type or
storage class
/usr/local/include/unix.h:193: parse error before `*'
/usr/local/include/unix.h:193: warning: data definition has no type or
storage class
/usr/local/include/unix.h:196: parse error before `*'
/usr/local/include/unix.h:197: parse error before `*'
/usr/local/include/unix.h:198: parse error before `*'
/usr/local/include/unix.h:199: parse error before `*'
/usr/local/include/unix.h:200: parse error before `*'
/usr/local/include/unix.h:201: parse error before `*'
/usr/local/include/unix.h:202: parse error before `*'
/usr/local/include/unix.h:202: parse error before `*'
/usr/local/include/unix.h:202: warning: data definition has no type or
storage class
/usr/local/include/unix.h:203: parse error before `*'
/usr/local/include/unix.h:204: parse error before `*'
/usr/local/include/unix.h:206: parse error before `*'
/usr/local/include/unix.h:207: parse error before `*'
/usr/local/include/unix.h:209: parse error before `*'
/usr/local/include/unix.h:210: parse error before `*'
/usr/local/include/unix.h:211: parse error before `*'
/usr/local/include/unix.h:212: parse error before `*'
/usr/local/include/unix.h:213: parse error before `*'
/usr/local/include/unix.h:214: parse error before `*'
/usr/local/include/unix.h:215: parse error before `*'
/usr/local/include/unix.h:216: parse error before `*'
/usr/local/include/unix.h:219: parse error before `*'
/usr/local/include/unix.h:221: parse error before `DOTLOCK'
/usr/local/include/unix.h:222: parse error before `MAILSTREAM'
/usr/local/include/unix.h:223: parse error before `*'
/usr/local/include/unix.h:224: parse error before `*'
/usr/local/include/unix.h:225: parse error before `*'
/usr/local/include/unix.h:226: parse error before `*'
/usr/local/include/unix.h:228: parse error before `*'
/usr/local/include/unix.h:229: parse error before `*'
/usr/local/include/unix.h:230: parse error before `*'
/usr/local/include/unix.h:231: parse error before `*'
make[1]: *** [zend_language_parser.lo] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.1.2/Zend'
make: *** [all-recursive] Error 1
I checked php.net.
Same problem here, but with a different version
http://www.phpbuilder.com/mail/php-install/2001051/0072.php ... no
responses
Also, I ran across this thread saying it's not a PHP problem, but I
don't quite understand it:
http://www.zend.com/lists/php-dev/200111/msg01404.html
Is the solution obvious to anybody? Thanks.
- - -
Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20020315/8019b654/attachment.html>
More information about the LUG
mailing list