This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Trying to install CPAN Math::GMP. Can libgmp3 provide -libgmp?


Marc Girod schrieb:
Larry Hall (Cygwin) wrote:
Try another mirror. It's listed on one or both of the mirrors below:

ftp://sourceware.mirrors.tds.net
ftp://mirrors.kernel.org

OK, Thanks! Got that from the latter.
However now that I compile the perl CPAN module: Math::GMP 2.05,
I get a lot of compilation errors:

gcc -c   -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe
-I/usr/local/include -DUSEIMPORTLIB -O3   -DVERSION=\"2.05\"
-DXS_VERSION=\"2.05\"  "-I/usr/lib/perl5/5.10/i686-cygwin/CORE"   GMP.c
GMP.c: In function `XS_Math__GMP_destroy':
GMP.c:161: warning: cast to pointer from integer of different size
...

That's a warning and it is expected, but this is not an error.
cygwin has a lot of wrong intsize warnings because we are one of the rare 64bitint platforms, which are mostly untested.
You can safely ignore these warnings.
For some major packages I try to send patches, but for Math::GMP not yet.


rurban@reini ~/.cpan/build/Math-GMP-2.05-9WIuVd
$ make test
/usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_signature.....skipped: Set the environment variable TEST_SIGNATURE to enable this test
t/01_gmppm.........ok
t/99_perlcritic....skipped: Set the environment variable TEST_CRITIC to enable this test
t/99_pod...........skipped: Set the environment variable TEST_AUTHOR to enable this test
t/99_spellcheck....skipped: Set the environment variable TEST_SPELL to enable this test
t/99_yaml..........ok
All tests successful.
Files=6, Tests=354, 1 wallclock secs ( 0.06 usr 0.03 sys + 0.62 cusr 0.28 csys = 0.99 CPU)
Result: PASS


--
Reini Urban
http://phpwiki.org/  http://murbreak.at/

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]