install package PDO_OCI

[email protected]
Newsgroups php.install
Message-ID <OF1C4F0984.F5594EC7-ONC1257473.004D7B9B-C1257473.004F31C8@redcross-transfusion.be>
Hi everyone,

While trying to install PDO_OCI package with the command "pear install 
PDO_OCI-1.0.tgz" my configure fails at trying to find PDO includes, i 
noticed that it comes from some hardcoded directory lookup in configure 
script so copy my /usr/include/php5 to /usr/include/php to bypass that 
problem, but then the make fails after 2 gcc commands

checking Oracle OCI support for PDO... yes, shared
checking Oracle Install-Dir...  :yes:
checking if that is sane... configure: error:
You need to tell me where to find your oracle SDK, or set ORACLE_HOME

Do i need to set up oralce_home even if i use instantclient ?

 export ORACLE_HOME=/usr/lib/oracle/10.2.0.4/client64/

pear install again :

checking Oracle OCI support for PDO... yes, shared
checking Oracle Install-Dir... /usr/lib/oracle/10.2.0.4/client64/ :yes:
checking if that is sane... yes
checking Oracle version... 10.1
checking for OCIEnvCreate in -lclntsh... yes
checking for OCIEnvNlsCreate in -lclntsh... yes
checking for OCILobIsTemporary in -lclntsh... yes
checking for OCICollAssign in -lclntsh... yes
checking for OCIStmtFetch2 in -lclntsh... yes
checking for PDO includes... checking for PDO includes...
configure: error: Cannot find php_pdo_driver.h.
ERROR: `/tmp/pear/cache/PDO_OCI-1.0/configure' failed

how to go further ?


Jerôme Kaluza
Service du Sang
Service Informatique
Croix-Rouge de Belgique
rue de Stalle 96 - 5e étage
B-1180 Bruxelles
Tél. : + 32 (0)2 371 35 27
Fax : + 32 (0)2 371 35 23
[email protected]
http://www.transfusion.be

P.S.: Le temps de lire ce mail, 1 personne aura eu besoin d?une 
transfusion en Belgique pour survivre. Alors, n'oublions pas : une vie est 
irremplaçable, pas le sang ! Plus d'infos, sur http://www.transfusion.be.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.