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


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!



Relevant Pages

  • Re: attempt to build 64 bit on Solaris fails
    ... > libraries needed to link with a 64-bit Tk. ... We were running a 32-bit version of Perl ... > Each section below is a summary of the commands used to install it. ...
    (comp.lang.perl.tk)
  • Re: attempt to build 64 bit on Solaris fails
    ... libraries needed to link with a 64-bit Tk. ... We were running a 32-bit version of Perl ... Each section below is a summary of the commands used to install it. ...
    (comp.lang.perl.tk)
  • Perl on Linux and SQL Server 2000 on Windows
    ... There was a time when I did a lot of searching on ways to use Perl ... sitting on Linux to connect SQL Server 2000 sitting on Windows. ... cpan> install DBI ... Install FreeTDS ...
    (comp.os.linux.misc)
  • RE: Please Help !!! Unable to install DBD-Oracle ( I am using perl 5.6 on solaris 8)
    ... Ron, I could be way off here, but the OP mayalready have Perl ... think the original issue was that he tried to use *PPM* to install ... I don't have any Solaris ... you are not the intended recipient, please notify the sender at Wipro ...
    (perl.dbi.users)
  • Re: Installing DBD::File via CPAN
    ... Do you use 'UNINST=1' in the build options for CPAN? ... >> Did you build Perl from source, or install via a RPM or binary distro? ... >>> sender of the delivery error by replying to this message, or notify us ...
    (perl.dbi.users)