Bug #63059 [Com]: Failed to build PHP-FPM
| From: | mike at maytech dot net | Date: | Sat, 13 Oct 2012 17:47:35 +0000 |
| Subject: | Bug #63059 [Com]: Failed to build PHP-FPM | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-174074@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=63059&edit=1
ID: 63059
Comment by: mike at maytech dot net
Reported by: nam dot nh at nd24 dot net
Summary: Failed to build PHP-FPM
Status: Open
Type: Bug
Package: Compile Failure
Operating System: OpenIndiana 151a6
PHP Version: 5.4.6
Block user comment: N
Private report: N
New Comment:
See patch attached; should fix the compilation problem.
Previous Comments:
------------------------------------------------------------------------
[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