cancel
Showing results for 
Search instead for 
Did you mean: 

Perl DBD module built Issue

Sivakumar Murugan
Occasional Contributor

Perl DBD module built Issue

Hi,
perl 5.8.8 is available in HPUX.I found DBD and DBI modules are missing.So I copied those modules (Free Download version) under the perl and tried to build those modules.
DBI-1.52 - is built successfully.
DBD-Oracle-1.17 - throwing Error like
when i run this perl Makefile.PL

"Using DBI 1.52 (for perl 5.008008 on IA64.ARCHREV_0-thread-multi) installed in /opt/perl_32/lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi/auto/DBI/

Configuring DBD::Oracle for perl 5.008008 on hpux (IA64.ARCHREV_0-thread-multi)

Remember to actually *READ* the README file! Especially if you have any problems.

Using Oracle in /opt/ora920r/oracle/product/9.2.0.2
DEFINE _SQLPLUS_RELEASE = "902000200" (CHAR)
Oracle version 9.2.0.2 (9.2)

Unable to locate an oracle.mk, proc.mk or other suitable *.mk
file in your Oracle installation. (I looked in
/opt/ora920r/oracle/product/9.2.0.2/rdbms/demo/demo_xe.mk /opt/ora920r/oracle/product/9.2.0.2/rdbms/lib/oracle.mk /opt/ora920r/oracle/product/9.2.0.2/rdbms/demo/oracle.mk /opt/ora920r/oracle/product/9.2.0.2/rdbms/demo/demo_rdbms.mk /opt/ora920r/oracle/product/9.2.0.2/precomp/demo/proc/proc.mk /opt/ora920r/oracle/product/9.2.0.2/precomp/demo/proc/demo_proc.mk /opt/ora920r/oracle/product/9.2.0.2/proc/lib/proc.mk /opt/ora920r/oracle/product/9.2.0.2/proc16/lib/proc16.mk under /opt/ora920r/oracle/product/9.2.0.2)

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."
Note :This is required for Connecting the database thur perl from HP UX.

Would you please help in this?

Thanks&Regards,
-Shiv.
2 REPLIES
Tim Nelson
Honored Contributor

Re: Perl DBD module built Issue

Did you set your ORACLE_HOME before running the make ? There are a number of notes in the readme.

( I am not an expert at this but ran into a dozen issues when trying to do the same for myself. )

Sivakumar Murugan
Occasional Contributor

Re: Perl DBD module built Issue

thanks Boss.Ya,ORACLE_HOME is set up there.