From: nam dot nh at nd24 dot net Operating system: OpenIndiana 151a6 PHP version: 5.4.6 Package: Compile Failure Bug Type: Bug Bug description:Failed to build PHP-FPM
Description: ------------ I'm building PHP 5.4.6 on a fresh machine that run OpenIndiana 151a6 OS, gcc version 4.6.3, error happens when do "make" Test script: --------------- ./configure --prefix=/usr/php --with-gd --with-mcrypt --with-zlib --enable-mbstring --with-mysql=mysqlnd --with-mysqli=mysqlnd --enable-inline-optimization --with-bz2 --enable-sockets --enable-mbregex --with-mhash --enable-zip --with-png-dir=/usr/include --with-jpeg-dir=/usr/include --with-freetype-dir=/usr/include --with-xpm-dir=/usr/include --enable-gd-native-ttf --with-pear=/usr/php/lib/php --disable-ipv6 --enable-fpm Expected result: ---------------- Successfully Actual result: -------------- /bin/sh /usr/src/php-5.4.6/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/src/php-5.4.6/sapi/fpm -Isapi/fpm/ -I/usr/src/php-5.4.6/sapi/fpm/ - DPHP_ATOM_INC -I/usr/src/php-5.4.6/include -I/usr/src/php-5.4.6/main - I/usr/src/php-5.4.6 -I/usr/src/php-5.4.6/ext/date/lib -I/usr/src/php- 5.4.6/ext/ereg/regex -I/usr/include/libxml2 -I/usr/X11R6/include - I/usr/include/freetype2 -I/usr/src/php-5.4.6/ext/mbstring/oniguruma - I/usr/src/php-5.4.6/ext/mbstring/libmbfl -I/usr/src/php- 5.4.6/ext/mbstring/libmbfl/mbfl -I/usr/src/php-5.4.6/ext/sqlite3/libsqlite - I/usr/src/php-5.4.6/TSRM -I/usr/src/php-5.4.6/Zend -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -g -O2 -fvisibility=hidden -c /usr/src/php- 5.4.6/sapi/fpm/fpm/fastcgi.c -o sapi/fpm/fpm/fastcgi.lo /bin/sh /usr/src/php-5.4.6/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/src/php-5.4.6/sapi/fpm -Isapi/fpm/ -I/usr/src/php-5.4.6/sapi/fpm/ - DPHP_ATOM_INC -I/usr/src/php-5.4.6/include -I/usr/src/php-5.4.6/main - I/usr/src/php-5.4.6 -I/usr/src/php-5.4.6/ext/date/lib -I/usr/src/php- 5.4.6/ext/ereg/regex -I/usr/include/libxml2 -I/usr/X11R6/include - I/usr/include/freetype2 -I/usr/src/php-5.4.6/ext/mbstring/oniguruma - I/usr/src/php-5.4.6/ext/mbstring/libmbfl -I/usr/src/php- 5.4.6/ext/mbstring/libmbfl/mbfl -I/usr/src/php-5.4.6/ext/sqlite3/libsqlite - I/usr/src/php-5.4.6/TSRM -I/usr/src/php-5.4.6/Zend -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -g -O2 -fvisibility=hidden -c /usr/src/php- 5.4.6/sapi/fpm/fpm/fpm.c -o sapi/fpm/fpm/fpm.lo In file included from /usr/src/php-5.4.6/sapi/fpm/fpm/fpm.c:16:0: /usr/src/php-5.4.6/sapi/fpm/fpm/fpm_sockets.h:28:54: error: expected ';', ',' or ')' before numeric constant make: *** [sapi/fpm/fpm/fpm.lo] Error 1 -- Edit bug report at https://bugs.php.net/bug.php?id=63059&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63059&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63059&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63059&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=63059&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=63059&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=63059&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=63059&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=63059&r=needscript Try newer version: https://bugs.php.net/fix.php?id=63059&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=63059&r=support Expected behavior: https://bugs.php.net/fix.php?id=63059&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=63059&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=63059&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=63059&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63059&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=63059&r=dst IIS Stability: https://bugs.php.net/fix.php?id=63059&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=63059&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=63059&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=63059&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=63059&r=mysqlcfg