[Catalyst] Weak reference error

hkclark at gmail.com hkclark at gmail.com
Thu Mar 15 11:42:34 GMT 2007


On 3/15/07, Anatoly Bashmakov <anatoly.bashmakov at gmail.com> wrote:
>
> Hello, list!
>
> I have a problem running par catalyst distribution. Error was
>
> $ parl test1.par test1_server.pl
> Weak references are not implemented in the version of perl at Catalyst.pm=
 line
> 22
> BEGIN failed--compilation aborted at Catalyst.pm line 22.
> Compilation failed in require at Test1.pm line 16.
> BEGIN failed--compilation aborted at Test1.pm line 16.
> Compilation failed in require at ./script/test1_server.pl line 56
>
> Standalone script ./script/test1_server.pl works fine.
>
>     OS Fedora core 4. I was trying with perl-5.8.6 (in linux distro)  and
> with  perl-5.8.8 (built from source) .
>     After googling and searching list archives I found similar problems on
> Windows and with mod_perl
> but I could not find solution.
>     The problem probably appears because of Scalar::Util. There is really
> 2 Scalar::Util both in perl from
> distro and in perl from source. I tried with both(removing another) with
> no success. Then I tried to build
> Scalar-List-Utils-1.14 and 1.16-19. The same error.


Hi Anatoly,

Apparently Red Hat typeically builds Scalar::Util without the XS option.  I
was able to fix this on CentOS/RHEL with:

perl -MCPAN -e shell
force install Scalar::Util

Regards,
Kennedy

PS -- Your english looks great to me.  No need to apologize. :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20070315/a49c6=
dee/attachment.htm


More information about the Catalyst mailing list