Interesting ... I was unaware of that option. Does it enable you to get the 2.1.7 source ?
I've just tried building Math-Pari-2.010800 against pari-2.3.4 on Strawberry 5.10 and it's certainly *not* a trivial exercise. Firstly, to get it to compile I inserted the following code into pari-2.3.4/src/language/init.c:
#ifndef PARI_VERSION_SHIFT #define PARI_VERSION_SHIFT 8 #endif #ifndef PARI_VERSION_CODE #define PARI_VERSION_CODE 131844 #endif
Perhaps that's not the correct way to get it to build. There's lots of failing tests:
t/00_Pari..............`centerlift' is not a Pari function name at C:\ +_32\comp\Math-Pari-2.010800\blib\lib/Math/Pari.pm line 1125. "centerlift" is not exported by the Math::Pari module Can't continue after import errors at C:\_32\comp\Math-Pari-2.010800\b +lib\lib/Math/Pari.pm line 1133 BEGIN failed--compilation aborted at t/00_Pari.t line 467. t/00_Pari.............. Dubious, test returned 9 (wstat 2304, 0x900) No subtests run t/55_analyz............ Failed 4/6 subtests t/55_ellglobalred......skipped: no tests found in `t/.././pari-2.3.4/s +rc/test/32/ellglobalred' t/55_elliptic.......... Failed 41/46 subtests t/55_galois............skipped: no tests found in `t/.././pari-2.3.4/s +rc/test/32/galois' t/55_graph.............# Can't locate Term/Gnuplot.pm in @INC, ignorin +g plotting t/55_graph.............1/28 Argument "Pi" isn't numeric in multiplicat +ion (*) at (eval 16) line 1. t/55_graph............. Failed 3/28 subtests t/55_intnum............1/51 Argument "I" isn't numeric in multiplicati +on (*) at (eval 16) line 1. t/55_intnum............ Failed 28/51 subtests t/55_linear............Argument "Pi" isn't numeric in multiplication ( +*) at (eval 1) line 1. Argument "Pi" isn't numeric in multiplication (*) at (eval 2) line 1. t/55_linear............1/102 Unquoted string "random" may clash with f +uture reserved word at (eval 43) line 1. Argument "I" isn't numeric in addition (+) at (eval 62) line 1. Unquoted string "random" may clash with future reserved word at (eval +78) line 1. Unquoted string "random" may clash with future reserved word at (eval +79) line 1. t/55_linear............ Failed 79/102 subtests t/55_nfields...........1/161 Unquoted string "random" may clash with f +uture reserved word at (eval 5) line 1. Unquoted string "random" may clash with future reserved word at (eval +6) line 1. t/55_nfields........... Failed 45/161 subtests t/55_number............ Failed 79/83 subtests t/55_objets............1/60 Deep recursion on subroutine "Math::Pari:: +O" at C:\_ 32\comp\Math-Pari-2.010800\blib\lib/Math/Pari.pm line 1154. t/55_objets............ Dubious, test returned 253 (wstat 64768, 0xfd0 +0) Failed 51/60 subtests t/55_ploth.............# Can't locate Term/Gnuplot.pm in @INC, ignorin +g plotting t/55_ploth.............1/34 Argument "Pi" isn't numeric in multiplicat +ion (*) at (eval 14) line 2. Argument "Pi" isn't numeric in multiplication (*) at (eval 15) line 1. Argument "Pi" isn't numeric in multiplication (*) at (eval 16) line 1. t/55_ploth............. Failed 6/34 subtests t/55_polyser...........1/51 Deep recursion on subroutine "Math::Pari:: +O" at C:\_ 32\comp\Math-Pari-2.010800\blib\lib/Math/Pari.pm line 1154. t/55_polyser........... Dubious, test returned 253 (wstat 64768, 0xfd0 +0) Failed 49/51 subtests t/55_program...........1/37 Argument "Pi" isn't numeric in division (/ +) at (eval 5) line 2. Unquoted string "getrand" may clash with future reserved word at (eval + 7) line 2. t/55_program........... Failed 9/37 subtests t/55_qfbsolve..........skipped: no tests found in `t/.././pari-2.3.4/s +rc/test/32/qfbsolve' t/55_rfrac.............skipped: no tests found in `t/.././pari-2.3.4/s +rc/test/32/rfrac' t/55_round4............skipped: no tests found in `t/.././pari-2.3.4/s +rc/test/32/round4' t/55_stark.............skipped: no tests found in `t/.././pari-2.3.4/s +rc/test/32/stark' t/55_sumiter...........1/21 Argument "Pi" isn't numeric in exponentiat +ion (**) at (eval 9) line 2. Argument "Pi" isn't numeric in exponentiation (**) at (eval 19) line 2 +. t/55_sumiter........... Failed 18/21 subtests t/55_trans.............1/61 Deep recursion on subroutine "Math::Pari:: +O" at C:\_ 32\comp\Math-Pari-2.010800\blib\lib/Math/Pari.pm line 1154. t/55_trans............. Dubious, test returned 253 (wstat 64768, 0xfd0 +0) Failed 61/61 subtests t/PlotRect.............# This build has no highlevel functions, ignori +ng the test t/PlotRect.............skipped: this build has no highlevel functions t/zz_leak..............ok . . Files=22, Tests=600, 45 wallclock secs ( 0.50 usr + 0.14 sys = 0.64 +CPU) Result: FAIL Failed 14/22 test programs. 329/600 subtests failed.
There were a number of segfaults scattered throughout the running of those tests, too.

Cheers,
Rob

In reply to Re^3: Math::Pari for Perl 5.10 on Win32 by syphilis
in thread Math::Pari for Perl 5.10 on Win32 by JStrom

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.