Bug #71078 [NEW]: Oci8 Package not compiling under PHP 7.0
| From: | aqangeles at gmail dot com | Date: | Thu, 10 Dec 2015 06:12:39 +0000 |
| Subject: | Bug #71078 [NEW]: Oci8 Package not compiling under PHP 7.0 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-197759@lists.php.net to get a copy of this message | ||
From: aqangeles at gmail dot com
Operating system: Ubuntu 14.04.3 LTS
PHP version: 7.0.0
Package: OCI8 related
Bug Type: Bug
Bug description:Oci8 Package not compiling under PHP 7.0
Description:
------------
Installing of oci8 extension via PECL and manually compiling the package
fails.
Test script:
---------------
$ sudo pecl install oci8
Expected result:
----------------
oci8 extension installed
Actual result:
--------------
downloading oci8-2.0.8.tgz ...
Starting to download oci8-2.0.8.tgz (190,854 bytes)
.........................................done: 190,854 bytes
11 source files, building
running: phpize
Configuring for:
PHP Api Version: 20151012
Zend Module Api No: 20151012
Zend Extension Api No: 320151012
Please provide the path to the ORACLE_HOME directory. Use
'instantclient,/path/to/instant/client/lib' if you're compiling with
Oracle Instant Client [autodetect] : building in
/tmp/pear/temp/pear-build-root3P4AoF/oci8-2.0.8
running: /tmp/pear/temp/oci8/configure
--with-php-config=/usr/bin/php-config --with-oci8
checking for grep that handles long lines and -e... /bin/grep
[.........]
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
running: make
/bin/bash /tmp/pear/temp/pear-build-root3P4AoF/oci8-2.0.8/libtool
--mode=compile cc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC
-I/tmp/pear/temp/pear-build-root3P4AoF/oci8-2.0.8/include
-I/tmp/pear/temp/pear-build-root3P4AoF/oci8-2.0.8/main
-I/tmp/pear/temp/oci8 -I/usr/include/php/20151012
-I/usr/include/php/20151012/main -I/usr/include/php/20151012/TSRM
-I/usr/include/php/20151012/Zend -I/usr/include/php/20151012/ext
-I/usr/include/php/20151012/ext/date/lib
-I/u01/app/oracle/product/11.2.0/xe/rdbms/public
-I/u01/app/oracle/product/11.2.0/xe/rdbms/demo -DHAVE_CONFIG_H -g -O2
-c /tmp/pear/temp/oci8/oci8.c -o oci8.lo
libtool: compile: cc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC
-I/tmp/pear/temp/pear-build-root3P4AoF/oci8-2.0.8/include
-I/tmp/pear/temp/pear-build-root3P4AoF/oci8-2.0.8/main
-I/tmp/pear/temp/oci8 -I/usr/include/php/20151012
-I/usr/include/php/20151012/main -I/usr/include/php/20151012/TSRM
-I/usr/include/php/20151012/Zend -I/usr/include/php/20151012/ext
-I/usr/include/php/20151012/ext/date/lib
-I/u01/app/oracle/product/11.2.0/xe/rdbms/public
-I/u01/app/oracle/product/11.2.0/xe/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c
/tmp/pear/temp/oci8/oci8.c -fPIC -DPIC -o .libs/oci8.o
/tmp/pear/temp/oci8/oci8.c:36:40: fatal error:
ext/standard/php_smart_str.h: No such file or directory
#include "ext/standard/php_smart_str.h"
^
compilation terminated.
make: *** [oci8.lo] Error 1
ERROR: `make' failed
--
Edit bug report at https://bugs.php.net/bug.php?id=71078&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71078&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71078&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71078&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=71078&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=71078&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=71078&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=71078&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=71078&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=71078&r=support
Expected behavior: https://bugs.php.net/fix.php?id=71078&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=71078&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=71078&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=71078&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71078&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=71078&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=71078&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=71078&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=71078&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=71078&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=71078&r=mysqlcfg