nimdokk has asked for the wisdom of the Perl Monks concerning the following question:

Hopefully this is a simple question with a simple answer.

I am attempting to install Net::SFTP using PPM. Since I am behind a firewall, I figured that I would download all the files to my workstation and do the install off my harddrive. I downloaded everything off http://www.soulcage.net/ppds5.8 (for my version of Perl) and fired up ppm. Added the directory I downloaded everything to the repository list and pulled the description of Net-SFTP like it should. I then did an "install Net-SFTP" and came back with the following error message: "Error: Package 'Digest-MD5' not found. Please 'search' for it first."

I could understand this if Digest-MD5 was not installed or something, but its already installed. What might I be doing wrong? I have been able to install this before, but that was from home. Any thoughts? I need to be able to install off the harddrive, for a variety of reasons, one being that when I take this into our test environment, I won't have access to the internet.

Thanks in advance for any thoughts, suggestions.

Update: I finally found the answer. Download the dependency PPMs from ActiveState and run the install. Odd behaviour in my opinion because the dependencies were already in 'lib' and 'site/lib' from when I initially installed Perl.

Replies are listed 'Best First'.
Re: Problem installing PPM
by arden (Curate) on Jun 02, 2004 at 13:29 UTC
    Which version of Perl are you using? Since you're trying to use ppm I'll assume that it's one of the ActiveState releases (5.6 or 5.8). I checked ActiveState's page for the 8xx builds and wouldn't you know it, Net::SFTP isn't on the list. However, when I checked the Winnipeg site, it is listed there. You can download the .ppd file to your harddrive and set up a repository as directed in the ActivePerl FAQ2. You can also do an install from CPAN, but from what you've described, I think the ppm model would work better for your needs.

    - - arden.

      Thanks for the note. I actually downloaded Net::SFTP (and dependent modules) from Soulcage. But what I found very odd is that it complained about module dependencies for modules that were already installed. However, I have it up and running, now I just have to figure out how to make it work.