Edit report at https://bugs.php.net/bug.php?id=67229&edit=1
ID: 67229
Comment by: bertrand at drouhard dot com
Reported by: skatta33 at hotmail dot com
Summary: make failed
Status: Re-Opened
Type: Bug
Package: Compile Failure
Operating System: solaris 10 sparc
PHP Version: 5.5.12
Block user comment: N
Private report: N
New Comment:
Same problem with SmartOS 2015Q3
Solved using this :
./configure --enable-fpm --with-libxml-dir=/opt/local CFLAGS="-std=gnu99"
Previous Comments:
------------------------------------------------------------------------
[2015-05-19 12:06:30] cmb@php.net
Related To: Bug #69660
------------------------------------------------------------------------
[2015-01-03 20:56:30] thomas at espix dot net
bump! I faced this as well under solaris 11 with php-5.6.4
------------------------------------------------------------------------
[2014-10-21 04:05:07] schulz at adi dot com
This should not be closed. Php does not build on Solaris as distributed. You have to google for the
error message to find this information.
And you have to use -std=gnu99. -std=c99 does not work. Also, this bug is in php 5.6.2 as well as
php 5.5.18.
------------------------------------------------------------------------
[2014-08-28 12:35:11] tripivceta at hotmail dot com
This is a bug in configure, as it does not check for GCC 4.x and consequently does not add the
"-std=c99" switch to the CFLAGS variable in the Makefile.
This is still an issue in the latest PHP 5.5.16 (as of this writing).
Why was this closed without a fix to the build engine???
------------------------------------------------------------------------
[2014-05-15 18:50:32] skatta33 at hotmail dot com
Hi,
I got fix for my problem.
I used CFLAGS with --std=gnu99 to the configure option and make was compiled with out any problem.
Here is my new configure options;
#CC=/usr/local/gcc4/bin/gcc CFLAGS="-std=gnu99" ./configure
--with-apxs2=/usr/local/apache/bin/apxs --with-curl=/usr/local/bin --with-openssl=/usr/local/ssl
--without-pear
Thanks,
Srinivas
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=67229
--
Edit this bug report at https://bugs.php.net/bug.php?id=67229&edit=1