in reply to PPM installs modules in the wrong place

IIRC "C:\p4view\Apps\ActivePerl\MSI\data\ActivePerl\Perl\site\lib" is the actual directory in which ActiveState build their perl distros.
When you install one of their builds, that location should be overwritten with the actual location in which you're installing perl. Apparently, wrt ppm at least, that didn't happen.

I think you probably did something you shouldn't have done when installing this build of ActivePerl - eg, you unzipped the package directly to C:\Perl, instead of unzipping to a temporary location then installing into C:\Perl by running the Installer.bat.

Which package did you download (msi or zip) and how did you install it ?

Cheers,
Rob
  • Comment on Re: PPM installs modules in the wrong place

Replies are listed 'Best First'.
Re^2: PPM installs modules in the wrong place
by hangon (Deacon) on Jun 06, 2008 at 01:56 UTC

    It's been a while (around 2003) since installation, so I don't remember much other than it wasn't fun. The msi installer didn't work, so I had to abandon 5.8 and install 5.6 from zip and still had trouble. IIRC the installer would die before finishing.

    I looked at installer.bat (clever trick, embedding Perl in a batch file) to see what it does, which led me to config.pm where I found a couple dozen references to C:\p4view.... So I took a chance and s/ C:\p4view... / C:\Perl / seems to have fixed the problem. Thanks for pointing me in the right direction.

      So I took a chance and s/ C:\p4view... / C:\Perl / seems to have fixed the problem

      Yep - that should be about right. In the same directory as Config.pm you'll find a file called config_heavy.pl. You should check it as well, making the same alterations to it (if applicable).

      Cheers,
      Rob