Your skill will accomplish what the force of many cannot 

PerlMonks 
cpan dies for bad dlltool & dmake.exeby hsfrey (Beadle) 
on Jan 17, 2013 at 19:27 UTC ( #1013866=perlquestion: print w/ replies, xml )  Need Help?? 
hsfrey has asked for the
wisdom of the Perl Monks concerning the following question:
I always have trouble with cpan!
This time I tried to install Math::FFT, and it died with this error message: dlltool def FFT.def outputexp dll.exp 'dlltool' is not recognized as an internal or external command, operable program or batch file. dmake.exe: Error code 129, while making 'blib\arch\auto\Math\FFT\FFT.dll' RKOBES/MathFFT1.28.tar.gz C:\Perl\site\bin\dmake.exe  NOT OK CPAN: YAML::XS loaded ok (v0.35) Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossibleThe file C:\Perl\site\bin\dmake.exe DOES exist ,24kb, dated 10/3/2011.
What or where is dlltool, which it can't find?
If anyone should be interested, here is the entire cpan screendump: C:\Perl\hsf\Options>cpan install Math::FFT Set up gcc environment  3.4.5 (mingwvista special r3) CPAN: Term::ANSIColor loaded ok (v3.00) CPAN: Storable loaded ok (v2.22) Going to read 'C:\Perl\cpan\Metadata' Database was generated on Thu, 17 Jan 2013 11:53:02 GMT Running install for module 'Math::FFT' Running make for R/RK/RKOBES/MathFFT1.28.tar.gz CPAN: Digest::SHA loaded ok (v5.62) CPAN: Compress::Zlib loaded ok (v2.033) Checksum for C:\Perl\cpan\sources\authors\id\R\RK\RKOBES\MathFFT1.28.tar.gz ok CPAN: Archive::Tar loaded ok (v1.76) MathFFT1.28/ MathFFT1.28/t/ MathFFT1.28/t/results.pl MathFFT1.28/t/spctrl.dat MathFFT1.28/t/fft.t MathFFT1.28/t/stats.t MathFFT1.28/t/apps.t MathFFT1.28/FFT.xs MathFFT1.28/FFT.pm MathFFT1.28/Changes MathFFT1.28/FFT.h MathFFT1.28/MANIFEST MathFFT1.28/typemap MathFFT1.28/arrays.c MathFFT1.28/META.yml MathFFT1.28/fft4g.c MathFFT1.28/arrays.h MathFFT1.28/INSTALL MathFFT1.28/Makefile.PL MathFFT1.28/README CPAN: File::Temp loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.4401) CPAN.pm: Going to build R/RK/RKOBES/MathFFT1.28.tar.gz Set up gcc environment  3.4.5 (mingwvista special r3) Checking if your kit is complete... Looks good Writing Makefile for Math::FFT cp FFT.pm blib\lib\Math\FFT.pm C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp typemap C:\Perl\lib\ExtUtils\ typemap typemap typemap FFT.xs > FFT.xsc && C:\Perl\bin\perl.exe MExtUtils::C ommand e "mv"  FFT.xsc FFT.c C:/Perl/site/bin/gcc.exe c DNDEBUG DWIN32 D_CONSOLE DNO_STRICT DHAVE_DES_FCRYPT DUSE_SITECUSTOMIZE DPERL_IMPLICIT_CONTEXT DPERL_IMPLICIT_SYS DUSE_ PERLIO D_USE_32BIT_TIME_T DPERL_MSVCRT_READFIX DHASATTRIBUTE fnostrictaliasing mmsbitfields O2 DVERSION=\"1.28\" DXS_VERSION=\"1.28\" " IC:\Perl\lib\CORE" FFT.c C:/Perl/site/bin/gcc.exe c DNDEBUG DWIN32 D_CONSOLE DNO_STRICT DHAVE_DES_FCRYPT DUSE_SITECUSTOMIZE DPERL_IMPLICIT_CONTEXT DPERL_IMPLICIT_SYS DUSE_ PERLIO D_USE_32BIT_TIME_T DPERL_MSVCRT_READFIX DHASATTRIBUTE fnostrictaliasing mmsbitfields O2 DVERSION=\"1.28\" DXS_VERSION=\"1.28\" " IC:\Perl\lib\CORE" fft4g.c C:/Perl/site/bin/gcc.exe c DNDEBUG DWIN32 D_CONSOLE DNO_STRICT DHAVE_DES_FCRYPT DUSE_SITECUSTOMIZE DPERL_IMPLICIT_CONTEXT DPERL_IMPLICIT_SYS DUSE_ PERLIO D_USE_32BIT_TIME_T DPERL_MSVCRT_READFIX DHASATTRIBUTE fnostrictaliasing mmsbitfields O2 DVERSION=\"1.28\" DXS_VERSION=\"1.28\" " IC:\Perl\lib\CORE" arrays.c Running Mkbootstrap for Math::FFT () C:\Perl\bin\perl.exe MExtUtils::Command e "chmod"  644 FFT.bs C:\Perl\bin\perl.exe MExtUtils::Mksymlists \ e "Mksymlists('NAME'=>\"Math::FFT\", 'DLBASE' => 'FFT', 'DL_FUNCS' => { } , 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" Set up gcc environment  3.4.5 (mingwvista special r3) dlltool def FFT.def outputexp dll.exp 'dlltool' is not recognized as an internal or external command, operable program or batch file. dmake.exe: Error code 129, while making 'blib\arch\auto\Math\FFT\FFT.dll' RKOBES/MathFFT1.28.tar.gz C:\Perl\site\bin\dmake.exe  NOT OK CPAN: YAML::XS loaded ok (v0.35) Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible
Back to
Seekers of Perl Wisdom

