I tested this problem either with Strawberry Perl and either with Activestate Perl. I want to install Crypt::DES and Crypt::Blowfish.

I'm using dmake and mingw in order to compile the C library and to install the module, but this error is introduced and the dll doesn't compile:

g++: Blowfish.obj: No such file or directory
g++: _blowfish.obj: No such file or directory
dmake: Error code 129, while making 'blib\arch\auto\Crypt\Blowfish\Blowfish.dll

This is the operation that I do:

C:\-.cpan\build\Crypt-Blowfish-2.10>perl makefile.pl Set up gcc environment - 3.4.5 (mingw special) Writing Makefile for Crypt::Blowfish C:\-.cpan\build\Crypt-Blowfish-2.10>dmake gcc -c -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCR +YPT -DNO_H ASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_S +YS -DUSE_P ERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -O2 + -DVERS ION=\"2.10\" -DXS_VERSION=\"2.10\" "-IC:\Perl\lib\CORE" Blowfish +.c gcc -c -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCR +YPT -DNO_H ASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_S +YS -DUSE_P ERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -O2 + -DVERS ION=\"2.10\" -DXS_VERSION=\"2.10\" "-IC:\Perl\lib\CORE" _blowfis +h.c Running Mkbootstrap for Crypt::Blowfish () C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 Blowfish.bs dlltool --def Blowfish.def --output-exp dll.exp g++ -o blib\arch\auto\Crypt\Blowfish\Blowfish.dll -Wl,--base-file -Wl, +dll.base - mdll -L"C:\Perl\lib\CORE" Blowfish.obj _blowfish.obj -Wl,--image-base, +0x24050000 C:\Perl\lib\CORE\perl58.lib -lkernel32 -luser32 -lgdi32 -lwinspool - +lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lm +pr -lwinmm -lversion -lodbc32 -lodbccp32 -lmsvcrt dll.exp g++: Blowfish.obj: No such file or directory g++: _blowfish.obj: No such file or directory dmake: Error code 129, while making 'blib\arch\auto\Crypt\Blowfish\Bl +owfish.dll

Thank you very much for all suggestions. M.


In reply to "dmake: Error code 12" with Crypt::Blowfish and Crypt::DES installation by mtar

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!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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, details, 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, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            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.