Sort of success.

I finally got a build/test/install to work by using the portable code

$ perl Makefile.PL machine=port
Obviously this is not ideal. If I follow the manual instructions then I get (note this is different from the initial problem as that used pari 2.2)
First I need to edit the code that FTP's pari libs as I can't use exte +rnal ftp. All I did was point at localhost and put the archive in a +known place. $ perl Makefile.PL ... gets the code (2.1.7) and patches it. id's my machine as sparcv9 so sets build to sparcv8-micro ... $ make ... (compiling gen1.c) ./pariinl.h: In function `gmul': ./pariinl.h:887: error: asm-specifier for variable `hiremainder' confl +icts with asm clobber list ...
Now if I try to config and build libpari separately.
$ make gp ... (compiling mp.c) ../src/kernel/none/mp.c: In function `addrr': ../src/kernel/none/mp.c:598: error: asm-specifier for variable `overfl +ow' conflicts with asm clobber list ../src/kernel/none/mp.c:634: confused by earlier errors, bailing out ...
I get the same errors if I manually get pari, unpack it to a sibling of the Math::Pari build area, Configure libpari then try to make Math::Pari.

In reply to Re^4: Installing Net::SSH::Perl - problems with Math::Pari by tweetiepooh
in thread Installing Net::SSH::Perl - problems with Math::Pari by tweetiepooh

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.