Re: DBD::Oracle installation problems
- From: alejandro.santillan@xxxxxxxxxxxxxxxxxx (Alejandro Santillan Iturres)
- Date: Sun, 18 May 2008 19:32:01 -0300
Thank you very much!
I will try this solution an I will report later. What I saw so far is that the guide is a bit old (2005, I suppose), but is something different from what is explained on the README.linux, by which I failed to compile, so I will try it anyway.
Alejandro Santillan Iturres
alejandro.santillan@xxxxxxxxxxxxxxxxxx
www.predictionlabs.com
Prediction Labs Inc.
360 Victoria Ocampo Str, 3rd Floor, Colonos Sur
C1107BGA | Ciudad de Buenos Aires | Argentina
AR: +54 (11) 4515 6439
US: +1 (203) 903 0193
UK: +44 (207) 193 5375
On May 17, 2008, at 11:05 PM, listmail wrote:
Alejandro Santillan Iturres wrote:I am root. I've installed on a RH enterprise the following RPM's:I haven't implemented the instaclients yet on Linux, but this is a guide I plan to use when I do. It does talk about a config file and addressing header problems. Maybe it will help with 11g as well.
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
http://jeanchristophe.duber.free.fr/dbd_oracle_instantclient_linux/
- References:
- DBD::Oracle installation problems
- From: Alejandro Santillan Iturres
- Re: DBD::Oracle installation problems
- From: Listmail
- DBD::Oracle installation problems
- Prev by Date: Re: DBD::Oracle installation problems
- Next by Date: How Can I use ssh in my perl code
- Previous by thread: Re: DBD::Oracle installation problems
- Next by thread: How Can I use ssh in my perl code
- Index(es):
Relevant Pages
|
|