Gosh, I've been working 16 hour days for a week trying to get Links SQL to run under Windows XP for development purposes and I'm tearing out my hair. The latest problem: I can run the install.cgi script, but when I try to finish the setup I get the error message: Error: Could not connect to database. Reason: DBI module not installed. You must install the perl database module DBI from: http://www.perl.com/...odules/by-module/DBI
OK, looks like I'm missing the DBI module. It seems that the preferred install method is to use PPM. Running PPM looks like it ought to be simple - HA!. After reading all the advice on installing DBI I try to run PPM and get the error message "Failed to load PPM_DAT file. Can't use an undefined value as a SCALAR reference at C:\xampp\perl\site\lib\PPM.pm line 1649, <DATA> line 40." I have not touched the PPM_DATA file, so it should be the default installation.
Line 1649 reads
# None of the above, search the repositories.
unless ($PPDfile && $$PPDfile) {
foreach (keys %repositories) {
my $location = $repositories{$_}{'LOCATION'};
if ($location =~ /[^\/]$/) { $location .= "/"; }
$$PPDfile = $location . $package . ".ppd";
return %PPD if (%PPD = getPPDfile('package' => $$PPDfile,
'parsertype' => $parsertype, 'PPDfile' => \$$PPDfile));
undef $$PPDfile;
In other words, I can't even get PPM to launch, let alone install DBI. I'm running Apache 2.0.47, MySQL 4.0.14, Perl 5.8.0.
I'd really appreciate any suggestions at all, as I'm at my wits end with this.
Thanks
OK, looks like I'm missing the DBI module. It seems that the preferred install method is to use PPM. Running PPM looks like it ought to be simple - HA!. After reading all the advice on installing DBI I try to run PPM and get the error message "Failed to load PPM_DAT file. Can't use an undefined value as a SCALAR reference at C:\xampp\perl\site\lib\PPM.pm line 1649, <DATA> line 40." I have not touched the PPM_DATA file, so it should be the default installation.
Line 1649 reads
# None of the above, search the repositories.
unless ($PPDfile && $$PPDfile) {
foreach (keys %repositories) {
my $location = $repositories{$_}{'LOCATION'};
if ($location =~ /[^\/]$/) { $location .= "/"; }
$$PPDfile = $location . $package . ".ppd";
return %PPD if (%PPD = getPPDfile('package' => $$PPDfile,
'parsertype' => $parsertype, 'PPDfile' => \$$PPDfile));
undef $$PPDfile;
In other words, I can't even get PPM to launch, let alone install DBI. I'm running Apache 2.0.47, MySQL 4.0.14, Perl 5.8.0.
I'd really appreciate any suggestions at all, as I'm at my wits end with this.
Thanks