Trying to install CPAN Math::GMP. Can libgmp3 provide -libgmp?
Dave Korn
dave.korn.cygwin@googlemail.com
Tue Jun 2 11:56:00 GMT 2009
Marc Girod wrote:
> Trying to install the perl CPAN package Math::GMP (as a requisite for
> Net::SSH::Perl).
> I am on cygwin 1.7, and do have:
>
> 2009> cygcheck -c libgmp3
> Cygwin Package Information
> Package Version Status
> libgmp3 4.3.1-1 OK
> 2009> cygcheck -l libgmp3
> /usr/bin/cyggmp-3.dll
> /usr/bin/cygmp-3.dll
>
> However, the Makefile.PL has:
>
> 'LIBS' => ['-lgmp'],
>
> and will refuse to consider the dlls above.
> I tried '-lgmp-3' to no avail.
>
> Is there syntactic sugar to fulfill the expectations?
You need to install the related libgmp-devel package, which contains the
libgmp.dll.a import library in /usr/lib, and the build will then link against
that - avoiding any concern about a version number - instead of trying to link
directly against the DLL as a fallback, which is what is going on here.
cheers,
DaveK
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list