#22356 [Opn->Csd]: Cannot find file <stdio.h>
| From: | sniper@php.net | Date: | Sun, 23 Feb 2003 09:37:32 +0000 |
| Subject: | #22356 [Opn->Csd]: Cannot find file <stdio.h> | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-33984@lists.php.net to get a copy of this message | ||
ID: 22356
Updated by: sniper@php.net
Reported By: michael dot mauch at gmx dot de
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: Tru64 5.1
PHP Version: 4CVS-2003-02-21 (stable)
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2003-02-21 09:48:13] michael dot mauch at gmx dot de
Compilation fails both for PHP-4.3.1 and for php4-STABLE-200302211430
with the Compaq compiler.
% cc -V
Compaq C V6.3-025 on Compaq Tru64 UNIX V5.1 (Rev. 732)
Compiler Driver V6.3-026 (sys) cc Driver
% configure --with-oci8 --prefix=/house/elmicha/spe155/build
% make
[...]
cc -IZend/ -I/house/elmicha/local/src/php4-STABLE-200302211430/Zend/
-DPHP_ATOM_INC
-I/house/elmicha/local/src/php4-STABLE-200302211430/include
-I/house/elmicha/local/src/php4-STABLE-200302211430/main
-I/house/elmicha/local/src/php4-STABLE-200302211430
-I/house/elmicha/local/src/php4-STABLE-200302211430/Zend
-I/usr/app/oracle/product/8.1.7/rdbms/public
-I/usr/app/oracle/product/8.1.7/rdbms/demo
-I/house/elmicha/local/src/php4-STABLE-200302211430/ext/xml/expat
-I/house/elmicha/local/src/php4-STABLE-200302211430/TSRM -g -c
/house/elmicha/local/src/php4-STABLE-200302211430/Zend/zend_execute.c
-o Zend/zend_execute.o && echo > Zend/zend_execute.lo
cc -I -Isapi/cgi/
-I/house/elmicha/local/src/php4-STABLE-200302211430/sapi/cgi/
-DPHP_ATOM_INC
-I/house/elmicha/local/src/php4-STABLE-200302211430/include
-I/house/elmicha/local/src/php4-STABLE-200302211430/main
-I/house/elmicha/local/src/php4-STABLE-200302211430
-I/house/elmicha/local/src/php4-STABLE-200302211430/Zend
-I/usr/app/oracle/product/8.1.7/rdbms/public
-I/usr/app/oracle/product/8.1.7/rdbms/demo
-I/house/elmicha/local/src/php4-STABLE-200302211430/ext/xml/expat
-I/house/elmicha/local/src/php4-STABLE-200302211430/TSRM -g -c
/house/elmicha/local/src/php4-STABLE-200302211430/sapi/cgi/cgi_main.c
-o sapi/cgi/cgi_main.o && echo > sapi/cgi/cgi_main.lo
cc: Severe:
/house/elmicha/local/src/php4-STABLE-200302211430/Zend/zend.h, line 35:
Cannot find file <stdio.h> specified in #include directive.
(noinclfilef)
#include <stdio.h>
-^
*** Error code 1
Stop.
/usr/include/stdio.h does of course exist. Apparently this compiler
doesn't like "-I" without arguments, just like it doesn't like empty
defines (see <http://bugs.php.net/bug.php?id=20752>).
cc -IZend/ -Isapi/cgi/ ...
works fine.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22356&edit=1