Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi,
Trying to install DBI on Windows 2000 running Activestate Perl build 617. If I try to install with PPM, I get the following error:
PPM> install DBI Install package 'DBI?' (y/N): y Retrieving package 'DBI'... not well-formed at line 1, column 17, byte 17 at C:/Perl/site/lib/SOAP +/Parser.pm line 73
So I want to install it with nmake, but can't run makefile.pl:
C:\DBI-1.18>makefil.pl Can't locate lib/DBI/DBD.pm in @INC (@INC contains: lib CL/Perl/lib C: +/Perl/site/lib) at C:\DBI-1.18\Makefile.PL line 224. BEGIN failed--compilation aborted at C:\DBI-1.18\Makefile.PL line 226.
Any ideas? I have looked and DBD.pm is located in C:/Perl/site/lib/DBI/, so it looks fine to me. If I can get the install to work, should I try to get rid of the old DBI first?

Replies are listed 'Best First'.
Re: Why can't I install DBI?
by voyager (Friar) on Jun 20, 2001 at 05:40 UTC
    Is it just DBI, or can you get anything via PPM? I notice you got a (XML) Parser error.

    From the ActiveState PPM Page:

    The PPM config file, ppm.xml, got corrupted and PPM no longer works properly. If this occurs, a new minimal PPM config file can be generated using the 'genconfig' command at a Command Prompt: C:\> ppm genconfig > ppm.xml The new ppm.xml should be copied to the directory Perl/site/lib. PPM should now work properly, but all information about previously installed packages will be lost.