On Jan 8, 2009, at 9:58 , Zarabozo, Francisco (GE, Corporate) wrote: > I'm having a problem with PPM in Active Perl 5.010 build 1004. > > I had my Perl installation in a non standard folder for Win32 (d: > \usr). > Today, I wanted to make a certain test with a new fresh installation > of > Perl, so I downloaded the installer and installed it in the default > installation folder (C:\Perl), being careful about NOT selecting the > options > "Add Perl to Path" and "Associate pl files with Perl", since I > already had > set those settings in my system manually and according to my own > needs with > my previous still existent Perl installation. > > So, I saw what I wanted to see in the new fresh installation and > then I > uninstalled it from Control Panel / Add & Remove Programs. After > uninstalling it, the folder C:\Perl was still in the hard drive with a > couple of folders, so I deleted it. > > After all that, I discovered that my custom .pl association in the > system > was removed. Isn't that just wrong? I mean, I didn't let the > installer make > any changes to the pl extension or Perl path, so, why it decides to > remove > what it wasn't made by itself??
That certainly seems wrong to me. I hope Jan can fill in some more information about what could be happening here. > However, even though I think that's a horrible installer bug, that was > "easy" to solve. The main problem I'm having now is that my original > PPM > (which by the way, is the same version of Perl) is installing new perl > modules on the path "C:\Perl\site\lib", which is absolutely wrong. > If I > remove that folder, ppm will create it again when installing any new > module. > If I look at the preferences in the gui-ppm it shows 4 areas: D:\usr > \lib, > D:\usr\site\lib, C:\Perl\lib and C:\Perl\site\lib. > > I've been trying to find files or settings related to PPM in Windows > registry, the Documents and Settings folder, the Windows and System32 > folders and the Config.pm files in my perl installation, but I just > cannot > find how to make PPM forget about "C:\Perl". > > Anyway, I don't think those settings are inside the Perl > installation folder > (which it really should!) because I even reverted my Perl folder to > its > original state from my SVN repository, and the problem is still there. > > Can anybody please help me with this? Does anyone know where is PPM > getting > these settings from? ppm initialize install areas from perl's @INC variable when it starts up. Compare: % ppm area list % perl -le "print for @INC" % perl -V:sitelib What output do these commands give you? A possible way that @INC could still be set to include C:\Perl\site \lib is via the PERL5LIB envirionment variable. Regards, Gisle _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
