hello,

i'm using strawberry-perl 5.8.8-alpha-2's version of cpan to install modules. the pure Perl modules install just fine (eg. HTML::Template), but the ones which contain XS parts fail:

#-------------- DBI --------------# dlltool --def DBI.def --output-exp dll.exp dlltool: _spawnvp dmake.EXE: Error code 129, while making 'blib\arch\auto\DBI\DBI.dll' C:\strawberry-perl\dmake\bin\dmake.EXE -- NOT OK #-------------- Template::Toolkit --------------# C:\strawberry-perl\perl\bin\perl.exe -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"Template::Stash::XS\", 'DLBASE' => 'XS', + 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' = > { }, 'DL_VARS' => []);" dlltool --def XS.def --output-exp dll.exp dlltool: _spawnvp dmake: Error code 129, while making '..\blib\arch\auto\Template\Stash +\XS\XS.dll' dmake.EXE: Error code 255, while making 'subdirs' C:\strawberry-perl\dmake\bin\dmake.EXE -- NOT OK

i've tried installing DBI, Template::Toolkit , Date::Calc but they all failed with error code 129 from dmake after trying to link the dynamic libraries (DLLs) with dlltool.

i also have Active Perl 5.8.8.819 (MSWin32-x86-267479) installed and the mentioned XS modules as PPM, so i know they must compile on Windows... somehow. i'm using Windows XP SP2.

this might not be the best place to post about my problem (i know about the RT bug queue for strawberry-perl), but i think i'm missing something obvious here and it might not be a bug in strawberry-perl. i'll surely appreciate any help or suggestion. thank you for your time.

:)))))

In reply to [Solved] Error compiling XS code with strawberry-perl 5.8.8-alpha-2 by asz

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.