Edit report at http://bugs.php.net/bug.php?id=54451&edit=1

 ID:                 54451
 Updated by:         [email protected]
 Reported by:        schkovich at gmail dot com
 Summary:            Cannot Compile PDO_OCI on Ubuntu
-Status:             Open
+Status:             Assigned
 Type:               Bug
 Package:            PDO related
 Operating System:   Linux Ubuntu
 PHP Version:        5.3SVN-2011-04-02 (snap)
-Assigned To:        
+Assigned To:        sixd
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2011-04-02 12:03:08] schkovich at gmail dot com

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 this bug report at http://bugs.php.net/bug.php?id=54451&edit=1

Reply via email to