编译出错,好像少装了什么东西啊。请指教

编译出错,好像少装了什么东西啊。请指教

Weak references are not implemented in the version of perl at /usr/local/lib/perl5/site_perl/5.8.8/mach/Class/MOP.pm line 12
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.8/mach/Class/MOP.pm line 12.
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.8/Moose/Exporter.pm line 7.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.8/Moose/Exporter.pm line 7.
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.8/Moose.pm line 16.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.8/Moose.pm line 16.
Compilation failed in require at test.pl line 2.
BEGIN failed--compilation aborted at test.pl line 2.

应该如何做才能编译通过呢?谢谢指教
Weak references are not implemented in the version of perl

maybe you can use 5.10?


QUOTE:
原帖由 cobrawgl 于 2008-12-16 15:20 发表
Weak references are not implemented in the version of perl

maybe you can use 5.10?

Perl 5.8.8 Scalar::Util 的 weaken/isweak 都可以工作了。
一楼的大叔~~~请问你装的系统是什么版本?马克思。维特 目前支持的版本有:Ubuntu 8.04、Fedora Core 8。Ubuntu 8.10
请问是编译toolchain的时候出错了吗?是不是TARGET—CPU写错了?
一楼的大叔~~~请问你装的系统是什么版本?马克思。维特 目前支持的版本有:Ubuntu 8.04、Fedora Core 8。Ubuntu 8.10
请问是编译toolchain的时候出错了吗?是不是TARGET—CPU写错了?
我用的FREEBSD71

是不支持么?
try re-install Scalar::Util