Also, I scan the output and "/usr/local/lib" is not even in the search path error
---------------------------

Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01-compile.....ok                                                         
t/02-buffer......Can't locate Math/GMP.pm in @INC (@INC contains: /private/var/root/.cpan/build/Net-SSH-Perl-1.30/blib/lib /private/var/root/.cpan/build/Net-SSH-Perl-1.30/blib/arch /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1 . /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1 .) at t/02-buffer.t line 9.
BEGIN failed--compilation aborted at t/02-buffer.t line 9.


--------------------------

Michael Barto wrote:
I make this modification, but still get the same error.

t/03-packet......Can't locate Math/GMP.pm in @INC (@INC ..........

--------------------------------------
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.

WriteMakefile(
    'NAME'      => 'Math::GMP',
    'VERSION_FROM' => 'lib/Math/GMP.pm', # finds $VERSION
#    'LIBS'     => ['-lgmp'],   # e.g., '-lm'
    'LIBS'      => ['-L/usr/local/lib -lgmp'],   # e.g., '-lm'
    'DEFINE'    => '',     # e.g., '-DHAVE_SOMETHING'
);
--------------------------------------

The issue is that the Math/GMP.pm is located in my development directory :

/Users/Mbarto/Development/Perl/GMP.pm

Should I change it to that,  instead?

Paul McCann wrote:
Hi Michael,

I think the problem here is that Math::GMP doesn't look in /usr/local/ lib to find the libgmp* libraries, so you need to give it a helping  hand.

Just modifying the Makefile.PL file so that instead of

'LIBS'      => ['-lgmp'],   # e.g., '-lm'

you have

'LIBS'      => ['-L/usr/local/lib -lgmp'],   # e.g., '-lm'

should do the trick.

Cheers,
Paul


--

Michael Barto
Software Architect

LogiQwest Circle
LogiQwest Inc.
16458 Bolsa Chica Street, # 15
Huntington Beach, CA  92649
http://www.logiqwest.com/

    [EMAIL PROTECTED]
Tel:  714 377 3705
Fax: 714 840 3937
Cell: 714 883 1949

'tis a gift to be simple
This e-mail may contain LogiQwest proprietary information and should be treated as confidential.

--

Michael Barto
Software Architect

LogiQwest Circle
LogiQwest Inc.
16458 Bolsa Chica Street, # 15
Huntington Beach, CA  92649
http://www.logiqwest.com/

    [EMAIL PROTECTED]
Tel:  714 377 3705
Fax: 714 840 3937
Cell: 714 883 1949

'tis a gift to be simple
This e-mail may contain LogiQwest proprietary information and should be treated as confidential.

Reply via email to