Skip Menu |

This queue is for tickets about the Apache-DB CPAN distribution.

Report information
The Basics
Id: 42863
Status: new
Priority: 0/
Queue: Apache-DB

People
Owner: Nobody in particular
Requestors: kev [...] brantaero.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.14
Fixed in: (no value)



Subject: won't work under win32/mod_perl2/perl5.10
I can't seem to get this to work under win32, at least not with DBD::Pg. I get: [Thu Jan 22 14:00:25 2009] [error] Can't use an undefined value as an ARRAY reference at C:/Perl5.10/site/lib/DBD/Pg.pm line 818.\nBEGIN failed--compilation aborted at E:\\dev\\perlsitelib/Planecore.pm line 481.\nCompilation failed in require at E:/dev/walkthrough.pl line 4.\nBEGIN failed--compilation aborted at E:/dev/walkthrough.pl line 4.\n Use of uninitialized value $line in scalar chomp at C:/Perl5.10/site/lib/Apache/SmallProf.pm line 196. Use of uninitialized value $line in printf at C:/Perl5.10/site/lib/Apache/SmallProf.pm line 203. ...and then tonnes of repetitions of those last two warnings, with one of these: The code for E:/dev/walkthrough.pl is not in the symbol table. at C:/Perl5.10/site/lib/Apache/SmallProf.pm line 209. ...near the end of the repetitions, and at the very end: can't open C:/Program Files/Apache Software Foundation/Apache2.2/logs/smallprof/C:/Program Files/Apache Software Foundation/Apache2.2/logs/smallprof/walkthrough-.\.prof Invalid argument at C:/Perl5.10/site/lib/Apache/SmallProf.pm line 191. ...and then Apache restarts itself. I modified SmallProf to regex any :: into -, and take care of other no-nos for win32 filenames. That and starting the server with -X, which I'm not sure I can (or how to, anyway) do if I run it as a service, and still, I cannot get it past this error: [Thu Jan 22 16:01:36 2009] [error] Can't use an undefined value as an ARRAY reference at C:/Perl5.10/site/lib/DBD/Pg.pm line 818. ... [from walkthrough.pl, etc.] ...which I'm assuming is the cause of a bunch of lines identical to this one: The code for E:/dev/walkthrough.pl is not in the symbol table. at C:/Perl5.10/site/lib/Apache/SmallProf.pm line 216. ...whenever I try to load walkthrough.pl.