For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > June 2007 > Help with compiling perl DBD using Oracle Instant client









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Help with compiling perl DBD using Oracle Instant client
Ravi Malghan

2007-06-19, 3:59 am

Hi: I have installed the oracle instant client and trying to install DBD-Oracle. When I run perl MakeFile, I get the following.

=====================
Using Oracle in /export/home/net/oracle
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
/export/home/net/oracle/rdbms/demo/demo_xe.mk /export/home/net/oracle/rdbms/lib/oracle.mk /export/home/net/oracle/rdbms/demo/oracle.mk /export/home/net/oracle/rdbms/demo/demo_rdbms.mk /export/home/net/oracle/precomp/demo/proc/p
roc.mk /export/home/net/oracle/precomp/demo/proc/demo_proc.mk /export/home/net/oracle/proc/lib/proc.mk /export/home/net/oracle/proc16/lib/proc16.mk under /export/home/net/oracle)
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.
In the unlikely event that a suitable *.mk file is installed
somewhere non-standard you can specify where it is using the -m option:
perl Makefile.PL -m /path/to/your.mk
See README.clients.txt for more information and some alternatives.
at Makefile.PL line 1072.
==============================
The instant client does not have the .mk files this output talks about. I am able to run sqlplus that is in the instant client and connect to database.

Could someone help.
Thanks
Ravi



________________________________________
________________________________________
____
Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.
http://sims.yahoo.com/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com