[Dbix-class] Weird build/test failures on CentOS 3, DBIx::Class .06001
Gavin Carr
gavin at openfusion.com.au
Tue Apr 18 05:07:54 CEST 2006
On Mon, Apr 17, 2006 at 02:41:35PM +0100, Matt S Trout wrote:
> Gavin Carr wrote:
> > On Thu, Apr 13, 2006 at 01:04:33PM +1000, Gavin Carr wrote:
> >> I'm trying to install DBIx::Class 0.06001 on two CentOS3 (RHEL3) boxes and getting
> >> some pretty weird test failures. 'perl Makefile.PL' and 'make' both look fine, and
> >> then 'make test' fails as follows:
> >
> > No one got any ideas on this? Anyone out there who has successfully
> > built on CentOS3/RHEL3, or even perl 5.8.0 in general?
>
> perl -Ilib -e 'use DBIx::Class::ResultSource::Table; print "Yay\n" if
> DBIx::Class::ResultSource::Table->can("new");'
>
> might be a start. We really don't have enough information so far to give you a
> hint yet ...
Thanks Matt - that helped:
calix$ perl -Ilib -e 'use DBIx::Class::ResultSource::Table; print "Yay\n" if DBIx::Class::ResultSource::Table->can("new");'
Weak references are not implemented in the version of perl at lib/DBIx/Class/ResultSet.pm line 11
It turns out that various RedHat Perls omit weak reference support, apparently
by omitting the XS version of Scalar::Util, as discussed in the following
threads:
http://qs321.pair.com/~monkads/?node_id=481322
http://qs321.pair.com/~monkads/?node_id=460411
I tried upgrading to the latest Scalar::Util, but that also barfs with my perl,
so I think I'm just going to recompile a new perl myself.
Cheers,
Gavin
More information about the Dbix-class
mailing list