in reply to @INC site/lib problem on Windows 7 and XP (ActiveState Perl)
I find your error report perplexing as I would have expected something like: "hey, it works on Machine A, but not Machine B". Do you mean that code doesn't work on either machine? You have two independent installations that have nothing to do with each other. Run the .msi and gui ppm on each machine separately - do not copy files between machines.
I am on XP pro and the .msi installer has been working great for many years. I don't have a Win 7 box, but can help with XP and so can many others. Start with XP. Get specific about what you did during the installation. Default would be C:\Perl and be installed for all users. What thing differently did you do? Get as specific as you can. And let's talk about why your XP installation doesn't work. Then completely different topic: "My Win 7 installation doesn't work".
In your case, you only have two packages so doing a manual GUI install on both machines separately is no big deal. But here's how to do it if there were 100 packages...use the command line ppm.
Type at a command prompt: "ppm help profile" and you will learn about "profile save" and "profile restore". To "clone" my installation on another computer, I run "ppm profile save myinstall", go to the other machine, install AS from the .msi then after that from command line run "ppm profile restore myinstall". That runs the ppm installer for each of my packages on the other machine. That is the right way to get the same packages on multiple machines.
The ppm installer adjusts things so that modules get put in the right directories. If you tried to copy Perl module files between machines, then I could see how you are in trouble! Don't do that.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: @INC site/lib problem on Windows 7 and XP (ActiveState Perl)
by Anonymous Monk on Jan 30, 2011 at 17:00 UTC | |
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 | |
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 |