RE: Tk::TableMatrix chokes on Windows

<[email protected]> Thu, 1 Mar 2007 10:37:15 +0100
Newsgroups gmane.comp.lang.perl.tk
Message-ID <5A2C73EEAC2539458E55C514A51DCC5D031EA00F@mucse304.eu.infineon.com>
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?

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