ActiveState Perl CPAN dmake not working

3.2k Views Asked by At

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
1

There are 1 best solutions below

0
On

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.

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 libfolder. 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.