Recently I tried to install Tk.pm on cygwin ( windows ) and I have encountered problems trying to install it via CPAN.
So I googled the web for anwsers and came upon a solution from another forum. I tried it myself and it works, so I thought that maybe other fellow monks strugle with the same and this node might help them. I am sorry if this is placed in the wrong category.
First of all here is the direct link to the anwser I found on google: link
The one that helped was the post on the bottom signed by H.Merijn so all credit goes to him, thanks.

Ok so we have the formal stuff done, now let's see what to do to get this Tk up and running.
Open your cygwin command line and type the following commands:
wget http://search.cpan.org/CPAN/authors/id/N/NI/NI-S/Tk-804.027.tar.g +z tar -zxvf Tk-804.027.tar.gz cd Tk-804.027 perl Makefile.PL x cd pTk ln -s tkUnixDefault.h tkWinDefault.h cd .. mv Makefile Makefile.old sed -e s/tkWinDefault.h// Makefile.old > Makefile export LDLOADLIBS=/usr/X11R6/lib/libX11-6.dll.a export PERL5LIB=`pwd`/blib/lib:`pwd`/blib/arch make find . -name \*.dll | xargs rebase -v -b 0x68000000 make test make install
Be sure to have X server up while you make the tests. There are moments in thoose tests that you might think it hanged, but be patient it will go on eventualy. When I tried it on my cygwin all tests passed without any problems.

Hope this node will help at least one person ;)

In reply to How do I install Tk.pm on Cygwin? by mulander

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.