|
Posted by Sisyphus on May 30, 2005, 6:11 pm
Please log in for more thread options
> Hello.
>
> I'm attempting to install the latest DBI on a Windows2003 Advanced Server
> version, using ActiveState perl 5.6.0
>
> I have the DBI.ppd file, as well as the DBI.tar.gz file, but the PPM
> installer can't seem to locate it. I've spent quite a few hours searching
> the net looking for more technical and in-depth info on how the PPM
package
> works, what directories it's searching and so on. Nothing.
>
> My perl distro is installed at D:\winforunix\Perl\.
>
> I have the following relevent files at these locations:
> D:\winforunix\Packages\DBI.ppd
> D:\winforunix\Packages\x86\DBI.tar.gz
>
> My first question is: Which directory should I be in when I execute the '
> ppm install DBI ' command? (I've been issuing the command from
> D:\winforunix\Packeges\ since that is where the ppd file is located.)
>
Yep - that should work with the ppd file you've provided below (assuming you
actually do have version 1.13 - otherwise I think you'll ultimately get a
version mismatch error of some sort).
> When installing, I get the following error:
>
> Failed to load PPM_DAT file.
> Error installing package 'DBI' : Could not locate a PPD file for package
DBI
>
> What is the "PPM_DAT" file in question? (Where should it be located, and
> what is the full filename?) And why couldn't it locate the DBI.ppd file
> when I'm in that current directory? Is there some path list the ppm
program
> is following and I don't have my path setup correctly?
>
The pod documentation in ppm.bat (and possibly also ppm2.bat and ppm3.bat)
contains some info re PPM_DAT.
See if there's something there that helps.
ie:
perldoc ppm
perldoc ppm2
perldoc ppm3
[snip]
>
> And here is the contents of my DBI.ppd file:
>
> <SOFTPKG NAME="DBI" VERSION="1,13,0,0">
> <TITLE>DBI</TITLE>
> <ABSTRACT>Database independent interface for Perl</ABSTRACT>
> <IMPLEMENTATION>
> <OS NAME>="MSWin32" />
> <ARCHITECURE NAME="MSWin32-x86-multi-thread" />
> <CODEBASE HREF="x86/DBI.tar.gz" />
> </IMPLEMENTATION>
> </SOFTPKG>
>
> I'm not sure why the version tag says "1,13,0,0" since I just downloaded
the
> 1.48 version of DBI.
Where did you get it from ? Does the machine in question have access to the
internet ? (If so, there's no need to download ppm packages - you just run
'ppm install DBI' while connected to the internet.)
You might also try installing by running ppm2 or ppm3 instead of ppm.
Can you install any ppm packages at all ?
Hth.
Cheers,
Rob
|