Xcross87 Posted August 5, 2009 Share Posted August 5, 2009 I'm trying to run LIDA (Linux Disassembler) at http://lida.sourceforge.net/ However, when I try to run the binary: ./lida it occurred error. no event type or button # or keysym at /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/Tk/Widget.pm line 1105. at ./lida.pl line 2458 I try to googling that error for solution but it seems to be not helpful. Anyone know how to fix this? Also, is there any linux disassembler package in Mandriva Repo? Thanks for your attention! [moved from Software by spinynorman] Link to comment Share on other sites More sharing options...
dexter11 Posted August 5, 2009 Share Posted August 5, 2009 Are you sure this project is still alive? The latest release is from December 2004: http://sourceforge.net/projects/lida/files/ Link to comment Share on other sites More sharing options...
Xcross87 Posted August 7, 2009 Author Share Posted August 7, 2009 Who cares about its outdate since it's quite done for use. Link to comment Share on other sites More sharing options...
Greg2 Posted August 7, 2009 Share Posted August 7, 2009 It's not a question of “who cares about its outdateâ€, as long as it still works 'on your system'. :) Because of it's older code, you are either going to have to patch your perl-Tk at the /perl5/vendor_perl/5.10.0/i386-linux-thread-multi/Tk/Widget.pm file to work with the lida.pl, or you're going to have to patch your lida.pl to work with the perl-Tk. Link to comment Share on other sites More sharing options...
scarecrow Posted August 7, 2009 Share Posted August 7, 2009 The real troublemaker is probably perl-tk. This bug seems related: https://bugzilla.redhat.com/show_bug.cgi?id=491536 Link to comment Share on other sites More sharing options...
Xcross87 Posted August 8, 2009 Author Share Posted August 8, 2009 Thanks! It seems like to be a Perl-Tk bug. Do you know how to fix it in Mandriva? Link to comment Share on other sites More sharing options...
Greg2 Posted August 8, 2009 Share Posted August 8, 2009 OK, I've got it working for you. Comment out lines 1104 and 1105 in the Widget.pm file. Like this #$mw->Tk::bind($class, '<MouseWheel>', # [ sub { $_[0]->yview('scroll',-($_[1]/120)*3,'units') }, Tk::Ev("D")]); If you're using it from within the lida-03.00.00 directory, run it with ./lida instead of ./lida.pl. Please note that this is a hack and not a proper patch, but it works. Link to comment Share on other sites More sharing options...
Xcross87 Posted August 10, 2009 Author Share Posted August 10, 2009 OK, I've got it working for you. Comment out lines 1104 and 1105 in the Widget.pm file. Like this #$mw->Tk::bind($class, '<MouseWheel>', # [ sub { $_[0]->yview('scroll',-($_[1]/120)*3,'units') }, Tk::Ev("D")]); If you're using it from within the lida-03.00.00 directory, run it with ./lida instead of ./lida.pl. Please note that this is a hack and not a proper patch, but it works. Thanks! This is exactly patching :) Since MouseWheel only works under Windows, it should be commented out under Linux. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now