Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Perl on OSX > Re: unable to i...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 11 Topic 984 of 1076
Post > Topic >>

Re: unable to install Math::GMP

by l0u1sph1l1ppe@[EMAIL PROTECTED] (Louis-Philippe) Sep 5, 2007 at 03:17 PM

------=_Part_137_21021834.1189019873287
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Thanks Jeremiah,

that worked for the Math::GMP install
in fact, I used this post:

http://gmplib.org/list-archives/gmp-bugs/2006-July/000516.html

to get it solved.

but now... guess what?

Net::SSH::Perl still stops its install at the same spot it did before!!!
:

t/02-buffer......Can't locate Math/GMP.pm in @[EMAIL PROTECTED]
 (@[EMAIL PROTECTED]
 contains:
/Users/le=
elasheel/.cpan/build/Net-SSH-Perl-1.30/blib/lib
/Users/leelasheel/.cpan/bui=
ld/Net-SSH-Perl-1.30/blib/arch
/Users/leelasheel/.cpan/build/Crypt-Blowfish=
-2.10/blib/arch /Users/leelasheel/.cpan/build/Crypt-Blowfish-2.10/blib/lib
=
/Users/leelasheel/.cpan/build/Digest-HMAC-1.01/blib/arch
/Users/leelasheel/=
..cpan/build/Digest-HMAC-1.01/blib/lib
/Users/leelasheel/.cpan/build/Crypt-D=
ES-2.05/blib/arch /Users/leelasheel/.cpan/build/Crypt-DES-2.05/blib/lib
/Us=
ers/leelasheel/.cpan/build/Digest-SHA1-2.11/blib/arch
/Users/leelasheel/.cp=
an/build/Digest-SHA1-2.11/blib/lib
/Users/leelasheel/.cpan/build/Crypt-CBC-=
2.22/blib/arch /Users/leelasheel/.cpan/build/Crypt-CBC-2.22/blib/lib
/Users=
/leelasheel/.cpan/build/Class-Loader-2.03/blib/arch
/Users/leelasheel/.cpan=
/build/Class-Loader-2.03/blib/lib /opt/local/lib/perl5/5.8.8/darwin-2level
=
/opt/local/lib/perl5/5.8.8
/opt/local/lib/perl5/site_perl/5.8.8/darwin-2lev=
el /opt/local/lib/perl5/site_perl/5.8.8 /opt/local/lib/perl5/site_perl
/opt=
/local/lib/perl5/vendor_perl/5.8.8/darwin-2level
/opt/local/lib/perl5/vendo=
r_perl/5.8.8 /opt/local/lib/perl5/vendor_perl .) at t/02-buffer.t line 9.
BEGIN failed--compilation aborted at t/02-buffer.t line 9.
# Looks like your test died before it could output anything.
t/02-buffer......dubious                                                  
=
 =20
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-19
        Failed 19/19 tests, 0.00% okay
t/03-packet......skipped
        all skipped: Can't do packet tests without String::CRC32
t/04-config......ok                                                       
=
 =20
t/05-cipher......ok                                                       
=
 =20
t/06-circular....ok                                                       
=
 =20
Failed Test   Stat Wstat Total Fail  Failed  List of Failed
---------------------------------------------------------------------------=
----
t/02-buffer.t  255 65280    19   38 200.00%  1-19
1 test skipped.
Failed 1/6 test scripts, 83.33% okay. 19/94 subtests failed, 79.79% okay.
make: *** [test_dynamic] Error 255
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force
__________

anybody had this problem before?
I'm guessing it may have to do with my environment not being configured
pro=
perly... but what is wrong? that is the question.

l-p




----jeremiah@[EMAIL PROTECTED]
 wrote ----=20


On Sep 5, 2007, at 5:45 AM, Louis-Philippe wrote:

> Hi,
>
> I was on my way to install Net::SSH::Perl when an error with =20
> Math::GMP stopped me...
> I then installed libgmp successfully, tried again... no luck.
> then changed a couple of lines in Math::GMP Makefile.PL as written =20
> in this previous mailing :
>
> http://www.nntp.perl.org/group/perl.macosx/2006/08/msg9995.html
>
> no luck again...
> when I compile I get this with the error:
>
> env MACOSX_DEPLOYMENT_TARGET=3D10.3 cc  -L/opt/local/lib -bundle -=20
> undefined dynamic_lookup -L/usr/local/lib GMP.o  -o blib/arch/auto/=20
> Math/GMP/GMP.bundle  \
>    -lgmp        \
>
> /usr/bin/ld: /usr/local/lib/libgmp.a(mode1o.o) has local relocation =20
> entries in non-writable section (__TEXT,__text)

I think your error is here ^^ (the call to ld)

> collect2: ld returned 1 exit status
> make: *** [blib/arch/auto/Math/GMP/GMP.bundle] Error 1
>
> any IDEA?
>

You may want to check the ld do***entation to see if you can find =20
that error message.

Google produces some interesting output if you search on the ld error =20
string. I think this link might offer some help: http://prlmnks.org/=20
html/543267.html

It unfortunately looks non-trivial.

> l-p

Jeremiah Foster
jeremiah@[EMAIL PROTECTED]
 fingerprint =3D 9616 2AD3 3AE0 502C BD75  65ED BDC3 0D44 2F5A E672
------=_Part_137_21021834.1189019873287--
 




 11 Posts in Topic:
unable to install Math::GMP
l0u1sph1l1ppe@[EMAIL PROT  2007-09-04 23:45:48 
Re: unable to install Math::GMP
jeremiah@[EMAIL PROTECTED  2007-09-05 11:15:17 
Re: unable to install Math::GMP
l0u1sph1l1ppe@[EMAIL PROT  2007-09-05 15:17:53 
Re: unable to install Math::GMP
chas.owens@[EMAIL PROTECT  2007-09-05 15:34:17 
Re: unable to install Math::GMP
l0u1sph1l1ppe@[EMAIL PROT  2007-09-05 15:39:01 
Re: unable to install Math::GMP
chas.owens@[EMAIL PROTECT  2007-09-05 15:22:46 
Re: unable to install Math::GMP
l0u1sph1l1ppe@[EMAIL PROT  2007-09-05 15:25:58 
Re: unable to install Math::GMP
l0u1sph1l1ppe@[EMAIL PROT  2007-09-05 15:33:02 
Re: unable to install Math::GMP
chas.owens@[EMAIL PROTECT  2007-09-05 15:45:50 
Re: unable to install Math::GMP
l0u1sph1l1ppe@[EMAIL PROT  2007-09-05 15:52:53 
Re: unable to install Math::GMP
chas.owens@[EMAIL PROTECT  2007-09-05 16:02:07 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 0:49:24 CST 2008.