I am root. I've installed on a RH enterprise the following RPM's:
oracle-instantclient-basic-11.1.0.1-1.i386.rpm
oracle-instantclient-devel-11.1.0.1-1.i386.rpm
oracle-instantclient-jdbc-11.1.0.1-1.i386.rpm
oracle-instantclient-sqlplus-11.1.0.1-1.i386.rpm
which I fetch from here:
http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html
I've installed the latest DBI perl module, no problems.
I've settled the env variables like this:
ORACLE_HOME=/usr/lib/oracle/11.1.0.1/client;export ORACLE_HOME
LD_LIBRARY_PATH=$ORACLE_HOME/lib; export LD_LIBRARY_PATH
TNS_ADMIN=$HOME/myoracleinstclient; export TNS_ADMIN
and finally i did:
cd DBD-Oracle-1.21/
perl Makefile.PL -m /usr/share/oracle/11.1.0.1/client/demo.mk
and I had a couple of errors:
Using Oracle in /usr/lib/oracle/11.1.0.1/client
DEFINE _SQLPLUS_RELEASE = "1101000600" (CHAR)
Oracle version 11.1.0.6 (11.1)
Found /usr/share/oracle/11.1.0.1/client/demo.mk
Using /usr/share/oracle/11.1.0.1/client/demo.mk
Your LD_LIBRARY_PATH env var is set to '/usr/lib/oracle/11.1.0.1/
client/lib'
Reading /usr/share/oracle/11.1.0.1/client/demo.mk
Use of uninitialized value in substitution (s///) at Makefile.PL line
1348.
Use of uninitialized value in substitution (s///) at Makefile.PL line
1352.
Use of uninitialized value in substitution (s///) at Makefile.PL line
1355.
Use of uninitialized value in substitution (s///) at Makefile.PL line
1356.
Use of uninitialized value in substitution (s///) at Makefile.PL line
1357.
and finally:
*********************************************************
I can't find the header files I need in your Oracle installation.
You probably need to install some more Oracle components.
For Instant Client that means the SDK package.
I'll keep going, but the compile will probably fail.
See the appropriate README file for your OS for more information.
*********************************************************
The next step, the make is completely pagued of errors.
Any idea what's going on or how to solve it?
Thank you all!
Alejandro Santillan Iturres