0

I am trying to install a perl module on a machine which doesn't have internet access. I am trying with PPM in order to install the perl modules, and I have followed all steps which are mentioned in the following link over here.

But still I am unable to install a perl module,and it is not giving any errors.

Can anyone help me regarding this issue?

Thanks in advance .

Strawberry
  • 33,750
  • 13
  • 40
  • 57
Suresh Jaladi
  • 119
  • 2
  • 8
  • 1
    You said you dont have internet on that machine. Then try `minicpan`. [take a look here](http://p3rl.org/minicpan) –  Jul 17 '13 at 08:47
  • with the ppm files are not updating, but the version is updating. i am unable to figure out the issue. – Suresh Jaladi Jul 17 '13 at 08:59
  • @Paulchenkiller can you please tell me how to install minicpan. – Suresh Jaladi Jul 17 '13 at 09:02
  • So when you work on windows, thats a bit more tricky. The `make` is called `dmake` under windows. Take a look [here](http://code.activestate.com/ppm/dmake/) –  Jul 17 '13 at 09:15
  • ya for windows its dmake but to install dmake we need internet connection to install dmake module – Suresh Jaladi Jul 17 '13 at 09:23
  • You can set mirrors on activeperl as well. Just use the minicpan as mirror and install it then. –  Jul 17 '13 at 10:32

1 Answers1

0

Two(5) :) step solution:

  1. Install minicpan see the link in the Paulchenkiller's comment or here is about it.
  2. make your own local cpan mirror
  3. put the minicpan-mirror into usb hdd or usb stick
  4. install cpanm into your machine (or configure cpan for using the mirror)
  5. use the cpanm --mirror /path/to/minicpan --mirror-only command to install modules as asked in this question
Community
  • 1
  • 1
clt60
  • 62,119
  • 17
  • 107
  • 194
  • **A PPM comes along with Activestate perl,Make and install happens using already built in perl modules..so we felt creating local repository and installing modules would be the best solution. And with MiniCpan i need namke/gmake to be installed first to build MiniCPAN...isn't it? We are working on windows machine..where in getting namke is becoming difficult with out a license.** – Suresh Jaladi Jul 17 '13 at 09:10
  • 1
    @SureshJaladi huh - sorry, I knows nothing about Activestate perl nor about windows ;(. Maybe Strawberry perl on windows has all needed things to make an working perl installation. (off topic: do you think than **BOLD** comment is more helpful?) ;) – clt60 Jul 17 '13 at 09:15