Subject: | dies using X11::GUITest |
This trivial program:
use X11::GUITest;
dies:
% perl foo.pl
Not a CODE reference at /usr/lib/perl/5.14/DynaLoader.pm line 207.
END failed--call queue aborted at /home/ollisg/perl5/lib/perl5/i686-
linux-gnu-thread-multi-64int/X11/GUITest.pm line 207.
Compilation failed in require at foo.pl line 1.
BEGIN failed--compilation aborted at foo.pl line 1.
Here is line 207 in GUITest.pm (plus some extra lines for context):
sub M_BTN4() { 4; }
sub M_BTN5() { 5; }
-->sub M_LEFT() { M_BTN1; }
sub M_MIDDLE() { M_BTN2; }
sub M_RIGHT() { M_BTN3; }
sub M_UP() { M_BTN4; }
system is 64bit ubuntu, I installed libx11-dev, libxt-dev and libxtst-
dev to get X11::GUITest to install, and once I did that it passed the
test suite.