Bug #69660 [Opn->Dup]: make fails with compilation error
| From: | cmb@php.net | Date: | Tue, 19 May 2015 12:06:30 +0000 |
| Subject: | Bug #69660 [Opn->Dup]: make fails with compilation error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-192760@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69660&edit=1
ID: 69660
Updated by: cmb@php.net
Reported by: warren dot zaccone at ericsson dot net
Summary: make fails with compilation error
-Status: Open
+Status: Duplicate
Type: Bug
Package: Compile Failure
Operating System: Solaris 10 Sparc
PHP Version: 5.6.9
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
This is a duplicate of bug #67229. There is a workaround presented as well.
Previous Comments:
------------------------------------------------------------------------
[2015-05-19 12:05:09] warren dot zaccone at ericsson dot net
I solved this problem by adding CC=" gcc -std=gnu99" before the configure.
------------------------------------------------------------------------
[2015-05-19 11:06:47] warren dot zaccone at ericsson dot net
Description:
------------
make of 5.6.9 fails on Solaris 10 with the following error, my configure command follows below.
Server is httpd 2.4.12
thank you.
/bin/bash /usr/nmadev/package/install_apache_php/php-5.6.9/libtool --silent --preserve-dup-deps
--mode=compile gcc -I/usr/nmadev/package/install_apache_php/php-5.6.9/ext/sqlite3/libsqlite
-DSQLITE_ENABLE_FTS3=1 -DSQLITE_CORE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_THREADSAFE=1
-Iext/sqlite3/ -I/usr/nmadev/package/install_apache_php/php-5.6.9/ext/sqlite3/ -DPHP_ATOM_INC
-I/usr/nmadev/package/install_apache_php/php-5.6.9/include
-I/usr/nmadev/package/install_apache_php/php-5.6.9/main
-I/usr/nmadev/package/install_apache_php/php-5.6.9
-I/usr/nmadev/package/install_apache_php/php-5.6.9/ext/date/lib
-I/usr/nmadev/package/install_apache_php/php-5.6.9/ext/ereg/regex -I/usr/local/include/libxml2
-I/usr/local/apache/ssl/include -I/usr/local/include -I/usr/local/instantclient_11_2/sdk/include
-I/usr/nmadev/package/install_apache_php/php-5.6.9/ext/sqlite3/libsqlite
-I/usr/nmadev/package/install_apache_php/php-5.6.9/TSRM
-I/usr/nmadev/package/install_apache_php/php-5.6.9/Zend -D_!
POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/usr/local/include -g -O2 -DZTS
-c /usr/nmadev/package/install_apache_php/php-5.6.9/ext/sqlite3/libsqlite/sqlite3.c -o
ext/sqlite3/libsqlite/sqlite3.lo
In file included from /usr/include/stdio.h:22,
from
/usr/nmadev/package/install_apache_php/php-5.6.9/ext/sqlite3/libsqlite/sqlite3.c:8640:
/usr/include/sys/feature_tests.h:336:2: #error "Compiler or options invalid; UNIX 03 and
POSIX.1-2001 applications require the use of c99"
^Cmake: *** [ext/sqlite3/libsqlite/sqlite3.lo] Error 1
Test script:
---------------
configure --prefix=/usr/local/apache/lib --exec-prefix=/usr/local/apache --wit
h-apxs2=/usr/local/apache/bin/apxs --with-openssl=/usr/local/apache/ssl --with-curl=/usr/local
--enable-sockets --enable-ftp --enable-soap --without-pear
--with-oci8=instantclient,/usr/local/instantclient_11_2
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69660&edit=1