in reply to Re: Error using CPAN to install modules
in thread Error using CPAN to install modules

I am trying to install Log:::Dispatch module and it has lot of depebdencies which have to be installed first. Doing it manually will be quite a lengthy process and hence I was wondering if there was a more effective way of doing it.
  • Comment on Re^2: Error using CPAN to install modules

Replies are listed 'Best First'.
Re^3: Error using CPAN to install modules
by tinita (Parson) on Nov 19, 2010 at 15:55 UTC
    If you don't get the automatic way to work soon enough, there is a half automatic way. you have to download the tar.gz, unpack it, go into the directory and type
    cpan .
    so you can at least save the Makefile.PL/Build.PL stuff (but you still have to download all dependencies yourself and do the same steps for each).
Re^3: Error using CPAN to install modules
by roc (Sexton) on Nov 19, 2010 at 13:38 UTC

    i don't thing there is a better way to do... go through the readme file, download the supporting module...if there is any library file required then search for any RPM package for that lib.. from my experience i found that 'patient is much needed for beginners' while installing the modules..

Re^3: Error using CPAN to install modules
by Khen1950fx (Canon) on Nov 19, 2010 at 13:52 UTC
    I think that your configuration isn't right. There is no cpansearch.perl.org for connecting to CPAN. Normally, when you try to download and install using CPAN, search.cpan.org is called, aka 64.235.248.44.

    Now, if you are browsing CPAN and click "Source", then you'll get something like:

    http://cpansearch.perl.org/src/DROLSKY/Log-Dispatch-2.27/lib/Log/Dispatch.pm.

    Does that help?