Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Net::SFTP

Status
Not open for further replies.

unixworld

Technical User
Jan 22, 2002
9
US
Has anyone installed NET::SFTP on AIX 5.3? I get an error stating that it can't locate Math::pari..
 
Depending on the complexity of your task, it might be simpler to build a batch file and fire up the sftp executable with the "-b" argument.

Or better yet, use IPC::Open3 to open it as a coprocess and drive it from your Perl script directly.

- Rod


IBM Certified Advanced Technical Expert pSeries and AIX 5L
CompTIA Linux+
CompTIA Security+

A Simple Code for Posting on the Web
 
I just installed it on a solaris server and you need net::ssh::perl (and all its pre-reqs), one of which is math::pari and net::sftp. I found it easier to install alot of the pre-req by downloading them and doign a perl Makefile.PL, make, make install. Math Pari wouldn't work no matter what so I downloaded pari-2.3.2, installed it, then ran the perl Makefile.PL, pointing it to the pari installation.

perl Makefile.PL paridir=/home/user/admin/net-sftp/pari-2.3.2

Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top