in reply to Perl Debug Build
Weak references are not implemented ...
Normally, that problem is related to a version of Scalar::Util that hasn't been built with XS support. Scalar::Util can in principle be built as a pure Perl module with restricted functionality (e.g. no weaken routine), or as the fully functioning XS version. Storable's weak.t test loads Scalar::Util, which is where you're getting the error, because Scalar::Util realizes it doesn't have XS support and thus can't honor the import requests:
... require Scalar::Util; Scalar::Util->import(qw(weaken isweak)); # line 28 in weak.t if (grep { /weaken/ } @Scalar::Util::EXPORT_FAIL) { print("1..0 # Skip: No support for weaken in Scalar::Util\n"); exit 0; }
Now, the real question is, why do you have a non-XS Scalar::Util? A couple of possible reasons:
So... What version(s) of Perl do you have on that machine? Which version are you trying to build with debug support? What were the configure options you used (post output of perl -V)? Any unusual messages/errors during configuring/building? Which platform are you on?
PS. see also Weak references are not implemented and Test::Deep - weak references are not implemented
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl Debug Build
by almond (Initiate) on Apr 27, 2009 at 12:05 UTC | |
by almut (Canon) on Apr 27, 2009 at 18:47 UTC |