David Adams writes:
 > I tried compiling Perl with -64.  There were so many fails during 'make
 > test' that I didn't try installing it.

I built Perl v5.6.1 64bit on an O2000 running IRIX 6.5 without having
to do anything strange.  However, -64 defaults to -mips4 using cc
(MIPSpro Compilers: Version 7.2.1) but

  file /usr/oracle/app/oracle/product/8.1.6/lib/libclntsh.so

returns: ELF 64-bit MSB mips-3 dynamic lib MIPS - version 1

so Perl needed to be built using -64 -mips3

 > 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.

Check the object type of Oracle.so - it should match the type of Perl.
On my system that would be: ELF N32 MSB mips-3 dynamic lib MIPS -
version 1

I found it easier to build a 64bit Perl than get DBD::Oracle to build
using N32 because the DBD::Oracle install was determined to use the
(64bit) libraries in /usr/oracle/app/oracle/product/8.1.6/lib/ and I
haven't tried to see how I can change that.

Rohan

Reply via email to