Makefile.PL line 182 fix for Oracle 8.1.7.4.0+ in DBD-Oracle-1.14
krichine_at_juno.com
Date: 10/23/03
- Next message: Ed Borden: "Perl 5.8/DBI 1.38 on AIX 5.1 -> make test fails with symbol resolution errors (IO.so)"
- Previous message: perl_at_swanmail.com: "Re: How to test status of handler sth?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 23 Oct 2003 17:39:09 GMT To: dbi-users@perl.org
Hi!
I am trying to install DBD-Oracle-1.14
perl Makefile.PL -l
Using DBI 1.38 installed in /opt/oracle/work/krichine/perl581/lib/site_perl/5.8.1/PA-RISC2.0-LP64/auto/DBI
...
Argument "9.200.0.0" isn't numeric in numeric ge (>=) at Makefile.PL line 847.
...
My $ORACLE_HOME/install/unix.rgs contains:
rdbms 9.2.0.0.0
I believe this can be fixed (without breaking the three-field 8.1.6) by changing line 182 of Makefile.PL from
($inspdver{rdbms_ver} = $inspdver{RDBMS}) =~ s/^(\d+\.\d+)\.(\d+)/${1}0$2/;
to
($inspdver{rdbms_ver} = $inspdver{RDBMS}) =~ s/^(\d+\.\d+)\.(\d+).*$/${1}0$2/;
Thanks.
Kirill
________________________________________________________________
The best thing to hit the internet in years - Juno SpeedBand!
Surf the web up to FIVE TIMES FASTER!
Only $14.95/ month - visit www.juno.com to sign up today!
- Next message: Ed Borden: "Perl 5.8/DBI 1.38 on AIX 5.1 -> make test fails with symbol resolution errors (IO.so)"
- Previous message: perl_at_swanmail.com: "Re: How to test status of handler sth?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|