install package PDO_OCI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




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
j.kaluza@xxxxxxxxxxxxxxxxxxxxxxx
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.
[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux