Linux Redhat 64-bit: problems to get Sikuli to work --- had to rebuild libJXGrabKey.so

Asked by Scott

***** final solution

had to rebuild libJXGrabKey.so with newer GCC version

related question:
https://answers.launchpad.net/sikuli/+question/152727

----------------------------------------------------------------------------

I too have tried to run sikuli on Red Hat Enterprise Linux Server release 5

1) Downloaded and built wmctrl-1.07.tar.gz
2) Downloaded and built OpenCV-2.3.1a.tar.bz2
3) Defined: setenv SIKULI_HOME "/home/me/Desktop/sikuli"
4) setenv LD_LIBRARY_PATH /home/me/Desktop/sikuli/Sikuli-IDE/libs:${LD_LIBRARY_PATH}
5) setenv LD_LIBRARY_PATH /home/me/Desktop/OpenCV-2.3.1/bin/lib:${LD_LIBRARY_PATH}
6) java -version
java version "1.6.0_17"

Output from ./sikuli-ide.sh is:
[info] locale: en_US

then just back to prompt, with no more output...

What to try next?

Thanks,
Scott

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Scott
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

You wanted to say, you are coming from:
https://answers.launchpad.net/sikuli/+question/184433

Revision history for this message
RaiMan (raimund-hocke) said :
#2

On the line in Sikuli-IDE.sh that calls java set the parameter

-Dsikuli.console=false

You might get more error messages.
There might be a problem with JXGrabKey (Hot key activation).
What about Tesseract?

--- another possibility: check sikuli-script.jar only
-- make a folder test.sikuli
-- in that folder make a file test.py

# contents of test.py
img = capture("capture an image")
m = find(img)
popup(str(m))
hover(m)

and run from a terminal:
java -jar path-to-sikuli-script.jar path-to-test.sikuli

If this works as expected, you have checked the basic features of Sikuli.

Revision history for this message
Scott (sbolin42) said :
#3

Ah. Thanks for the reply.
This helped to discover libJXGrabKey.so had a problem with:
GLIBCXX_3.5.9 not found and
GLIBCXX 3.411 not found.

Looks like I'll need to re-build libJXGrabKey with a later gcc compiler.

Revision history for this message
Scott (sbolin42) said :
#4

I got it working by following this link:

https://answers.launchpad.net/sikuli/+question/152727