Hello, all!

Afetr I compiled latest perl (perl@16925) for cygwin, I found out that Tk extension that is built for X11 have some problems loading Tk.dll.

I used 'perl Makefile.PL x' to prepare makefile to build Tk. Compiling goes okay, and even runs mostly okay, but when I try to 'perl Makefile.PL' for any other even perl-only Tk widget, I get following error messages:

d:\work\perlcompile\perl@16925mgnu\perl.exe: *** unable to remap d:\wo +rk\perlcompile\perl@16925mgnu\comp-ext\Tk800.024\blib\arch\auto\Tk\Tk +.dll to same address as parent -- 0x20500000 d:\perl-tests\perl@16925mgnu\bin\perl.exe: *** unable to remap d:\perl +-tests\perl@16925mgnu\lib\site_perl\5.8.0\cygwin-multi\auto\Tk\Tk.dll + to same address as parent -- 0x20500000 d:\perl-tests\perl@16925mgnu\bin\perl.exe: *** unable to remap d:\perl +-tests\perl@16925mgnu\lib\site_perl\5.8.0\cygwin-multi\auto\Tk\Tk.dll + to same address as parent -- 0x20500000
Strangely enough, just copying Tk perl extension (which fails to pass standard build process) into its normal place makes it work.

I've searched on yahoo.com for 'unable to remap' problem and found that this is mostly Cygwin's fault.

Does anyone have a solution to this problem? Have anyone seen similar things? May be there exists a small configuration option that cures a problem?

Courage, the Cowardly Dog.


In reply to Tk.dll problems on cygwin by Courage

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.