Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
For all those upgrading their Perl to the latest, shiniest release, this might save you some searching. The CPAN release of Tk doesn't appear to work with 5.10.0 (if you installed 5.9.5 you'll have had the same problem). The result during make on my Debian box is as follows:

tkGlue.c: In function ‘Tcl_RegExpRange’: tkGlue.c:5360: error: ‘regexp’ has no member named ‘startp’ tkGlue.c:5360: error: ‘regexp’ has no member named ‘endp’ tkGlue.c:5362: error: ‘regexp’ has no member named ‘startp’ tkGlue.c:5363: error: ‘regexp’ has no member named ‘endp’ tkGlue.c: In function ‘Boot_Glue’: tkGlue.c:5493: warning: initialization from incompatible pointer type tkGlue.c:5501: warning: assignment from incompatible pointer type make: *** [tkGlue.o] Error 1

The appropriate bug report is here (although the title references Solaris), and the solution is to get the dev version of Tk from here:

This worked fine for me; although some of the tests failed, all my Tk code seems to run fine after installation :-)

Update: Hint for the non-svn initiated (assuming you have an svn client installed):

mkdir tk cd tk svn checkout ./ perl Makefile.PL make make test make install


"If there is such a phenomenon as absolute evil, it consists in treating another human being as a thing."
John Brunner, "The Shockwave Rider".

In reply to Perl 5.10.0 and Tk 804.027 by g0n

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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others cooling their heels in the Monastery: (4)
    As of 2018-05-23 05:24 GMT
    Find Nodes?
      Voting Booth?