FAQ
I used the Task::Catalyst bundle to install Catalyst on my XP box. I got
a "weak references" error afterwards when I tried to create a site. I
seem to remember hearing about that at some point (I think).



Robert



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060209/b106889d/attachment.htm

Search Discussions

  • Carl Franks at Feb 9, 2006 at 4:44 pm
    Googling for "weak references" catalyst windows
    threw up 2 things you could try

    the first is update Scalar-Util, then check whether it's placed it in
    perl/lib or perl/site/lib
    if it's in the later, then you'll probably find the older version in
    perl/lib is actually the one being used - delete the relevant files
    from perl/lib so the ones in perl/site/lib get used instead

    someone else also suggested upgrading Tree-Simple

    Carl

    On 09/02/06, Hicks, Robert wrote:



    I used the Task::Catalyst bundle to install Catalyst on my XP box. I got a
    "weak references" error afterwards when I tried to create a site. I seem to
    remember hearing about that at some point (I think).



    Robert


    _______________________________________________
    Catalyst mailing list
    Catalyst@lists.rawmode.org
    http://lists.rawmode.org/mailman/listinfo/catalyst

  • Christopher H. Laco at Feb 9, 2006 at 4:46 pm

    Hicks, Robert wrote:
    I used the Task::Catalyst bundle to install Catalyst on my XP box. I got
    a "weak references" error afterwards when I tried to create a site. I
    seem to remember hearing about that at some point (I think).



    Robert
    There are two possibilities on this one. The one that bit me was a bogus
    version of Scalar::Utils in the AS dist. If you install an updated
    version from CPAN AND remove the one that came with the dist, that
    should fix it.

    -=Chris

    -------------- next part --------------
    A non-text attachment was scrubbed...
    Name: signature.asc
    Type: application/pgp-signature
    Size: 187 bytes
    Desc: OpenPGP digital signature
    Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20060209/a00bbabd/signature.pgp
  • Karl Moens at Feb 9, 2006 at 5:56 pm

    Robert wrote:

    I used the Task::Catalyst bundle to install Catalyst on my XP box. I got
    a "weak references" error afterwards when I tried to create a site. I
    seem to remember hearing about that at some point (I think).

    Robert
    I had the same problem some time ago. It seems IMHO that it is due to the
    newest version (1.18 ?) of Scalar::List::Utils being installed. If you
    install it through CPAN you get the non XS-version which does not support
    weak references and if you then install it through ppm, it still does not
    support weak references.

    To solve this I had to install ActiveState Perl again (in a different
    folder) and copy all Scalar::List::Utils related files from the fresh
    install over the existing Perl install (don't forget the files in the
    auto-folder, it is here that the XS-files are!). IIRC the latest AS Perl
    uses Scalar::List::Utils 1.17 and that seems to work.

    Karl
    aka CountZero on Perlmonks




    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    This message and any attachments are confidential. If you have received
    this message in error please delete it from your system. If you require any
    assistance please notify the sender. Thank You.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • Carl Franks at Feb 10, 2006 at 10:03 am
    If you have a compiler, Scalar-Utils's Makefile.PL also supports an
    "-xs" flag to force xs
    (it's compiler detection seems to be broken on win/gcc)

    perl Makefile.PL -xs
    make test
    make install

    On 09/02/06, Karl.Moens@marsh.com wrote:




    Robert wrote:
    I used the Task::Catalyst bundle to install Catalyst on my XP box. I got
    a "weak references" error afterwards when I tried to create a site. I
    seem to remember hearing about that at some point (I think).

    Robert
    I had the same problem some time ago. It seems IMHO that it is due to the
    newest version (1.18 ?) of Scalar::List::Utils being installed. If you
    install it through CPAN you get the non XS-version which does not support
    weak references and if you then install it through ppm, it still does not
    support weak references.

    To solve this I had to install ActiveState Perl again (in a different
    folder) and copy all Scalar::List::Utils related files from the fresh
    install over the existing Perl install (don't forget the files in the
    auto-folder, it is here that the XS-files are!). IIRC the latest AS Perl
    uses Scalar::List::Utils 1.17 and that seems to work.

    Karl
    aka CountZero on Perlmonks




    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    This message and any attachments are confidential. If you have received
    this message in error please delete it from your system. If you require any
    assistance please notify the sender. Thank You.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


    _______________________________________________
    Catalyst mailing list
    Catalyst@lists.rawmode.org
    http://lists.rawmode.org/mailman/listinfo/catalyst

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedFeb 9, '06 at 4:34p
activeFeb 10, '06 at 10:03a
posts5
users4
websitecatalystframework.org
irc#catalyst

People

Translate

site design / logo © 2022 Grokbase