Re: DBD-Oracle 1.19 with Oracle Instant Client 10.2.0.3 on Debian Etch won't install



Hi John,
What are you suggesting? Currently all my Oracle inst client files are user oracle group oinstall yet lib bin and other dirs have 755 permission so root should be able to access and execute these softlibs.
As I have written, I have installed DBD::Oracle-1.19 many times with a full client without problem, yet with the limited instant client it does not find the mk file, and the one mk file (namely demo.mk) that the instant client installs does not work. So I don't think its a linker problem. Thanks for the suggestion though!

I am compiling with user root.

Any other suggestions, or how to edit the DBD::Oracle-1.19 Makefile to make it work without the .mk files?

Thanks for any help!

Toby

John Scoles schrieb:
On thing about the instant client is that it has to make a symbolic link to compile correctly here

some thing like this

$ ln -s instantclient_10_2/libclntsh.so.10.1 libclntsh.so

If the user that is doing the compile doe not have permission to do this link then you may get a failure like this.


----- Original Message ----- From: "tm" <tm@xxxxxxx>
To: <dbi-users@xxxxxxxx>
Sent: Thursday, March 08, 2007 7:43 AM
Subject: DBD-Oracle 1.19 with Oracle Instant Client 10.2.0.3 on Debian Etch won't install


Hi,

I am having a problem setting up DBD::Oracle version 1.19 on a Debian
Etch. I am running perl 5.8.8 and have dbi 1.53 (I believe) installed. I
have instantclient-basic, instantclient-devel, and sqlplus installed. I
can, without a problem, connect to my external DB Server via sqlplus. I
have ORACLE_HOME and LD_LIB path set everything works great, and I am
user root.

I have several times installed DBD::Oracle 1.19 on Debian Etch without
any problem, BUT only with a FULL Oracle client. The installer needs
x-server and I don't want an x on this server, nor do I want a full
oracle client installed.

It just won't work with the inst client.

I am a total noobie to dbi and perl so bare with me!

I have this error, and I know that there are some fixes, but they all
seem to be for older DBD:Oracle Makefiles.

Using Oracle in /usr/lib/oracle/10.2.0.3/client DEFINE _SQLPLUS_RELEASE
= "1002000300" (CHAR) Oracle version 10.2.0.3 (10.2) Unable to locate an
oracle.mk, proc.mk or other suitable *.mk file in your Oracle
installation. (I looked in
/usr/lib/oracle/10.2.0.3/client/rdbms/demo/demo_xe.mk
/usr/lib/oracle/10.2.0.3/client/rdbms +/lib/oracle.mk
/usr/lib/oracle/10.2.0.3/client/rdbms/demo/oracle.mk
/usr/lib/oracle/10.2.0.3/clien +t/rdbms/demo/demo_rdbms.mk
/usr/lib/oracle/10.2.0.3/client/precomp/demo/proc/proc.mk /usr/lib/orac
+le/10.2.0.3/client/precomp/demo/proc/demo_proc.mk
/usr/lib/oracle/10.2.0.3/client/proc/lib/proc.mk +
/usr/lib/oracle/10.2.0.3/client/proc16/lib/proc16.mk under
/usr/lib/oracle/10.2.0.3/client) The oracle.mk (or demo_rdbms.mk) file
is part of the Oracle RDBMS product. The proc.mk (or demo_proc.mk) file
is part of the Oracle Pro*C product. You need to build DBD::Oracle on a
system which has one of these Oracle components installed. (Other *.mk
files such as the env_*.mk files will not work.) Alternatively you can
use Oracle Instant Client.

I also have tried: *perl Makefile.PL -m
/usr/share/oracle/10.2.0.3/client/demo.mk*
which is the only mk file that instant client provides.

It also gives me a makefile for DBD::Oracle but install and test fail
utterly.

Can anybody point me in a direction what I should do. Any pointers to
reciepies how to get this baby working. Really appreciate your time and
effort.

Greets,
tm




.



Relevant Pages

  • RE: :Oracle install problem On Solaris 8
    ... I tried to reinstall the Oracle client. ... To: Hemanth Kumar; Michael Nhan ... Subject: RE::Oracle install problem On Solaris 8 ...
    (perl.dbi.users)
  • Re: DBD-Oracle 1.19 with Oracle Instant Client 10.2.0.3 on Debian Etch wont install
    ... DBD-Oracle 1.19 with Oracle Instant Client 10.2.0.3 on Debian Etch won't install ... I've successfully installed DBD::Oracle with instant client on Debian ...
    (perl.dbi.users)
  • RE: Oracle with ActiveState build 8xx
    ... > 8.1.7.4 client lib, ... I have near zero Oracle ... > libs and the OCI ... > they do install ...
    (perl.dbi.users)
  • Re: Running oracle 8 or oracle 9 on RedHat9.x
    ... > because php doesn't work with the oracle 9 client. ... But I know for sure that PHP *does* work with Oracle9 client, ... ./runInstaller again and click "Install client" or something like that. ...
    (RedHat)
  • Re: DBD::Oracle Install Mystery
    ... getting trying to install DBD::Oracle: ... Looking at your compile line above I'm guessing you are using Oracle 8.1.6 and that OCI_FETCH_CURRENT was not available in 8.1.6)or at least not defined). ... get a recent instant client and instant client sdk and compile DBD::Oracle against that. ... Perl 5.10 recently installed with gcc, ...
    (perl.dbi.users)