On Thu, Feb 25, 2010 at 9:24 PM, Sergei Steshenko <sergst...@yahoo.com> wrote: > > > --- On Thu, 2/25/10, Gabor Szabo <szab...@gmail.com> wrote: > >> From: Gabor Szabo <szab...@gmail.com> >> Subject: Networkless systems >> To: win32-vanilla@perl.org >> Date: Thursday, February 25, 2010, 8:44 AM >> My client is using Strawberry Perl on >> a machine that does not have >> direct connection to the Internet. They had to install 2 >> additional >> modules from CPAN. I told them to copy the tar.gz files to >> the target >> machine and then run >> >> pip Module-Name-1.00.tar.gz >> >> Unfortunately pip immediately wanted to connect to the >> Internet - >> apparently downloading the index files of CPAN. >> I solved that by telling them to untar the files and then >> do the >> manual installations but I wonder if I had other, simpler >> option? >> >> It would be nice if I could easily install additional >> modules without >> network access. >> >> regards >> Gabor >> > > Standard Perl way: > > perl Makefile.PL > make > make test > make install > > does not imply network access. I've never tried this method under Windows, > but something tells me it should work. >
Sure that's what I told my client (though it is dmake in the case of Strawberry Perl) and it worked as expected. Even pip would have worked on the local files if it did not try to fetch the index files from CPAN first. Gabor