如何在Perl中安装dmake?

时间:2019-07-10 14:08:06

标签: perl dmake

有人可以告诉我如何使用Perl下载dmake吗?

我已经尝试过CPAN,但这就是我得到的:

cpan> install dmake
Database was generated on Wed, 10 Jul 2019 10:13:05 GMT
Running install for module 'dmake'
'" "' is not recognized as an internal or external command,
operable program or batch file.
Checksum for C:\STRAWB~1\cpan\sources\authors\id\S\SH\SHAY\dmake-4.12.2.2.zip ok
Scanning cache C:\STRAWB~1\cpan\build for sizes
............................................................................DONE
Package contains both files[ChangeLog COPYING dmake.exe META.yml NEWS PATCH.TXT README.TXT] and directories[man readme startup]; not recognized as a perl package, giving up
Configuring S/SH/SHAY/dmake-4.12.2.2.zip with Makefile.PL
Running make for S/SH/SHAY/dmake-4.12.2.2.zip
gmake: *** No targets specified and no makefile found.  Stop.
  SHAY/dmake-4.12.2.2.zip
  C:\STRAWB~1\c\bin\gmake.exe -- NOT OK
Stopping: 'install' failed for 'dmake'.
Failed during this command:
 SHAY/dmake-4.12.2.2.zip                      : writemakefile NO -- Package contains both files[ChangeLog COPYING dmake.exe META.yml NEWS PATCH.TXT README.TXT] and directories[man readme startup]; not recognized as a perl package, giving up

我也尝试过ppm install dmake,但是我知道了:

Installing package 'dmake'...
Error installing package 'dmake': Could not locate a PPD file for package dmake

1 个答案:

答案 0 :(得分:3)

因为是XY问题,所以没有回答问题,而是为您提供所需的信息。

为Strawberry编译的最新mod_perl2是against Perl 5.12,即long out of support。使用任何其他版本的Perl均行不通。您应该ask ApTest为当前的Strawberry更新和重新编译,并发布新的setup_spmp帮助程序。他们依靠的是一门死掉的技术(mod_perl2),因此他们应该适当地支持所需的依赖关系,或者将其应用程序移动到现代堆栈中。