PDA

View Full Version : Perl using Net::sftp



Gorf
February 25th, 2007, 05:40 AM
I'm trying to write some automation scripts with Perl using the Net::SFTP module. I have tried repeatedly to get it to install via CPAN but it always fails in the tests. The other annoyance is the (what seems like) endless dependancies that I must answer "y" to to install.

Can this module be installed via apt-get or am I stuck installing it via CPAN? And if so, can someone tell me what it is called in apt?

Cheers.

scoon
February 25th, 2007, 06:08 AM
Hey there,

Why not try and download the module and install it manually. Maybe that will give you better errors than CPAN does. All thought, I doubt that will make a difference, it is still worth a try.

-scoon

telebrett
June 19th, 2007, 01:16 AM
You have to install the libgmp3-dev package. Math::GMP was not being made because "gmp.h" did not exist. You may also have to clean out the .cpan build directory for Math::GMP