in reply to Re: @INC site/lib problem on Windows 7 and XP (ActiveState Perl)
in thread @INC site/lib problem on Windows 7 and XP (ActiveState Perl)
Thanks for the tip on the save/restore profile! I was under the impression that profiles only worked if you had a professional license or something from ActiveState.
Regarding my original problem..
On all machines, I downloaded the MSI installer and ran it to completion, using defaults for everything except the path. I set the path to <drive-letter>:/activestate/perl/5.10/ (where the only difference between machines is which drive I installed it on; C: on one computer, D: on the other.) Likewise, I used the PPM GUI on each to install the hardlink package (eventually, I have about 250 packages I want installed, but I wanted to install the base AS Perl and one package to test that everything was working before going full steam ahead.)
I do remember many lifetimes ago when I installed the ancient AS Perl 5.6, I had a similar problem on another machine (Originally Win2K but later upgraded to XP--do not remember if I installed AS Perl 5.6 before or after the upgrade), but was able to fix it by modifying some file in the lib/ tree to modify the @INC var (it was some config file which I cannot seem to locate a similar file in 5.10.) If I can do something similar again, that would work fine for my needs. But I do not know where 5.10 stores it's config info as I cannot seem to find it.
I've also worked around it for the time being by having all my scripts call C:/sys/bin/set-perl-env.bat (as all my machines have a C:/sys/bin folder for storing commonly used binaries and scripts) which sets up the Perl environment for the current machine before calling Perl.
(Although I am still curious to understand why I am having this issue!)
TIA
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: @INC site/lib problem on Windows 7 and XP (ActiveState Perl)
by Anonymous Monk on Jan 30, 2011 at 17:04 UTC | |
by Marshall (Canon) on Feb 15, 2011 at 20:13 UTC | |
by Anonymous Monk on Feb 15, 2011 at 22:34 UTC | |
|
Re^3: @INC site/lib problem on Windows 7 and XP (ActiveState Perl)
by Anonymous Monk on Feb 16, 2011 at 17:13 UTC | |
by BrowserUk (Patriarch) on Feb 16, 2011 at 17:33 UTC | |
by Anonymous Monk on Feb 19, 2011 at 02:34 UTC |