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?



Reini Urban wrote:
> 
> Since Math::Pari does not work, you need Math::GMP, right.
> But with this and selecting IDEA and Crypt::RSA
> I successfully ran all Net-SSH-Perl-1.34 tests.
> 
> BTW: for reference the pari error:
> gcc-4 -c  -I ../pari-2.1.7/src -I../pari-2.1.7/src/headers 
> -I../pari-2.1.7/src/graph -I. -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ 
> -fno-strict-aliasing -pipe -fstack-protector -DUSEIMPORTLIB -O3 
> -DVERSION=\"\" -DXS_VERSION=\"\"  -Derr=pari_err -DASMINLINE 
> -DGCC_INLINE -DDYNAMIC_PLOTTING -o mp.o ../pari-2.1.7/src/kernel/none/mp.c
> {standard input}: Assembler messages:
> {standard input}:4825: Error: suffix or operands invalid for `div'
> make[1]: *** [mp.o] Error 1
> make[1]: Leaving directory 
> `/cygdrive/f/cygwin/home/rurban/.cpan/build/Math-Pari-2.010801-Qx0008/libPARI'
> 
I am sorry, but I don't quite follow you.
I could build Math::Pari...
I did it with the default gcc:

Math-Pari-2.010801> gcc --version
gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

My make test fails however:

Test Summary Report
-------------------
t/00_Pari.t    (Wstat: 65280 Tests: 30 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 546 tests but ran 30.
t/55_elliptic.t (Wstat: 2304 Tests: 3 Failed: 0)
  Non-zero exit status: 9
  Parse errors: Bad plan.  You planned 46 tests but ran 3.
t/55_graph.t   (Wstat: 512 Tests: 16 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 28 tests but ran 16.
t/55_linear.t  (Wstat: 2304 Tests: 6 Failed: 0)
  Non-zero exit status: 9
  Parse errors: Bad plan.  You planned 105 tests but ran 6.
t/55_nfields.t (Wstat: 2304 Tests: 16 Failed: 2)
  Failed tests:  5-6
  Non-zero exit status: 9
  Parse errors: Bad plan.  You planned 161 tests but ran 16.
t/55_number.t  (Wstat: 2304 Tests: 8 Failed: 0)
  Non-zero exit status: 9
  Parse errors: Bad plan.  You planned 83 tests but ran 8.
t/55_ploth.t   (Wstat: 512 Tests: 22 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 34 tests but ran 22.
Files=15, Tests=343, 37 wallclock secs ( 0.19 usr  0.09 sys + 19.34 cusr 
9.44 csys = 29.06 CPU)
Result: FAIL
Failed 7/15 test programs. 2/343 subtests failed.
make: *** [test_dynamic] Error 255


Er... in fact, I can see now that I installed it.
I shall remove it now.

Marc
-- 
View this message in context: http://www.nabble.com/Re%3A-Re%3A-Trying-to-install-CPAN-Math%3A%3AGMP.-Can-libgmp3-provide------libgmp--tp23850368p23867664.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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