php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10938 internal_functions.c:32: `#include' expects "FILENAME" or <FILENAME>
Submitted: 2001-05-17 14:47 UTC Modified: 2001-05-18 04:47 UTC
From: php at toyingwithfate dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.5 OS: Mac OS X 10.0.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php at toyingwithfate dot com
New email:
PHP Version: OS:

 

 [2001-05-17 14:47 UTC] php at toyingwithfate dot 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-18 04:47 UTC] sniper@php.net
This should be fixed in CVS. Please try the latest
snapshot from http://snaps.php.net/

--Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon May 05 23:01:28 2025 UTC