Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DBD-Oracle CPAN distribution.

Report information
The Basics
Id: 21788
Status: resolved
Priority: 0/
Queue: DBD-Oracle

People
Owner: Nobody in particular
Requestors: asng [...] onlinehome.de
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.18a
Fixed in: (no value)



Subject: Installation procedure fails with Oracle instant client
DBD::Oracle 1.18a Linux, Debian unstable ( DBI: 1.52 perl v5.8.8 built for i486-linux-gnu-thread-multi ) Oracle Instant client (10.1.0.5) The problem is in Makefile.PL. In line 130 the function find_oracle_home is used to guess a value form $ORACLE_HOME if it is not set explicitely. This value is used in line 138 to setup the environment (regardless which client is used). in line 1443 (sub get_client_version) sqlplus is used to get the version string, but for the oracle instant client you must not set $ORACLE_HOME (it will generate an error "SP2-0642: SQL*Plus internal error state 2165, context 4294967295:0:0") A solution that worked for me was to set local $ENV{ORACLE_HOME} = ''; in line 1463 immediately before sqlplus is called (but I cannot tell if this fails for full client installations)
Most likely a local configuration issue. A vaild point though. I will add this to the README.win.32 in case some one else has this same problem.