http://www.perlmonks.org?node_id=885128


in reply to Re^2: @INC site/lib problem on Windows 7 and XP (ActiveState Perl)
in thread @INC site/lib problem on Windows 7 and XP (ActiveState Perl)

Correction, I forgot I also used the PPM GUI to install a second package, Win32::Symlink, but have been only using the Win32::Hardlink package as my testing rat..
  • Comment on Re^3: @INC site/lib problem on Windows 7 and XP (ActiveState Perl)

Replies are listed 'Best First'.
Re^4: @INC site/lib problem on Windows 7 and XP (ActiveState Perl)
by Marshall (Canon) on Feb 15, 2011 at 20:13 UTC
    I set the path to <drive-letter>:/activestate/perl/5.10/
    I suspect something went wrong in this GUI over-ride of the path. Active State "likes" to install into C:\Perl. I have seen this install into other directories. Use the GUI to navigate to the installation directory. I would create this non-standard c:|d:\activestate\perl\5.10 directory prior to running the install.

    Sorry that I cannot help further. It is possible to install Active State into a non-standard directory and I've seen it done. Maybe there is something a bit strange about Win7?? I think that is highly likely.

      Storing default win32 ActivePerl perl in a directory called 5.10 will break @INC, see How is the default @INC constructed?
      $ perl\bin\perl.exe -le "print for @INC" C:/tmp/ActivePerl-5.10.1.1006-MSWin32-x86-291086/ActivePerl-5.10.1.100 +6-MSWin32-x86-291086/perl/site/lib C:/tmp/ActivePerl-5.10.1.1006-MSWin32-x86-291086/ActivePerl-5.10.1.100 +6-MSWin32-x86-291086/perl/lib . $ rename perl 5.10 $ 5.10\bin\perl.exe -le "print for @INC" C:/tmp/ActivePerl-5.10.1.1006-MSWin32-x86-291086/ActivePerl-5.10.1.100 +6-MSWin32-x86-291086/5.10/lib .