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 @INC (@INC contains: 
/Users/leelasheel/.cpan/build/Net-SSH-Perl-1.30/blib/lib 
/Users/leelasheel/.cpan/build/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-DES-2.05/blib/arch 
/Users/leelasheel/.cpan/build/Crypt-DES-2.05/blib/lib 
/Users/leelasheel/.cpan/build/Digest-SHA1-2.11/blib/arch 
/Users/leelasheel/.cpan/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-2level 
/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/vendor_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                                                     
        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                                                          
t/05-cipher......ok                                                          
t/06-circular....ok                                                          
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 
properly... but what is wrong? that is the question.

l-p




[EMAIL PROTECTED] wrote ---- 


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  
> 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  
> 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=10.3 cc  -L/opt/local/lib -bundle - 
> undefined dynamic_lookup -L/usr/local/lib GMP.o  -o blib/arch/auto/ 
> Math/GMP/GMP.bundle  \
>    -lgmp        \
>
> /usr/bin/ld: /usr/local/lib/libgmp.a(mode1o.o) has local relocation  
> 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 documentation to see if you can find  
that error message.

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

It unfortunately looks non-trivial.

> l-p

Jeremiah Foster
[EMAIL PROTECTED]
---
Key fingerprint = 9616 2AD3 3AE0 502C BD75  65ED BDC3 0D44 2F5A E672

Reply via email to