AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
#Operatingsystems
#Servers
 View Only
  • 1.  5.

    Posted 08/26/09 02:23 PM

    Originally posted by: SystemAdmin


    We recently migrated from Sun Solaris to AIX and we're trying to get Perl Tk to work. We installed Tk under AIX but one of the test programs we're using to validate the install has us stumped. This is a program that uses Tk::Ballon. When the program is invoked, the GUI Window comes up no problem but when we mouse over the GUI window, it fails with an "Illegal Instruction(coredump) message". This problem has us stumped. The program follows:


    file balloon.pl
    use Tk;
    use Tk::Balloon;
    use strict;
    use warnings;
    my $mw = MainWindow->new;
    $mw->title('Balloon help');
    my $status = $mw->Label(-width => 25,
    -height => 10,
    -relief => 'sunken',
    );
    my $balloon = $mw->Balloon(-statusbar => $status);
    my $exit = $mw->Button(-text => 'Exit',
    -command => );
    $balloon->attach($exit,
    -balloonmsg => 'Press here to exit',
    -statusmsg => "The mouse is over\n the exit button",
    );
    $exit->pack;
    $status->pack;
    MainLoop;


    Can you try this program in your environment and see if it works for you?

    Any help will be much appreciated.

    Regards,
    Phil
    install of Tk attached
    #AIX-Forum