Bug #69660 [NEW]: make fails with compilation error
| From: | warren dot zaccone at ericsson dot net | Date: | Tue, 19 May 2015 11:06:48 +0000 |
| Subject: | Bug #69660 [NEW]: make fails with compilation error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-192753@lists.php.net to get a copy of this message | ||
From: warren dot zaccone at ericsson dot net
Operating system: Solaris 10 Sparc
PHP version: 5.6.9
Package: Compile Failure
Bug Type: Bug
Bug description:make fails with compilation error
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 bug report at https://bugs.php.net/bug.php?id=69660&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69660&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69660&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69660&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=69660&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=69660&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=69660&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=69660&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=69660&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=69660&r=support
Expected behavior: https://bugs.php.net/fix.php?id=69660&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=69660&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=69660&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=69660&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69660&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=69660&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=69660&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=69660&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=69660&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=69660&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=69660&r=mysqlcfg