in reply to Bundling the Module Net::SFTP

Forgive me. I am really a newbie. I tried to follow Yes, even you can use CPAN .

But I am getting this message.
$ perl Makefile.PL PREFIX=/tmp/testme LIB=/tmp/testme Checking if your kit is complete... Looks good Writing Makefile for Net::SFTP Unable to open MakeMaker.tmp: Permission denied at /usr/lib/perl5/5.8. +0/ExtUtils/MakeMaker.pm line 997.
Is the command that I issued correct?

Replies are listed 'Best First'.
Re^2: Bundling the Module Net::SFTP
by Corion (Patriarch) on Sep 09, 2010 at 18:26 UTC

    Maybe you don't have permission to write to /tmp/testme. Also, I think you're supposed to use different directories for LIB and PREFIX. Maybe consider taking a look at local::lib, which wraps all this in a convenient package.