Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Perl Monk, Perl Meditation
 
PerlMonks  

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:

https://svn.perl.org/modules/Tk/trunk

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 https://svn.perl.org/modules/Tk/trunk/ ./ 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

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!
  • 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
  • Outside of code tags, you may need to use entities for some characters:
            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?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others imbibing at the Monastery: (14)
    As of 2014-04-23 20:17 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      April first is:







      Results (554 votes), past polls