现在的位置: 首页 > 综合 > 正文

ActivePerl5.8.8 build 819编译CPAN模块时出错的解决方法

2013年03月29日 ⁄ 综合 ⁄ 共 389字 ⁄ 字号 评论关闭
从http://www.activestate.com/Products/ActivePerl/ 下了最新的版本,在编译CPAN的模块时出错。
perl makefile.pl
make
出现错误1. make: *** No rule to make target `D:/GNU/Perl/libConfig.pm', needed by `Makefile'.  Stop.
    打开makefile文件,搜索DIRFILESEP,将DIRFILESEP = ^/修改为DIRFILESEP = //
make
出现错误2.
Undefined subroutine &main::UpdateHTML_blib called at -e line 1.
    打开makefile文件,搜索
UpdateHTML_blib,将其修改为Pod2HTML(注意大小写),再次
make

make test
make install

这样模块就能安装好了

抱歉!评论已关闭.