I guess your stated hatred for the platform you're working on prevented you from showing us what exact problems you're facing while installing Net::LibIDN. Most likely this is a problem of not having the prerequisites, like (likely) the libidn external library. But it's hard to know without knowing more specifics.

After Update:

Set up gcc environment - 3.4.5 (mingw-vista special r3) ... 'cc' is not recognized as an internal or external command, operable program or batch file. __test1.c:1:18: idna.h: No such file or directory

This seems to be a configuration problem with the module, because it seems to be hardcoded to use cc, a program which is not installed on your machine. Most likely you can fix that by replacing every instance of cc by $Config{cc}, which for your installation likely should be gcc or gcc.exe.

But that seems not to be all, because something somewhere seems to find your gcc, which then complains about idna.h not being found. So maybe you don't have either the environment variables for your C compiler set up to also include the paths of the headers and library files ($ENV{INCLUDE}, $ENV{LIB}), or you don't have these.

As Net::LibIDN is under the Artistic License, it's unlikely that it includes the libidn libraries.


In reply to Re: Net::LibIDN in Windows, is it possible? by Corion
in thread Net::LibIDN in Windows, is it possible? by wilsond

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.