Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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

by Anonymous Monk
on Jan 30, 2011 at 17:04 UTC ( #885128=note: print w/replies, xml ) Need Help??

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- +6-MSWin32-x86-291086/perl/site/lib C:/tmp/ActivePerl- +6-MSWin32-x86-291086/perl/lib . $ rename perl 5.10 $ 5.10\bin\perl.exe -le "print for @INC" C:/tmp/ActivePerl- +6-MSWin32-x86-291086/5.10/lib .

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://885128]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2022-10-01 08:32 GMT
Find Nodes?
    Voting Booth?
    I prefer my indexes to start at:

    Results (126 votes). Check out past polls.