[英]'sed' is not recognized as an internal or external command (Windows 10)
[英]CPAN "." is not recognized as an internal or external command - Windows 10
嘗試在 Windows 10 機器上安裝 PAM 模塊。 目前運氣不佳。 不確定為什么會收到此錯誤。
cpan> install Authen::PAM
Running install for module 'Authen::PAM'
Checksum for C:\STRAWB~1\cpan\sources\authors\id\N\NI\NIKIP\Authen-PAM-0.16.tar.gz ok
Configuring N/NI/NIKIP/Authen-PAM-0.16.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
'.' is not recognized as an internal or external command,
operable program or batch file.
Error in configuring the Authen::PAM module.
Warning: No success on command[C:\Strawberry\perl\bin\perl.exe Makefile.PL]
NIKIP/Authen-PAM-0.16.tar.gz
C:\Strawberry\perl\bin\perl.exe Makefile.PL -- NOT OK
Stopping: 'install' failed for 'Authen::PAM'.
Failed during this command:
NIKIP/Authen-PAM-0.16.tar.gz : writemakefile NO 'C:\Strawberry\perl\bin\perl.exe Makefile.PL' returned status 512
該模塊不支持 Windows。
具體來說,該錯誤是由於模塊的安裝程序與 Windows 不兼容導致的。它試圖執行 Bourne shell 命令來調用 Bourne shell 腳本,而您的機器上沒有這樣的 shell。 這樣的shell就算能安裝也無濟於事。 該腳本僅適用於 unixy 系統。 [1]
perl
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.