Bug #54451 [NEW]: Cannot Compile PDO_OCI on Ubuntu
| From: | schkovich at gmail dot com | Date: | Sat, 02 Apr 2011 10:03:09 +0000 |
| Subject: | Bug #54451 [NEW]: Cannot Compile PDO_OCI on Ubuntu | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-159907@lists.php.net to get a copy of this message | ||
From:
Operating system: Linux Ubuntu
PHP version: 5.3SVN-2011-04-02 (snap)
Package: PDO related
Bug Type: Bug
Bug description:Cannot Compile PDO_OCI on Ubuntu
Description:
------------
PDO_OCI complied using PHP 5.3-201103302030 snap
Oracle Instant Client 11.2.0.2.0 x64 zip Basic, SDK
Running: PHP 5.3.3-1ubuntu9.3, on Linux 2.6.35-28-generic #49-Ubuntu SMP
Tue Mar
1 14:39:03 UTC 2011 x86_64
Configure reports two problems:
* PHP_CHECK_PDO_INCLUDES variable must and with _cv_ to be cached
* cannot find php_pdo_driver.h
Test script:
---------------
user@user:/usr/local/src/pdo_oci$ phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
...
config.m4:202: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious
cache-id, must contain _cv_ to be cached
...
aclocal.m4:2739: PHP_CHECK_PDO_INCLUDES is expanded from...
config.m4:202: the top level
user@user:/usr/local/src/pdo_oci$ ./configure
--with-pdo-oci=shared,instantclient,/opt/oracle/instantclient,11.2
checking for grep that handles long lines and -e... /bin/grep
...
checking for PDO includes... checking for PDO includes...
configure: error: Cannot find php_pdo_driver.h.
Expected result:
----------------
Configure runs successfully
Actual result:
--------------
Configure fails with message: Cannot find php_pdo_driver.h
--
Edit bug report at http://bugs.php.net/bug.php?id=54451&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=54451&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=54451&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=54451&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=54451&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54451&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=54451&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=54451&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=54451&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=54451&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=54451&r=support
Expected behavior: http://bugs.php.net/fix.php?id=54451&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=54451&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=54451&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=54451&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=54451&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=54451&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=54451&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=54451&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=54451&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=54451&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=54451&r=mysqlcfg