Hey,

I'm reaching the limits of my sanity. I can't get Math::Pari to compile on a Pentium II Linux (Mandrake 8) box. It seems to be breaking on some assembler instructions.

I get the following error when trying to compile the pari lib part:

cd libPARI && make LIB="" LIBPERL_A="libperl.a" LINKTYPE="dynamic" PRE +FIX="/usr" OPTIMIZE="-O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro +-march=i586 -ffast-math" make[1]: Entering directory `/root/.cpan/build/Math-Pari-2.001804/libP +ARI' cc -c -I.././pari-2.1.1/src/headers -I.././pari-2.1.1/src/graph -I. -f +no-strict-aliasing -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -m +arch=i586 -ffast-math -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -f +PIC -Derr=pari_err -D__HAS_NO_ASM__ -DDYNAMIC_PLOTTING -o mp.o .././p +ari-2.1.1/src/kernel/none/mp.c {standard input}: Assembler messages: {standard input}:6268: Error: suffix or operands invalid for `div' make[1]: *** [mp.o] Error 1 make[1]: Leaving directory `/root/.cpan/build/Math-Pari-2.001804/libPA +RI' make: *** [libPARI/libPARI.a] Error 2
Strangely enough I can get this module to compile on two other boxes. The module would not compile on one of those boxes for about a week and a half. I tried it after a few days of not thinking about the problem and it just worked.

These boxes are the same architecture and the compilers are in the gcc 2.96.* range.

Does anybody have any ideas or experience with getting Math::Pari to compile?

Thanks.


In reply to Math::Pari Compile Issues by DrZaius

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.