perl makefile.pl出错啦!!!!!!!

supergirl_sunny 2006-12-06 11:29:29
perl makefile.pl时,出现了以下错误信息:
unable to find a perl 5(by these names: d:\program files\perl\bin\perl.exe perl.exe perl5.exe perl 5.8.8.exe miniperl.exe, in these dirs: .D:\program files\perl\bin.......)Writing Makefile for WordNet::QueryData

怎么解决?????
请各位指教!!!!!
...全文
550 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
supergirl_sunny 2006-12-06
  • 打赏
  • 举报
回复
这是MakeFile.pl的内容

use ExtUtils::MakeMaker;

# It is bad that the default WordNet directories are in two places,
# here and at the beginning of QueryData.pm ($wnHomeUnix and
# $wnHomePC). These need to be synchronized. I need to import those
# variables from QueryData.pm.

die "*** Please set the WNHOME environment variable to the location of your\n*** WordNet installation. QueryData.pm will not work otherwise.\n*** Alternatively, you can make the installation in the default\n*** location, C:\\Program Files\\WordNet\\2.0 on Windows, or /usr/local/WordNet-2.0 on unix.\n" unless exists $ENV{WNHOME} or -d "C:\\Program Files\\WordNet\\2.0" or -d "/usr/local/WordNet-2.0";

WriteMakefile(
'dist' => { 'COMPRESS' => 'gzip', 'SUFFIX' => '.gz', },
'NAME' => 'WordNet::QueryData',
'VERSION_FROM' => 'QueryData.pm',
);
supergirl_sunny 2006-12-06
  • 打赏
  • 举报
回复
我编译其它pl文件的时候都是正常的
supergirl_sunny 2006-12-06
  • 打赏
  • 举报
回复
装在d:\program files\perl里
kunder 2006-12-06
  • 打赏
  • 举报
回复
你的perl解释器装在哪里?

37,719

社区成员

发帖
与我相关
我的任务
社区描述
JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
社区管理员
  • 脚本语言(Perl/Python)社区
  • IT.BOB
加入社区
  • 近7日
  • 近30日
  • 至今

试试用AI创作助手写篇文章吧