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


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

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.

  • Comment on Re^4: @INC site/lib problem on Windows 7 and XP (ActiveState Perl)

Replies are listed 'Best First'.
Re^5: @INC site/lib problem on Windows 7 and XP (ActiveState Perl)
by Anonymous Monk on Feb 15, 2011 at 22:34 UTC
    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 .