Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
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 --output-exp 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/Math-FFT-1.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

The file C:\Perl\site\bin\dmake.exe DOES exist ,24kb, dated 10/3/2011.

What or where is dlltool, which it can't find?
How can I find what is wrong with these files or get proper versions?
Or, is there some other command to use other than cpan?
I have something called cpanplus, but the system doesn't recognize it and I can't find an executable,



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 (mingw-vista 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/Math-FFT-1.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\Math-FFT-1.28.tar.gz ok

CPAN: Archive::Tar loaded ok (v1.76)
Math-FFT-1.28/
Math-FFT-1.28/t/
Math-FFT-1.28/t/results.pl
Math-FFT-1.28/t/spctrl.dat
Math-FFT-1.28/t/fft.t
Math-FFT-1.28/t/stats.t
Math-FFT-1.28/t/apps.t
Math-FFT-1.28/FFT.xs
Math-FFT-1.28/FFT.pm
Math-FFT-1.28/Changes
Math-FFT-1.28/FFT.h
Math-FFT-1.28/MANIFEST
Math-FFT-1.28/typemap
Math-FFT-1.28/arrays.c
Math-FFT-1.28/META.yml
Math-FFT-1.28/fft4g.c
Math-FFT-1.28/arrays.h
Math-FFT-1.28/INSTALL
Math-FFT-1.28/Makefile.PL
Math-FFT-1.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/Math-FFT-1.28.tar.gz

Set up gcc environment - 3.4.5 (mingw-vista 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 -fno-strict-aliasing -mms-bitfields -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 -fno-strict-aliasing -mms-bitfields -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 -fno-strict-aliasing -mms-bitfields -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 (mingw-vista special r3)
dlltool --def FFT.def --output-exp 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/Math-FFT-1.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

In reply to cpan dies for bad dlltool & dmake.exe by hsfrey

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others lurking in the Monastery: (7)
    As of 2014-09-21 21:24 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      How do you remember the number of days in each month?











      Results (176 votes), past polls