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.