PHP 4.0 Bug #9716: internal_functions.c:32: `#include' expects "FILENAME" or <FILENAME>
| From: | root at php2 dot chek dot com | Date: | Tue, 13 Mar 2001 01:42:35 +0000 |
| Subject: | PHP 4.0 Bug #9716: internal_functions.c:32: `#include' expects "FILENAME" or <FILENAME> | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-48779@lists.php.net to get a copy of this message | ||
From: lon@mojomonkey.com
From: lon@mojomonkey.com
Operating system: Mac OS X RC1
PHP version: 4.0 Latest CVS (12/03/2001)
PHP Bug Type: *Install and Config
Bug description: internal_functions.c:32: `#include' expects "FILENAME" or
<FILENAME>
After configuration the this error occurs"
Making all in main
/bin/sh /Users/Shared/php4-200103121645/libtool --silent --mode=compile cc -I.
-I/Users/Shared/php4-200103121645/main -I/Users/Shared/php4-200103121645/main
-I/Users/Shared/php4-200103121645 -I/usr/include/httpd -I/Users/Shared/php4-200103121645/Zend
-I/usr/local/mysql/include/mysql -I/Users/Shared/php4-200103121645/ext/xml/expat/xmltok
-I/Users/Shared/php4-200103121645/ext/xml/expat/xmlparse -I/Users/Shared/php4-200103121645/TSRM
-traditional-cpp -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
internal_functions.c
internal_functions.c:32: `#include' expects "FILENAME" or <FILENAME>
make[2]: *** [internal_functions.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
This error is caused by the following line:
#include "ext/mysql/php_mysql.h"n#include "ext/pcre/php_pcre.h"n#include
"ext/posix/php_posix.h"n#include "ext/session/mod_mm.h"n#include
"ext/session/php_session.h"n#$
p_zlib.h"n
This line should be broken into multiple lines:
#include "ext/mysql/php_mysql.h"
#include "ext/pcre/php_pcre.h"
#include "ext/posix/php_posix.h"
#include "ext/session/mod_mm.h"
#include "ext/session/php_session.h"
#include "ext/standard/php_standard.h"
#include "ext/xml/php_xml.h"
#include "ext/zlib/php_zlib.h"
The file can be manually edited after configuration and the build will proceed normally with
success. However running configuration again will revert this file to the broken state again.
--
Edit Bug report at: http://bugs.php.net/?id=9716&edit=1