|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-12-13 23:49 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 14:00:01 2025 UTC |
Downloaded php-4.1.0 and attempted to compile it on FreeBSD-4.4-RELEASE with a large configure line with many modules...it configured, but make immediately failed with parse errors in unix.h thinking it was a module error, i attempted to compile after simply: # ./configure same errors: ------------------------------------------------------- Making all in Zend make[1]: Entering directory `/usr/local/install/php-4.1.0/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:54, from zend_compile.h:24, from zend_language_parser.c:148: /usr/include/unix.h:182: parse error before "MAILSTREAM" /usr/include/unix.h:189: parse error before '}' token /usr/include/unix.h:193: parse error before '*' token /usr/include/unix.h:196: parse error before '*' token /usr/include/unix.h:197: parse error before '*' token /usr/include/unix.h:198: parse error before '*' token /usr/include/unix.h:199: parse error before '*' token /usr/include/unix.h:200: parse error before '*' token /usr/include/unix.h:201: parse error before '*' token /usr/include/unix.h:202: parse error before '*' token /usr/include/unix.h:202: parse error before '*' token /usr/include/unix.h:203: parse error before '*' token /usr/include/unix.h:204: parse error before '*' token /usr/include/unix.h:206: parse error before '*' token /usr/include/unix.h:207: parse error before '*' token /usr/include/unix.h:209: parse error before '*' token /usr/include/unix.h:210: parse error before '*' token /usr/include/unix.h:211: parse error before '*' token /usr/include/unix.h:212: parse error before '*' token /usr/include/unix.h:213: parse error before '*' token /usr/include/unix.h:214: parse error before '*' token /usr/include/unix.h:215: parse error before '*' token /usr/include/unix.h:216: parse error before '*' token /usr/include/unix.h:219: parse error before '*' token /usr/include/unix.h:221: parse error before "DOTLOCK" /usr/include/unix.h:222: parse error before "MAILSTREAM" /usr/include/unix.h:223: parse error before '*' token /usr/include/unix.h:224: parse error before '*' token /usr/include/unix.h:225: parse error before '*' token /usr/include/unix.h:226: parse error before '*' token /usr/include/unix.h:228: parse error before '*' token /usr/include/unix.h:229: parse error before '*' token /usr/include/unix.h:230: parse error before '*' token /usr/include/unix.h:231: parse error before '*' token make[1]: *** [zend_language_parser.lo] Error 1 make[1]: Leaving directory `/usr/local/install/php-4.1.0/Zend' make: *** [all-recursive] Error 1 ------------------------------------------------------- This was all on a modified FreeBSD system. I then installed a stock version of FreeBSD on another computer, downloaded again, and attempted the compile. Same problem, unchanged. I then removed the include line for unix.h in both Zend.h and php.h, which enabled the compilation.