Jump to content

How to install LIDA for Mandriva [solved]


Recommended Posts

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

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

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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...