1833772 Members
2028 Online
110063 Solutions
New Discussion

DBD-Oracle Problem

 
SOLVED
Go to solution
twtandigi.com.my
Frequent Advisor

DBD-Oracle Problem

What can this problem point out to be ?

perl Makefile.PL LINKTYPE=STATIC

DBD-Oracle-1.03>make && make Perl
cp Oracle.pm blib/lib/DBD/Oracle.pm
cp oraperl.ph blib/lib/oraperl.ph
cp Oraperl.pm blib/lib/Oraperl.pm
Make: Don't know how to make STATIC. Stop.

Tried to make without LINKTYPE=STATIC, it can compile.
Has anyone came across such a problem?
2 REPLIES 2
KapilRaj
Honored Contributor

Re: DBD-Oracle Problem

I always ran into some or other problems with this method .... and from that day i try to get a compiled version of DBD or any perl modules


Regds,

Kaps
Nothing is impossible
Matti_Kurkela
Honored Contributor
Solution

Re: DBD-Oracle Problem

Perl is case sensitive.

At least on DBD-Oracle-1.14, the Makefile.PL
tests if the LINKTYPE is set to 'static' or not. 'STATIC' is not recognized, only 'static'.

By the way, if you're compiling DBD-Oracle on HP-UX 11i, you will really want to use the version 1.14 or newer: I recently tried to compile DBD-Oracle 1.13 on 11i for Oracle 9.2 (using HP ANSI C) and got only some strange compiler errors.

When I switched to 1.14 the compilation was relatively easy. However, DBD-Oracle needs to work with Oracle libraries, and so the Perl itself must be compiled with certain options. Read the README.hpux that comes with DBD-Oracle for more information, and see also http://www.mail-archive.com/dbi-users@perl.org/msg18687.html


MK