php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57454 PDO_OCI doesn't compile
Submitted: 2006-12-24 06:51 UTC Modified: 2007-05-04 13:58 UTC
From: brunofr at ioda dot net Assigned:
Status: Not a bug Package: PDO_OCI (PECL)
PHP Version: 5.2.2 STABLE OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
40 + 39 = ?
Subscribe to this entry?

 
 [2006-12-24 06:51 UTC] brunofr at ioda dot net
Description:
------------
When I try to compile php 5.2.0 (release sources) with instant client Oracle 10.2.0.2 install it says

./configure --with-pdo-oci=shared,instantclient,/usr/lib/oracle/10.2.0.2/client

checking checking if we're at 64-bit platform... no
checking OCI8 libraries dir... instantclient,/usr/lib/oracle/10.2.0.2/client/lib32
checking for oci.h... /usr/lib/oracle/10.2.0.2/client/sdk/include
configure: error: line 71685 Unsupported Oracle version!


The pdo, pdo-mysql and pdo-sqlite compile and work without issue.

The oci module work great too and doesn't complain. 

I've try to understand what's happen but without any success.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-12-26 05:37 UTC] brunofr at ioda dot net
i've managed how to compile it :
But this is the ugly way 
I've force PDO_OCI_VERSION=10.2 in configure line 71194 
and configure, make make install and phpinfo() seems all ok.

I think there's a big trouble with the version decode way in configure here 
  if test -s "$PDO_OCI_DIR/orainst/unix.rgs"; then
    PDO_OCI_VERSION=`grep '"ocommon"' $PDO_OCI_DIR/orainst/unix.rgs | sed 's/  */:/g' | cut -d: -f 6 | cut -c 2-4`
    test -z "$PDO_OCI_VERSION" && PDO_OCI_VERSION=7.3
  elif test -f $PDO_OCI_LIB_DIR/libclntsh.$SHLIB_SUFFIX_NAME.10.1; then
    PDO_OCI_VERSION=10.1
 [2007-05-04 13:14 UTC] brunofr at ioda dot net
Oracle instantclient 10.2.0.3 & php 5.2.2
doesn't want to compile.

Is nobody looking at this ?
 [2007-05-04 13:58 UTC] tony2001 at phpclub dot net
See http://bugs.php.net/bug.php?id=41289
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 19:01:29 2024 UTC