Re: Tk::TableMatrix chokes on Windows
Slaven Rezic <[email protected]> 04 Mar 2007 12:30:52 +0100
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Message-ID | <[email protected]> |
<[email protected]> writes: > Hmmm... maybe the empty TableMatrix is a bad thing? > I just checked with perl-5.8.8 on Linux, with the > most recent Tk from Slaven's repository and > TableMatrix from CPAN - and it works perfectly OK, > also with all the demos in the distribution. > But: I had to recompile TableMatrix with the updated > Tk - without the recompile, I saw errors like: > > Tk::TkeventVtab wrong size for TkeventVtab at > /opt/perl_5.8.8/lib/DynaLoader.pm line 253. > Segmentation fault (core dumped) > > So perhaps the problems result from TableMatrix not > being up to date with the underlying Tk? Normally every XS-compiled Tk module will refuse working if the Tk version originally compiled for differs from the currently available Tk version. Regards, Slaven > > HTH, > > Marek > > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Ch Lamprecht > Sent: Thursday, March 01, 2007 8:26 AM > To: Michael Erskine > Cc: [email protected] > Subject: Re: Tk::TableMatrix chokes on Windows > > Michael Erskine wrote: > > Hi all, > > I find that the latest Tk::TableMatrix (v1.23 installed with PPM) > fails to run > > on Windows (latest ActiveState) with even the most minimal case, e.g. > : - > > > > #!perl -w > > use strict; > > use Tk; > > use Tk::TableMatrix; > > my $mw = new MainWindow(); > > my $tab = $mw->TableMatrix()->pack; > > MainLoop(); > > ------------------ > > ...results in... > > > > > >>perl -w eg-tablematrix-minimal.pl > > > > Had to create Tk::XlibVtab unexpectedly at C:/Perl/lib/DynaLoader.pm > line 253. > > Use of uninitialized value in subroutine entry at > C:/Perl/lib/DynaLoader.pm > > line 253. > > 2ea86d4 is not a hash at C:/Perl/lib/Tk/Widget.pm line 190. > > > > abnormal program termination > > > >>Exit code: 3 > > Hi, > > AS TableMatrix is broken. There is a working ppm on > > http://www.bribes.org/perl/ppm/ > > Christoph > --++**==--++**==--++**==--++**==--++**==--++**==--++**== > ptk mailing list > [email protected] > https://mailman.stanford.edu/mailman/listinfo/ptk > --++**==--++**==--++**==--++**==--++**==--++**==--++**== > ptk mailing list > [email protected] > https://mailman.stanford.edu/mailman/listinfo/ptk > -- Slaven Rezic - slaven <at> rezic <dot> de tkruler - Perl/Tk program for measuring screen distances http://ptktools.sourceforge.net/#tkruler --++**==--++**==--++**==--++**==--++**==--++**==--++**== ptk mailing list [email protected] https://mailman.stanford.edu/mailman/listinfo/ptk