Showing results for 
Search instead for 
Did you mean: 

Perl DBD module built Issue

Sivakumar Murugan
Occasional Contributor

Perl DBD module built Issue

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/
Oracle version (9.2)

Unable to locate an, or other suitable *.mk
file in your Oracle installation. (I looked in
/opt/ora920r/oracle/product/ /opt/ora920r/oracle/product/ /opt/ora920r/oracle/product/ /opt/ora920r/oracle/product/ /opt/ora920r/oracle/product/ /opt/ora920r/oracle/product/ /opt/ora920r/oracle/product/ /opt/ora920r/oracle/product/ under /opt/ora920r/oracle/product/

The (or file is part of the Oracle
RDBMS product. The (or 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/

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?

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.