Closed leginonbot closed 3 months ago
Original Redmine Comment Author Name: Anchi Cheng (@anchi2c) Original Date: 2013-08-21T21:57:37Z
committed as r17832. This is not tested against the current Leginon version.
Original Redmine Comment Author Name: Anchi Cheng (@anchi2c) Original Date: 2013-08-21T22:30:40Z
I tried to install it on my CetOS 6 machine but was having error when compiling X11::GUITest. I will not investigate further. If anyone figures this out please help us with documentation.
Here is what I did so far
yum install perl
setenv PERL5LIB /usr/lib64/perl5
#after donwloading X11:GUITest and cd to that directory
perl Makefile.PL
make
The output
cp GUITest.pm blib/lib/X11/GUITest.pm
/usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/perl5/ExtUtils/typemap -typemap typemap GUITest.xs > GUITest.xsc && mv GUITest.xsc GUITest.c
gcc -c -I/usr/X11R6/include -I/usr/X/include -Wall -O2 -DVERSION=\"0.25\" -DXS_VERSION=\"0.25\" -fPIC "-I/usr/lib64/perl5/CORE" -DNDEBUG -DX11_GUITEST_ALT_L_FALLBACK_META_L GUITest.c
GUITest.xs:40:27: error: X11/Intrinsic.h: No such file or directory
GUITest.xs:41:28: error: X11/StringDefs.h: No such file or directory
GUITest.xs:43:34: error: X11/extensions/XTest.h: No such file or directory
GUITest.xs: In function ‘SetupXDisplay’:
GUITest.xs:87: warning: implicit declaration of function ‘XTestQueryExtension’
GUITest.xs: In function ‘PressKeyImp’:
GUITest.xs:179: warning: implicit declaration of function ‘XTestFakeKeyEvent’
GUITest.xs: In function ‘XS_X11__GUITest_InitGUITest’:
GUITest.xs:657: warning: implicit declaration of function ‘XTestGrabControl’
GUITest.xs: In function ‘XS_X11__GUITest_MoveMouseAbs’:
GUITest.xs:816: warning: implicit declaration of function ‘XTestFakeMotionEvent’
GUITest.xs: In function ‘XS_X11__GUITest_PressMouseButton’:
GUITest.xs:875: warning: implicit declaration of function ‘XTestFakeButtonEvent’
GUITest.xs: In function ‘XS_X11__GUITest_IsWindowCursor’:
GUITest.xs:1033: warning: implicit declaration of function ‘XTestCompareCursorWithWindow’
make: *** [GUITest.o] Error 1
Author Name: Anchi Cheng (@anchi2c) Original Redmine Issue: 2486, https://emg.nysbc.org/redmine/issues/2486 Original Date: 2013-08-21
legpause is a collection of Perl scripts that virtually click the pause button in Leginon gui when it is time for Norhof pump to refill liquid nitrogen. This is written by William Nicholson.
REFERENCE
WV Nicholson, H White and J Trinick (2010) Journal of Structural Biology 172, 395-399. "An approach to automated acquisition of cryoEM images from lacey carbon grids."