Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Compilation problem with pdo-oci instantclient on Mac OS X

471968Feb 22 2007 — edited Mar 9 2007
Hello,

I would like to compile php with option --with-pdo-oci but i have a problem.

I downloaded the last instantclient version on oracle website (10.1.0.3)
I have installed all elements into /usr/local/oracle/instantclient

After, i make additionnal info into configure line:
--with-pdo-oci=instantclient,/usr/local/oracle/instantclient,10.1.0.3

log:
checking for PDO includes... checking for PDO includes... /usr/local/src/php-5.2.1/ext
checking Oracle OCI support for PDO... yes
checking Oracle Install-Dir... instantclient,/usr,10.1.0.3 :instantclient,/usr,10.1.0.3:
checking if that is sane... yes
checking size of long int... 4
checking checking if we're at 64-bit platform... no
checking OCI8 libraries dir... instantclient,/usr,10.1.0.3/lib32
checking for oci.h... configure: error: I'm too dumb to figure out where the include dir is in your instant client install

Thank's for your help.

Configuration:
Mac OS X 10.4.8
PHP 5.2.1
InstantClient 10.1.0.3

Bertrand
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 6 2007
Added on Feb 22 2007
2 comments
3,095 views