Thanks for your help Thomas, but I still havn't got DBD::Oracle to work
under Irix.
I tried compiling Perl with -64. There were so many fails during 'make
test' that I didn't try installing it.
The installed Perl was compiled with -n32 and a colleague got the Irix N32
Development Toolkit for me.
Then I was able to build DBD::Oracle without more than a few warning
messages from the C compiler. However,
'make test' fails completely, the output is at the end of this message.
I'm told that Oracle 9i has no support for Irix atall, so I think our
long-term strategy is going to be moving our applications on to Sun
hardware. Also, I have DBD::Proxy running OK, so I do have a short-term
fall-back, but I would like to get this working if I can.
--
David Adams
Computing Services
Southampton University
----- Original Message -----
From: "Thomas A. La Porte" <[EMAIL PROTECTED]>
To: "David Adams" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, August 03, 2001 4:01 PM
Subject: Re: Query: How to install DBD::Oracle on Irix 6.5?
> You have two options, based on whether you want to build (or have
> built) Perl -64 or -n32.
>
> If you need n32, you'll have to order or download the Irix N32
> Development Toolkit, which provides the basic set of client
> libraries in n32 form, rather than the 64 bit libraries.
>
> Alternatively, you can build with the 64-bit libraries if your
> Perl is already built 64-bit. I found that I needed to set a
> compiler.defaults file with -n32 and -mips3 specified, in order
> to match our version of Perl, and use the N32 Toolkit.
>
> Also, IIRC, I needed to build the Makefile with 'perl Makefile.PL -p'
>
> -- Tom
>
> Thomas A. La Porte
> DreamWorks SKG
> [EMAIL PROTECTED]
>
> On Fri, 3 Aug 2001, David Adams wrote:
>
> >We have the Oracle 8.1.6 client installed and working on Irix 6.5.
> >I have installed Perl 5.6.1 and DBI 1.18, and have DBD::Proxy working.
> >
> >I have failed to build DBD::Oracle 1.06, with the 'make' failing with the
> >last two lines:
> >
> >cc WARNING: -64 conflicts with -n32; using latter value (-64)
> >ld64: FATAL 12 : Expecting n64 objects: Oracle.o is n32.
> >
> >Also the generated Makefile contains this weird line:
> >
> >EXTRALIBS = -L$(LIBHOME) echo "-64" ;
>
>fi` -Wl,-woff,16,-woff,84,-woff,85,-woff,134,-rdata_shared,-multigot,-mips3
> >-o build -rpath
>
>/opt/local/oracle/lib -L/opt/local/oracle/network/lib/ -L/opt/local/oracle/
l
> >ib/ -lclntsh
> >
> >The README.help file suggests that I should compile Perl with
the -32 -mips2
> >compiler options and re-install, but this advice seems to be for Oracle
7.?.
> >
> >What is needed to install DBD::Oracle with Oracle 8.1.6 on Irix 6.5?
> >I will re-install Perl if I need to, but I can't afford to re-install it
> >repeatedly until I hit on the right options.
> >
> >Thanks.
> >
> >--
> >David Adams
> >Computing Services
> >Southampton University
> >
> >
> >
> >
>
>
PERL_DL_NONLAZY=1
/opt/local/perl-5.6.1/bin/perl -Iblib/arch -Iblib/lib -I/opt/local/perl-5.6.
1/lib/5.6.1/IP27-irix-64all-ld -I/opt/local/perl-5.6.1/lib/5.6.1 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
t/general...........install_driver(Oracle) failed: Can't load
'blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle:
1016126:/opt/local/perl-5.6.1/bin/perl: rld: Fatal Error: unresolvable
symbol in /opt/local/oracle/lib/libclntsh.so.8.0: sqlxfr at
/opt/local/perl-5.6.1/lib/5.6.1/IP27-irix-64all-ld/DynaLoader.pm line 206.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/general.t line 20
dubious
Test returned status 255 (wstat 65280, 0xff00)
t/long..............Can't load 'blib/arch/auto/DBD/Oracle/Oracle.so' for
module DBD::Oracle: 1016127:/opt/local/perl-5.6.1/bin/perl: rld: Fatal
Error: unresolvable symbol in /opt/local/oracle/lib/libclntsh.so.8.0: sqlxfr
at /opt/local/perl-5.6.1/lib/5.6.1/IP27-irix-64all-ld/DynaLoader.pm line
206.
at t/long.t line 4
Compilation failed in require at t/long.t line 4.
BEGIN failed--compilation aborted at t/long.t line 4.
dubious
Test returned status 255 (wstat 65280, 0xff00)
t/plsql.............Can't load 'blib/arch/auto/DBD/Oracle/Oracle.so' for
module DBD::Oracle: 1018742:/opt/local/perl-5.6.1/bin/perl: rld: Fatal
Error: unresolvable symbol in /opt/local/oracle/lib/libclntsh.so.8.0: sqlxfr
at /opt/local/perl-5.6.1/lib/5.6.1/IP27-irix-64all-ld/DynaLoader.pm line
206.
at t/plsql.t line 17
Compilation failed in require at t/plsql.t line 17.
BEGIN failed--compilation aborted at t/plsql.t line 17.
dubious
Test returned status 255 (wstat 65280, 0xff00)
t/reauth............skipped test on this platform
Failed Test Status Wstat Total Fail Failed List of Failed
----------------------------------------------------------------------------
----
t/base.t 5 2 40.00% 4-5
t/general.t 255 65280 ?? ?? % ??
t/long.t 255 65280 ?? ?? % ??
t/plsql.t 255 65280 ?? ?? % ??
1 test skipped.
Failed 4/5 test scripts, 20.00% okay. 2/5 subtests failed, 60.00% okay.
*** Error code 2 (bu21)