Perl扩展安装-无法运行nmake [英] Perl extension installation - unable to run nmake

查看:122
本文介绍了Perl扩展安装-无法运行nmake的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在XAMPP上使用cpan安装模块.我正在运行Windows7.

I am trying to install a module using cpan on XAMPP. I am running Windows 7.

在给出此提示后立即:

CPAN.pm:将构建J/JE/JESSE/HTTP-Server-Simple-0.43.tar.gz

CPAN.pm: Going to build J/JE/JESSE/HTTP-Server-Simple-0.43.tar.gz

它提示您找不到所需的nmake可执行文件,并尝试获取它.

It gives the prompt that "The required nmake executable file is not found, and attempts to fetch it.

此后,会出现一个弹出窗口,指出程序"\ ?? \ c:\ xampp \ perl \ bin \ Nmake15.exe由于与64位版本的Windows不兼容而无法运行.

After this, a popup window appears stating the the program "\??\c:\xampp\perl\bin\Nmake15.exe can not run due to incompatibility with 64 bit versions of windows.

我下载了VC ++,并将该安装中的make.exe复制到了我的perl/bin中,以替换原始的make.exe.这仍然没有用.知道如何使安装与CPAN一起使用吗?

I downloaded VC++ and copied the make.exe from that install into my perl/bin to replace the original make.exe. This still didn't work. Any idea how I can get installations to work with CPAN?

推荐答案

XAMPP带有一个残缺的Perl,这主要是由于"Apache Friends"无能为力的白痴.我建议另外安装草莓Perl ,然后从您的Perl程序中使用该安装.草莓中的模块安装通常是直接进行的.

XAMPP comes with a crippled Perl mostly due to the "Apache Friends" being clueless morons. I suggest installing Strawberry Perl additionally, then using that installation from your Perl programs. Module installation in Strawberry goes the usual straight way.

这篇关于Perl扩展安装-无法运行nmake的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆