Bug #10938 Updated: internal_functions.c:32: `#include' expects "FILENAME" or <FILENAME>
| From: | sniper@php.net | Date: | Fri, 18 May 2001 08:47:46 +0000 |
| Subject: | Bug #10938 Updated: internal_functions.c:32: `#include' expects "FILENAME" or <FILENAME> | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-55740@lists.php.net to get a copy of this message | ||
ID: 10938
Updated by: sniper
Reported By: php@toyingwithfate.com
Old-Status: Open
Status: Closed
Bug Type: Compile Failure
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
This should be fixed in CVS. Please try the latest
snapshot from http://snaps.php.net/
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-05-17 14:47:59] php@toyingwithfate.com
After configuring with mysql and apxs (./configure --with-mysql=/usr/local
--with-apxs=/usr/sbin/apxs), I ran make and eventually got this:
Making all in main
/bin/sh /Users/will/Documents/php-4.0.5/libtool --silent --mode=compile cc -I.
-I/Users/will/Documents/php-4.0.5/main -I/Users/will/Documents/php-4.0.5/main
-I/Users/will/Documents/php-4.0.5 -I/usr/include/httpd -I/Users/will/Documents/php-4.0.5/Zend
-I/usr/local/include/mysql -I/Users/will/Documents/php-4.0.5/ext/xml/expat/xmltok
-I/Users/will/Documents/php-4.0.5/ext/xml/expat/xmlparse -I/Users/will/Documents/php-4.0.5/TSRM
-traditional-cpp -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
main.c
/bin/sh /Users/will/Documents/php-4.0.5/libtool --silent --mode=compile cc -I.
-I/Users/will/Documents/php-4.0.5/main -I/Users/will/Documents/php-4.0.5/main
-I/Users/will/Documents/php-4.0.5 -I/usr/include/httpd -I/Users/will/Documents/php-4.0.5/Zend
-I/usr/local/include/mysql -I/Users/will/Documents/php-4.0.5/ext/xml/expat/xmltok
-I/Users/will/Documents/php-4.0.5/ext/xml/expat/xmlparse -I/Users/will/Documents/php-4.0.5/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
After searching the web, I found that my problem seems identical to bug id #9716. That bug was
closed and supposedly fixed March 30th, a full month before PHP 4.0.5 was released, but the bug
appears to persist.
I edited internal_functions.c, changed the erroneous "n" characters (I suspect they were
supposed to be n rather than n) to line breaks, did make again, and the problem went away.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10938&edit=2