使用它时Cairo / Chart Clicker模块错误

时间:2013-07-19 05:02:23

标签: perl cairo

最近我安装了CairoChart::Clicker模块。我正在使用perl 5.14.4。当我在我的代码中使用该模块并编译时,我收到了裸字错误。不知道这里有什么问题。

错误:

Bareword "Cairo::HAS_PDF_SURFACE" not allowed while "strict subs" in use at /opt/perl_5.14.4/localperl/lib/site_perl/5.14.4/Graphics/Primitive/Driver/Cairo.pm line 92.
Bareword "Cairo::HAS_PS_SURFACE" not allowed while "strict subs" in use at /opt/perl_5.14.4/localperl/lib/site_perl/5.14.4/Graphics/Primitive/Driver/Cairo.pm line 99.
Bareword "Cairo::HAS_SVG_SURFACE" not allowed while "strict subs" in use at /opt/perl_5.14.4/localperl/lib/site_perl/5.14.4/Graphics/Primitive/Driver/Cairo.pm line 106.
BEGIN not safe after errors--compilation aborted at /opt/perl_5.14.4/localperl/lib/site_perl/5.14.4/Graphics/Primitive/Driver/Cairo.pm line 890.
Compilation failed in require at ./test.pl line 2.
BEGIN failed--compilation aborted at ./test.pl line 2.

0 个答案:

没有答案