我試圖安裝試算表::WriteExcel透過Aactive Perl(5.28.1版本)的CPAN工具模組。
但是,當我執行命令“cpan install Spreadsheet::WriteExcel”時,它顯示一些錯誤並自動終止安裝。
日誌顯示在下面。
CPAN: Module::Build loaded ok (v0.4224)
Configuring J/JT/JTBRAUN/Parse-RecDescent-1.967015.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Parse::RecDescent
Writing MYMETA.yml and MYMETA.json
JTBRAUN/Parse-RecDescent-1.967015.tar.gz
C:\Perl64\bin\perl.exe Makefile.PL INSTALLDIRS=site -- OK
Running make for J/JT/JTBRAUN/Parse-RecDescent-1.967015.tar.gz
'dmake' is not recognized as an internal or external command,
operable program or batch file.
JTBRAUN/Parse-RecDescent-1.967015.tar.gz
dmake -- NOT OK
JMCNAMARA/Spreadsheet-WriteExcel-2.40.tar.gz
Has already been unwrapped into directory C:\Perl64\cpan\build\Spreadsheet-WriteExcel-2.40-1
JMCNAMARA/Spreadsheet-WriteExcel-2.40.tar.gz
Has already been prepared
Running make for J/JM/JMCNAMARA/Spreadsheet-WriteExcel-2.40.tar.gz
Warning: Prerequisite 'OLE::Storage_Lite => 0.19' for 'JMCNAMARA/Spreadsheet-WriteExcel-2.40.tar.gz' failed when processing 'JMCNAMARA/OLE-Storage_Lite-0.19.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'Parse::RecDescent => 0' for 'JMCNAMARA/Spreadsheet-WriteExcel-2.40.tar.gz' failed when processing 'JTBRAUN/Parse-RecDescent-1.967015.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
'dmake' is not recognized as an internal or external command,
operable program or batch file.
JMCNAMARA/Spreadsheet-WriteExcel-2.40.tar.gz
dmake -- NOT OK
根據日誌,我也嘗試安裝 dmake 模組,但仍然無法正常工作
有誰知道如何解決這個問題以便我可以正確安裝模組?