Edit report at https://bugs.php.net/bug.php?id=62829&edit=1
ID: 62829 Comment by: Gillingham at bikezen dot net Reported by: philipm at sybase dot com Summary: stdint.h included on platform where HAVE_STDINT_H is not set Status: Open Type: Bug Package: Compile Failure Operating System: Solaris 9 PHP Version: 5.4.5 Block user comment: N Private report: N New Comment: Note that this bug still exists in 5.4.6 as well. Previous Comments: ------------------------------------------------------------------------ [2012-08-16 18:35:48] fel...@php.net Automatic comment on behalf of felipe...@gmail.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=2e1d31d123ea5f310719c6c3c51587834907b7bf Log: - Fixed bug #62829 (stdint.h included on platform where HAVE_STDINT_H is not set) ------------------------------------------------------------------------ [2012-08-15 16:06:58] philipm at sybase dot com 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 this bug report at https://bugs.php.net/bug.php?id=62829&edit=1