[CDBI] CDBI >3.0.1 now /requires/ Clone.pm?
edaly at nextwavemedia.com
Thu Nov 17 17:22:39 GMT 2005
Here's another solution for the archives: just download
Scalar::Util from CPAN ("install Scalar::Util" will /not/
work, as it's the same version), untar, and build as normal.
Be sure to "make test" to confirm "weaken" works, and
install. If you run up2date, make sure you add "perl*" to
pkgSkipList in /etc/sysconfig/rhn/up2date or it's likely
the next RedHat update will break Scalar::Util.
Of course, the elephant in the room is /why/ RedHat disabled
weak references, but since I couldn't find anything on RHN,
I'm going to risk it.
----- Original Message -----
From: "William Ross" <will at spanner.org>
To: "Eamon Daly" <edaly at nextwavemedia.com>
Cc: <classdbi at svr02.digitalcraftsmen.net>
Sent: Wednesday, November 16, 2005 12:10 PM
Subject: Re: [CDBI] CDBI >3.0.1 now /requires/ Clone.pm?
> On 16 Nov 2005, at 17:35, Eamon Daly wrote:
>> Please tell me I'm doing something wrong. I'm trying to
>> upgrade CDBI from 3.0.1 (CPAN) to 3.0.12 (tarball), but it
>> seems to have Clone as a prerequisite. I'm using the stock
>> RedHat 4 perl build which doesn't have weak references
>> implemented. I ignored the "perl Makefile.PL" warning, but
>> "make test" blew up entirely. Am I SOL?
> Looks that way. You could override _extend_meta so that it doesn't
> use Clone::clone, but you would still have to edit Class::DBI and the
> installation would still be messy. But then it is anyway, at the moment.
> A short-term solution would be to provide your own Clone.pm and use
> it to call one of the alternatives if Clone.pm isn't available.
> Or perhaps TB can be persuaded to use Clone::Any, which does exactly
More information about the ClassDBI