in reply to Re: MCPAN shell not working.
in thread MCPAN shell not working.

I am attempting to install those above modules manually, that seems to have worked. But I still get random errors. I am now trying to install Test-Simple 0.64 which is required for WWW:Mechanize and seems to be causing CPAN problems. I get an error telling me to make sure my pod2man program is in the PATH. Here is the output, and proof that pod2man is in my path...any ideas on how to tell?
Warning: I could not locate your pod2man program. Please make sure, your pod2man program is in your PATH before you execute 'make +' Writing Makefile for Test::Simple [root@localhost Test-Simple-0.64]# slocate pod2man /usr/bin/pod2man /usr/share/man/man1/pod2man.1.gz [root@localhost Test-Simple-0.64]# echo $PATH /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/kimball/bin

Replies are listed 'Best First'.
Re^3: MCPAN shell not working.
by Khen1950fx (Canon) on Sep 25, 2006 at 01:11 UTC
    Hi. What's happening here is Test::Simple is looking for pod2man. That's ok. You have pod2man on your system, but that's not the pod2man that we need. You need the pod2man Perl module. It's part of the podlators module.

    Here's where it gets tricky. For some reason which I can't figure out, the CPAN shell can't find podlators, so you'll need to download it manually from CPAN and install it yourself. After installation, pod2man becomes Pod::Man. Run "perldoc Pod::Man" to get more info.

      I have installed pod2man and Pod::Man without errors, yet I still receive the same error as I posted before.
        If you are still receiving the same error as posted before, there might still be a dependency problem. Podlators requires Pod::Simple. Was that installed when you installed podlators?

        There's a lot of information in the podlators readme. I've included a link here: podlators readme

        Update: You'll also get the same error if the enviromental variables for Test::Pod and Test::Pod::Coverage aren't set. Use "env" to check it.