Re: Installing Class::DBI in Activeperl
[prev]
[thread]
[next]
[Date index for 2004/05/04]
On Tue, May 04, 2004 at 10:15:36PM -0700, Maurice Height wrote:
> Hi
>
> When I attempted to install Class::DBI v0.96 into ActivePerl v5.8.3 build
> 809 on Windows 2000
> I got an error message at the end of each test which said:
>
> "Attempt to free unreferenced scalar: SV 0x2032b94 at
> D:/Perl/lib/Test/Builder.pm line 1329."
> This produced an error on each failure which said: "perl.exe has generated
> errors and will be closed by Windows".
> I am not sure whether the installation has succeeded - can anyone explain
> what is happening?
My uneducated guess would be that it is not directly a Class::DBI issue but some
other part of your kit. Have you installed the latest version
of DBD::SQLite? If so can you use DBD::SQLite in a stand alone script, e.g.
what happens when you run this :
#---
use strict;
use DBI;
eval {
my $dbh = DBI->connect("dbi:SQLite:dbname=is_sqlite_ok","","");
unless (defined $dbh and $dbh->ping) {
die;
}
};
if ($@) {
die "SQLite not working";
} else {
print "SQLite looks OK\n";
}
#----
Colm
|
|
Re: Installing Class::DBI in Activeperl
colm-cdbi 14:50 on 04 May 2004
|