From: michael dot mauch at gmx dot de Operating system: Tru64 5.1 PHP version: 4CVS-2003-02-21 (stable) PHP Bug Type: Compile Failure Bug description: Cannot find file <stdio.h>
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 bug report at http://bugs.php.net/?id=22356&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22356&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22356&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22356&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22356&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22356&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22356&r=support Expected behavior: http://bugs.php.net/fix.php?id=22356&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22356&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22356&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22356&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22356&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22356&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22356&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22356&r=gnused