Where did ppm put the modules?

Posted by ron7 on 2010-08-24 01:56
Forums: PPM | OS: Windows XP Pro

I just used ppm 3.2 to install Tk and Image::Resize for Perl 5.10.1 on XP Pro SP3. I've done this before on other systems with no problems, but this time, I have a problem I can't get a handle on.

Both installs ran normally, but perl still reports it can't find the packages in the @INC locations:

T:\>perl tagedit.pl
Can't locate Tk.pm in @INC (@INC contains: E:/perl/site/lib E:/perl/lib .) at tagedit.pl line 22.
BEGIN failed--compilation aborted at tagedit.pl line 22.

'ppm list' insists the two are installed in "site", but the "site\lib" dir contains only a customize.pl script.

'ppm verify Tk' says 708 files verified.

Where are they!!

ppm area suggests the packages may not have been installed (see below and sorry formatting is not great)

? name     ? pkgs ? lib                                                                 ?
? (user)   ?  n/a ? E:/perl/site/lib                                                    ?
? (user_2) ?  n/a ? E:/perl/lib                                                         ?
? site*    ?    2 ? C:/TEMP/perl---------please-run-the-install-script--------/site/lib ?
? perl     ?    0 ? C:/TEMP/perl---------please-run-the-install-script--------/lib      ?

Anyone have any ideas?

ron7 | Wed, 2010-08-25 15:42

I'll answer my own question and confess my error. As I was nervous about trashing my configured 5.8 install by using the MSI installer, I figured I could just use the unpacked 5.10 zip file and absolute paths. I neglected to run the "install.bat" process--so all sorts of things, including ppm, did not get configured for the actual 5.10 location.

In retrospect, dumb, dumb, dumb. After running the install script, everything works as expected (and I've deleted 5.8). I think the Tk etc installs from the previous attempt got no further than the TEMP dir, even tough some database someplace got updated to say they were installed. Does not answer the question of just what "ppm verify" verified, but life is too short to pursue any further.