简体   繁体   中英

ActiveState Perl CPAN dmake not working

I have ActiveState Perl 5.20 32bit on windows 7 64bit. I want to install mudules from CPAN but always ends this:

Checksum for C:\Perl\cpan\sources\authors\id\S\SH\SHAY\dmake-4.12.2.2.zip ok
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 packag
e, 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
dmake.exe:  Error: -- No target
  SHAY/dmake-4.12.2.2.zip
  C:\Perl\site\bin\dmake.exe -- NOT OK

Actually, I used the latest ActivePerl 5.28 under Win7, and got the same error: Running make for C/CO/CONKLIN/MIDI-Perl-0.83.tar.gz 'dmake' is not recognized as an internal or external command, operable program or batch file. CONKLIN/MIDI-Perl-0.83.tar.gz dmake -- NOT OK Running make for C/CO/CONKLIN/MIDI-Perl-0.83.tar.gz 'dmake' is not recognized as an internal or external command, operable program or batch file. CONKLIN/MIDI-Perl-0.83.tar.gz dmake -- NOT OK .

I had a look into C:\Perl64\cpan\build folder and I have found there both modules I tried to install with CPAN:

MIDI-Perl-0.83-0
MIDI-Perl-0.83-0.yml
XML-Simple-2.25-0
XML-Simple-2.25-0.yml

Inside those folders I've found a lib folder. So, I just copied the content of C:\Perl64\cpan\build\MIDI-Perl-0.83-0\lib into C:\Perl64\lib and so on, and both modules were recognized during execution of my scripts and worked well.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM