cpan shell errors - ActivePerl 5.24.3

360 views Asked by At

I have just installed Activestate Perl 5.24.3 on Windows 7 PC.

I am able to instal with ppm. Installed also CPAN.

But - I fail to launch the CPAN shell on CMD (DOS command line).

Here is whan I get when trying to invoke the cpan shell in CMD:

C:\Users\orenm>cpan
Cwd object version 3.63_01 does not match bootstrap parameter 3.74 at C:/Perl64/lib/DynaLoader.pm line 211.
Compilation failed in require at C:/Perl64/site/lib/File/Spec/Win32.pm line 5.
BEGIN failed--compilation aborted at C:/Perl64/site/lib/File/Spec/Win32.pm line5.
Compilation failed in require at C:/Perl64/site/lib/File/Spec.pm line 21.
Compilation failed in require at C:/Perl64/site/lib/CPAN.pm line 10.
BEGIN failed--compilation aborted at C:/Perl64/site/lib/CPAN.pm line 10.
Compilation failed in require at C:/Perl64/site/lib/App/Cpan.pm line 288.
BEGIN failed--compilation aborted at C:/Perl64/site/lib/App/Cpan.pm line 288.
Compilation failed in require at C:\Perl64\site\bin/cpan line 7.
BEGIN failed--compilation aborted at C:\Perl64\site\bin/cpan line 7.

C:\Users\orenm>

This also happens when trying to use the C:\Perl64\bin\cpan.bat .

1

There are 1 answers

0
Oren Maurer On

Well - solved. :) As ikegami noted - I probably messed up the installation.

I have managed to solve this by doing the following:

  1. Choosing the "Remove" option of the ActivePerl installer,
  2. Move aside the C:\Perl64\ directory, I mean - rename it.
  3. I verified the I don't have Perl in the system path variables. and:
  4. Activated the ActivePerl installer exe ("ActivePerl-5.24.3.2404-MSWin32-x64-404865.exe"), choosing the typical installation.