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

I have been running perl under Cygwin on Windows NT for quite some time and have never had any problems using "perl -MCPAN -e shell" to install modules. I just recently had my PC replaced and a brand new fresh install of Windows 2000. (Don't ask me why our IT dept is only now upgrading everyone to Win 2k and not just jumping straight to Win XP).

The problem I am having is that now that I have reinstalled the Cygwin software and the latest version of perl I can't install perl modules at all.

Here's what I get:

[HoltCX01@is-0084526]~/.perlmodules/Mail-POP3Client-2.14: $ perl Makefile.PL Unable to find a perl 5 ( by these names: perl.exe perl.exe perl5.exe perl5.8.0.exe miniperl.exe, in these dirs: /usr/local/bin /usr/bin /bin . /usr/bin /usr/X11R6/bin /c/WINNT/sy +stem32 /c/WINNT /c/WINNT/System32/Wbem /c/DMI/bin /c/WINNT/system32/nls /c/WINNT/system32/nls/English /c/ORANT/BIN /c/WINNT/system32/nls /c/WINNT/system32/nls/ENGLISH /c/veritas/netbackup/bin /c/veritas/netbackup/bin/admincmd /c/veritas/volmgr/bin Z . /home/HoltCX01 /home/HoltCX01/bin /usr/b +in ) 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 Mail::POP3Client [HoltCX01@is-0084526]~/.perlmodules/Mail-POP3Client-2.14: $ $ echo $PATH /usr/local/bin:/usr/bin:/bin:.:/usr/bin:/usr/X11R6/bin: /c/WINNT/system32:/c/WINNT:/c/WINNT/System32/Wbem: /c/DMI/bin:/c/WINNT/system32/nls:/c/WINNT/system32/nls/English: /c/ORANT/BIN:/c/WINNT/system32/nls:/c/WINNT/system32/nls/ENGLISH: /c/veritas/netbackup/bin:/c/veritas/netbackup/bin/admincmd: /c/veritas/volmgr/bin:Z:.:/home/HoltCX01:/home/HoltCX01/bin [HoltCX01@is-0084526]~/.perlmodules/Mail-POP3Client-2.14:

Any ideas?

Gorio

2003-06-03 edit ybiC: add line breaks to eliminate annoying lateral scrolling in browser window

Replies are listed 'Best First'.
Re: Can't install modules.
by naChoZ (Curate) on Jun 04, 2003 at 01:25 UTC
    Did you verify that perl and pod2man are indeed in your path?

    ~~
    naChoZ

      Perl is in /usr/local/bin/ which is most definatley in my path.

      I can't see any differences in how I have things setup now vs. the way I had it setup under Win NT before my upgrade (except the OS of course).

      Gorio
        Let's make 100% certain. I don't know a lot about cygwin, but give this a try.

        # which perl.exe

        This will tell you exactly where it is and which one it is using. This can also be helpful determining if you have multiple binaries of the same name which one is actually being executed.

        And also show us the results of a perl -v please.

        ~~
        naChoZ