Re: Installing Class::DBI in Activeperl

[prev] [thread] [next] [Date index for 2004/05/04]

From: colm-cdbi
Subject: Re: Installing Class::DBI in Activeperl
Date: 14:50 on 04 May 2004
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

Installing Class::DBI in Activeperl
Maurice Height 05:15 on 05 May 2004

Re: Installing Class::DBI in Activeperl
colm-cdbi 14:50 on 04 May 2004

Re: Installing Class::DBI in Activeperl
Michael G Schwern 17:47 on 04 May 2004

Re: Installing Class::DBI in Activeperl
Bart Lateur 08:25 on 05 May 2004

Re: Installing Class::DBI in Activeperl
Maurice Height 15:29 on 05 May 2004

Re: Installing Class::DBI in Activeperl
Michael G Schwern 21:59 on 06 May 2004

Re: Installing Class::DBI in Activeperl
Maurice Height 20:51 on 05 May 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52