Edit report at https://bugs.php.net/bug.php?id=63059&edit=1
ID: 63059 Comment by: rainer dot jung at kippdata dot de Reported by: nam dot nh at nd24 dot net Summary: Failed to build PHP-FPM Status: Closed Type: Bug Package: Compile Failure Operating System: OpenIndiana 151a6 PHP Version: 5.4.6 Block user comment: N Private report: N New Comment: Problem still unfixed in PHP 5.4.9 on Solaris 10. Same error as seen by the OP. The patch proposed here wasn't applied, so the problem still exists. Please apply the patch. It is a followup to Bug #62654. There the sapi/fpm/fpm/fpm_sockets.c file was fixed, but the sapi/fpm/fpm/fpm_sockets.h was forgotten. Previous Comments: ------------------------------------------------------------------------ [2012-10-14 01:43:21] nam dot nh at nd24 dot net Compile successful, then the case is closed ------------------------------------------------------------------------ [2012-10-14 01:41:58] nam dot nh at nd24 dot net The problem fixed. Thanks. ------------------------------------------------------------------------ [2012-10-13 17:47:35] mike at maytech dot net See patch attached; should fix the compilation problem. ------------------------------------------------------------------------ [2012-10-13 15:57:49] nam dot nh at nd24 dot net Found similar to bug #62654, but still get error when "make" ------------------------------------------------------------------------ [2012-09-11 06:00:16] nam dot nh at nd24 dot net 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 this bug report at https://bugs.php.net/bug.php?id=63059&edit=1