I've spent a great deal of time trying to install Net::SFTP on a couple Linux boxes and I think I've run up against a brick wall.

The primary problem seems to be with Math::Pari. When I attempt the install Math::Pari using CPAN, I get a fairly quiet failure. When I grab the tarball and attempt a command line install, I get this:

cd libPARI && make LIB="" LIBPERL_A="libperl.a" LINKTYPE="dynamic" PRE +FIX="" OPTIMIZE="-O2 -g -pipe -m32 -march=i386 -mtune=pentium4" PASTH +RU_DEFINE="" PASTHRU_INC="" make[1]: Entering directory `/root/Math-Pari-2.010704/libPARI' make[1]: *** No rule to make target `../../pari-2.3.0/src/kernel/ix86/ +level0.h', needed by `pariinl.h'. Stop. make[1]: Leaving directory `/root/Math-Pari-2.010704/libPARI' make: *** [libPARI/libPARI.a] Error 2
I have PARI/GP 2.3.0 installed and the the source exists. The Math::Pari Makefile appears to be pointing to the right directory for the pari source. It seems to be choking on:
make[1]: *** No rule to make target `../../pari-2.3.0/src/kernel/ix86/ +level0.h', needed by `pariinl.h'. Stop.
I've confirmed that level0.h does NOT exist in that directory.

The install has been attempted on a Ubuntu 5.10 install and a corporate machine that is running some newish version of Redhat.

Googling for the problem hasn't been very productive; any solution I've tried hasn't remedied the situation.


In reply to Net::SFTP Install Fails by SheridanCat

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.