On 3/15/07, Anatoly Bashmakov <[EMAIL PROTECTED]> 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. :-)
_______________________________________________
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/

Reply via email to