Thu Jul 15 20:49:45 2010: Request 59430 was acted upon.
Transaction: Ticket created by coolspee...@gmail.com
       Queue: PAR
     Subject: fail in mac OSX 10.3.9 perl5 (revision 5.0 version 8 subversion 1 
 RC3)
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: coolspee...@gmail.com
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=59430 >


compile of code with Tk fails with error using Tkpp or pp

Can't locate loadable object for module Tk::Event in
@INC (@INC contains: CODE(0x1999ecc) CODE(0x19811b0) CODE(0x1982830)) at
/Library/Perl/5.8.1/PAR/Heavy.pm line 103
Compilation failed in require at Tk.pm line 13.
BEGIN failed--compilation aborted at Tk.pm line 13.
Compilation failed in require at script/tkpp line 99.
BEGIN failed--compilation aborted at script/tkpp line 99.
Undefined subroutine &Tk::Event::CleanupGlue called at Tk/Event.pm line 3.
END failed--call queue aborted.

code used:

#!/usr/bin/perl
use Tk;
# Main Window
my $mw = new MainWindow;
my $label = $mw -> Label(-text=>"Hello World") -> pack();
my $button = $mw -> Button(-text => "Quit",
        -command => sub { exit })
    -> pack();
MainLoop;

-- 
/\/\ |_

Reply via email to