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


In reply to Re: Perl Debug Build by almut
in thread Perl Debug Build by almond

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.