I have a Sun Enterprise running Solaris 2.9. I installed Perl 5.8. I am now trying to compile Math-GMP-2.03 and I get the following output on "make": cp lib/Math/GMP.pm blib/lib/Math/GMP.pm AutoSplitting blib/lib/Math/GMP.pm (blib/lib/auto/Math/GMP) /usr/local/bin/perl /usr/local/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap GMP.xs > GMP.xsc && mv GMP.xsc GMP.c gcc -B/usr/ccs/bin/ -c -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_O FFSET_BITS=64 -O -DVERSION=\"2.03\" -DXS_VERSION=\"2.03\" -fPIC "-I/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE" GMP.c Running Mkbootstrap for Math::GMP () chmod 644 GMP.bs rm -f blib/arch/auto/Math/GMP/GMP.so LD_RUN_PATH="/usr/local/lib" gcc -B/usr/ccs/bin/ -G -L/usr/local/lib MP.o -o blib/arch/auto/Math/GMP/GMP.so -lgmp ld: fatal: file /usr/local/lib/libgmp.so: wrong ELF class: ELFCLASS64 ld: fatal: File processing errors. No output written to blib/arch/auto/Math/GMP/GMP.so collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `blib/arch/auto/Math/GMP/GMP.so'
I did successfully install gmp-4.1.2, although maybe I need to specify some options I don't understand? What the heck is ELF and ELFCLASS64, and what do I do about them? I can't figure out what the problem is. The same problem occurs with less info, using MCPAN. Thanks for any help! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>