From: philipm at sybase dot com Operating system: Solaris 9 PHP version: 5.4.5 Package: Compile Failure Bug Type: Bug Bug description:stdint.h included on platform where HAVE_STDINT_H is not set
Description: ------------ Configuring on Solaris 9 results in HAVE_STDINT_H undefined in main/php_config.h. Nevertheless, there is an include error when running make. Surrounding the offending line with #if HAVE_STDINT_H is sufficient to resolve the compile error. This started in PHP 5.4.0 and is still an issue in 5.4.5. /bin/bash /usr/local/php/php-5.4.1/libtool --silent --preserve-dup-deps -- mode=compile cc -Isapi/cli/ -I/usr/local/php/php-5.4.1/sapi/cli/ -DPHP_ATOM_INC -I/usr/local/php/php-5.4.1/include -I/usr/local/php/php-5.4.1/main - I/usr/local/php/php-5.4.1 -I/usr/local/php/php-5.4.1/ext/date/lib - I/usr/local/php/php-5.4.1/ext/ereg/regex -I/usr/local/php/php-5.4.1/TSRM - I/usr/local/php/php-5.4.1/Zend -D_POSIX_PTHREAD_SEMANTICS -m64 -xmemalign=8s -c /usr/local/php/php-5.4.1/sapi/cli/php_http_parser.c -o sapi/cli/php_http_parser.lo "/usr/local/php/php-5.4.1/sapi/cli/php_http_parser.h", line 35: cannot find include file: <stdint.h> cc: acomp failed for /usr/local/php/php-5.4.1/sapi/cli/php_http_parser.c make: *** [sapi/cli/php_http_parser.lo] Error 1 Test script: --------------- ./configure make Expected result: ---------------- If HAVE_STDINT_H is not set, then stdint.h should not be included. -- Edit bug report at https://bugs.php.net/bug.php?id=62829&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62829&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62829&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62829&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=62829&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62829&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=62829&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=62829&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=62829&r=needscript Try newer version: https://bugs.php.net/fix.php?id=62829&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=62829&r=support Expected behavior: https://bugs.php.net/fix.php?id=62829&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=62829&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=62829&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=62829&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=62829&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=62829&r=dst IIS Stability: https://bugs.php.net/fix.php?id=62829&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=62829&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=62829&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=62829&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=62829&r=mysqlcfg