Re: [CDBI] CDBI >3.0.1 now /requires/ Clone.pm?

[prev] [thread] [next] [Date index for 2005/11/17]

From: Eamon Daly
Subject: Re: [CDBI] CDBI >3.0.1 now /requires/ Clone.pm?
Date: 17:22 on 17 Nov 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.

____________________________________________________________
Eamon Daly



----- Original Message ----- 
From: "William Ross" <will@xxxxxxx.xxx>
To: "Eamon Daly" <edaly@xxxxxxxxxxxxx.xxx>
Cc: <classdbi@xxxxx.xxxxxxxxxxxxxxxx.xxx>
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  
> that.
> 
>   http://search.cpan.org/~evo/Clone-Any/
> 
> best,
> 
> will
>

_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

[CDBI] CDBI >3.0.1 now /requires/ Clone.pm?
Eamon Daly 17:35 on 16 Nov 2005

Re: [CDBI] CDBI >3.0.1 now /requires/ Clone.pm?
William Ross 18:10 on 16 Nov 2005

Re: [CDBI] CDBI >3.0.1 now /requires/ Clone.pm?
Eamon Daly 17:22 on 17 Nov 2005

Re: [CDBI] CDBI >3.0.1 now /requires/ Clone.pm?
Matt S Trout 18:16 on 16 Nov 2005

Generated at 08:22 on 28 Nov 2005 by mariachi v0.52