Try:
'LIBS' => ['-L/usr/local/lib', '-lgmp'], # e.g., '-lm'
------------------------------------------------------------------------
--
Edward Moy
Apple
(This message is from me as a reader of this list, and not a statement
from Apple.)
On Aug 5, 2006, at 3:43 PM, 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
<circle.gif>
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.