Re: Networkless systems

[email protected] (Gabor Szabo)
Newsgroups perl.win32.vanilla
Message-ID <[email protected]>
On Thu, Feb 25, 2010 at 9:24 PM, Sergei Steshenko <[email protected]> wrote:
>
>
> --- On Thu, 2/25/10, Gabor Szabo <[email protected]> wrote:
>
>> From: Gabor Szabo <[email protected]>
>> Subject: Networkless systems
>> To: [email protected]
>> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.