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

Hi

I know there is lot of resources on this question. but please be patient to answer this problem.

I m trying to install the module from cpan.

since i dont have net connection in my pc (windows 2000). i cannot install via ppm. I would copy from the internet in a floppy and install it.

I downloaded the modules. unzipped it in my folder (say 'd:\modules' ). then there exists various folder like 'lib', 't'.

I copied the files from lib into c:\perl\lib.

Then i follow the three steps
> perl makefile.pl
> make
> make test

I do all these from the command prompt from d:\modules

My Questions are

1. can i do the 3 steps from the d:\moduels folder

2. a modules in turn refers to other modules and it goes on. What is the way to install all the modules related to a single module so that it works without complaining that some other module is missing.

  • Comment on problem with Installing modules from CPAN

Replies are listed 'Best First'.
Re: problem with Installing modules from CPAN
by davidj (Priest) on Mar 01, 2005 at 09:52 UTC
    can I do the 3 steps from the d:\modules folder

    yes, you can, from within the unzipped folder. But you need to do a 4th step: make install. Note: DO NOT copy files into your perl\lib directory directly. make install will take care of that for you.

    a module in turn refers to other...

    unfortunately, if you are manually installing packages, dependencies are not automatically resolved. You will have to resolve them yourself. That is the beauty of using ppm. It resolved dependencies for you.

    davidj
Re: problem with Installing modules from CPAN
by mkirank (Chaplain) on Mar 01, 2005 at 11:28 UTC
Re: problem with Installing modules from CPAN
by tphyahoo (Vicar) on Mar 01, 2005 at 10:41 UTC
    You may need to install nmake, since windows doesn't even come with make.

    http://perl-xml.sourceforge.net/faq/#win32_cpan