Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Install Perl Modules, No Internet

by dburke (Novice)
on Nov 17, 2012 at 17:49 UTC ( #1004329=perlquestion: print w/ replies, xml ) Need Help??
dburke has asked for the wisdom of the Perl Monks concerning the following question:

So, first off, I'm on Windows 2003 Server. I've been searching for a while now for some way to install perl modules with no internet. People suggested making a mini cpan, but that seems like a lot of work for two modules. I have the source for these modules and I tried to install them in cpan using `cpan .` but it still tries to connect to the internet. Is making a minicpan the only way? How do I make a minicpan mirror with just the modules I want and their dependencies? Thank you for you time.

Comment on Install Perl Modules, No Internet
Re: Install Perl Modules, No Internet
by tobyink (Abbot) on Nov 17, 2012 at 18:05 UTC

    You should be able to untar the tarballs, cd to the right directory and then:

    perl Makefile.PL make make test sudo make install
    perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
      Thank you for the help, but I forgot to mention that I'm on Windows.
        Then you will have to find some version of make for Windows and install that on your machine: make for Windows.

        I used to have a link to download nmake.exe from the Microsoft site but the link is dead now.

        CountZero

        A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

        My blog: Imperial Deltronics
Re: Install Perl Modules, No Internet
by moritz (Cardinal) on Nov 17, 2012 at 21:43 UTC
    I have the source for these modules and I tried to install them in cpan using `cpan .` but it still tries to connect to the internet.

    Maybe there are missing dependencies, and cpan tries to install them? If that's the case, you can avoid it by installing the dependencies yourself first.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1004329]
Approved by bulk88
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2014-10-22 08:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (114 votes), past polls