我正在尝试运行perl脚本,我收到此错误:
Can't locate loadable object for module Data::UUID in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl .) at /var/www/cgi-bin/tmp.pl line 19
Compilation failed in require at /var/www/cgi-bin/tmp.pl line 19.
我手动安装了“Data :: UUID”(没有Makefile.pl),我不确定我做错了什么。
有人可以帮忙吗?
答案 0 :(得分:2)
Can't locate loadable object for module Data::UUID
这意味着它缺少一个目标文件。你应该使用Makefile.PL
来安装这个模块,它不是“纯粹的”perl,它有一个本机代码部分。