RE: Math::GMP Installation Problem

[email protected] Thu, 5 Jul 2007 12:28:32 +0100
Newsgroups perl.64bit
Message-ID <215513AB7B417E4EB4233120C4B822CF0C57C6@LDNPCMEU308VEUA.INTRANET.BARCAPINT.COM>
Hi,

We are trying to install Net::SFTP Perl Modules in "SunOS 5.8
Generic_117350-25 sun4u sparc SUNW,Netra-T12,with s Perl, v5.8.6 built
for sun4-solaris".
It ask for prerequisite modules like Net::SSH.This Net::SSH has required
prerequisite modules. So we downloaded from CPAN site.

Then we started installing one by one. The first one is Math::GMP.It
requires gcc compiler , gmp library. So we installed gcc 3.3 and gmp
4.2.1.Then we started installing Math::GMP, It gives us following error.

ldndcs02053n01# /opt/perl586/bin/perl Makefile.PL                  =20
Writing Makefile for Math::GMP
ldndcs02053n01# make
/opt/SUNWspro/bin/cc -c    -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=3D64 -O    -DVERSION=3D\"2.04\"  -DXS_VERSION=3D\"2.0=
4\"
-KPIC "-I/opt/perl586/lib/5.8.6/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=3D"/usr/local/lib" /opt/SUNWspro/bin/cc  -G -L/usr/lib
-L/usr/ccs/lib -L/opt/SUNWspro/prod/lib -L/usr/local/lib GMP.o  -o
blib/arch/auto/Math/GMP/GMP.so   -L/usr/local/lib -lgmp  =20
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
*** Error code 1
make: Fatal error: Command failed for target
`blib/arch/auto/Math/GMP/GMP.so'


with this error we are tearing our hair out for the past 10 ten day.If
you have any solutions pls give us.




With thanx & Regds,
Kamala.R
020-777 33408
00 44 7900298025


------------------------------------------------------------------------
For important statutory and regulatory disclosures and more information a=
bout Barclays Capital, please visit our web site at http://www.barcap.com=
.

Internet communications are not secure and therefore the Barclays Group d=
oes not accept legal responsibility for the contents of this message.  Al=
though the Barclays Group operates anti-virus programmes, it does not acc=
ept responsibility for any damage whatsoever that is caused by viruses be=
ing passed.  Any views or opinions presented are solely those of the auth=
or and do not necessarily represent those of the Barclays Group.  Replies=
=20to this email may be monitored by the Barclays Group for operational o=
r business reasons.

Barclays Capital is the investment banking division of Barclays Bank PLC,=
=20a company registered in England (number 1026167) with its registered o=
ffice at 1 Churchill Place, London, E14 5HP. This email may relate to or =
be sent from other members of the Barclays Group.
------------------------------------------------------------------------