[Sikuli-driver] [Question #189310]: Environment Settings

2012-03-01 Thread Fritz Doetzkies
New question #189310 on Sikuli:
https://answers.launchpad.net/sikuli/+question/189310

Hello,
I'm using an older
Linux 2.6.25.20-0.7-default x86_64
openSUSE 11.0 (x86_64)
4.0.4 (KDE 4.0.4 = 20080505) release 15.4

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #189310]: Environment Settings

2012-03-01 Thread Fritz Doetzkies
Question #189310 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/189310

Status: Open = Solved

Fritz Doetzkies confirmed that the question is solved:
sorry, that wasn't finished... try it again...

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #189312]: Environment Settings

2012-03-01 Thread Fritz Doetzkies
New question #189312 on Sikuli:
https://answers.launchpad.net/sikuli/+question/189312

Hello,

I'm using an older Linux system: Linux 2.6.25.20-0.7-default x86_64 / openSUSE 
11.0 (x86_64) / 4.0.4 (KDE 4.0.4 = 20080505) release 15.4 and wants to try 
working with SIKULI.
There were many problems to install the required components (till compiling a 
cmake...) - but I think, I've solved them all:
- installing cmake
- installing jython
- building and install opencv
- install wmctrl (1.07)
- integrate PyDev into Eclipse (3.7)

But: Neighter the IDE nor the Eclipse integration works. I think, there may be 
something wrong. But I don't know, what. And I don't know, how to check it...

First I try to use the Sikuli-IDE:

fritz@jupiter:~/workspace/TestSikuli echo $SIKULI_HOME
/home/fritz/Software/sikuli/Sikuli-IDE/
fritz@jupiter:~/workspace/TestSikuli echo $PATH
/home/fritz/android/sdk/tools:/home/fritz/android/sdk/platform-tools:/home/fritz/Software/sikuli/Sikuli-IDE/:/opt/kde3/bin:/usr/bin:/home/fritz/android/sdk/tools:/home/fritz/android/sdk/platform-tools:/home/fritz/bin:/usr/local/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin
fritz@jupiter:~/workspace/TestSikuli sikuli-ide.sh
[info] locale: de_DE
fritz@jupiter:~/workspace/TestSikuli

Nothing happens. Sometimes I start it and it doesn't return until ^C...

There is a script (probably wrong :-) I've created by copiying some examples. 
If I try to use it, I get:

fritz@jupiter:~/workspace/TestSikuli sikuli-ide.sh -sr Test.sikuli
[info] locale: de_DE
Laufzeitfehler beim Ausführen von /home/fritz/workspace/TestSikuli/Test.sikuli
Traceback (most recent call last):
  File string, line 1, in module
  File /home/fritz/Software/Sikuli-X-1.0rc3 
(r905)-linux-x86_64/Sikuli-IDE/sikuli-script.jar/Lib/sikuli/__init__.py, line 
3, in module
  File /home/fritz/Software/Sikuli-X-1.0rc3 
(r905)-linux-x86_64/Sikuli-IDE/sikuli-script.jar/Lib/sikuli/Sikuli.py, line 
22, in module
java.lang.UnsatisfiedLinkError: /home/fritz/Software/Sikuli-X-1.0rc3 
(r905)-linux-x86_64/Sikuli-IDE/libs/libVisionProxy.so: libml.so.2.1: cannot 
open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
...
at org.sikuli.ide.SikuliIDE.runSikuli(SikuliIDE.java:856)
at org.sikuli.ide.SikuliIDE.main(SikuliIDE.java:944)

java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError: 
/home/fritz/Software/Sikuli-X-1.0rc3 
(r905)-linux-x86_64/Sikuli-IDE/libs/libVisionProxy.so: libml.so.2.1: cannot 
open shared object file: No such file or directory



Yes, I can read: There is a file or directory missing. And it seems it has to 
do with OpenCV. But the make/make install of OpenCV didn't report an error. So 
I think, the problem depends on environment settings.

Unfortunately the Sikuli documentation says only: Linux: you generally have to 
take care for the environment yourself. but it didn't say, which variables to 
set and which values are expected.

So I ask here for hints to make Sikuli working - stand-alone and with 
eclipse... Thanks in advance

F




-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #189312]: Environment Settings

2012-03-01 Thread Fritz Doetzkies
Question #189312 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/189312

Fritz Doetzkies posted a new comment:
again... :-(((

No. this didn't help. 
Your comment took me to the idea, that I should set the LD_LIBRARY_PATH to this 
value... but it doesn't work too. So I read the error message again and 
again... libml.so.2.1 is missing - and: JUPITER is right:

13:30:29 doetz@jupiter:~ find / -name 'libml*' 2/dev/null
/usr/java/jdk1.5.0_17/jre/lib/amd64/libmlib_image.so
/usr/java/jre1.6.0_25/lib/amd64/libmlib_image.so
/usr/java/jre1.6.0_11/lib/amd64/libmlib_image.so
/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/libmlib_image.so
/usr/lib64/jvm/java-1.6.0-sun-1.6.0/jre/lib/amd64/libmlib_image.so
/home/doetz/app/doetz/product/11.2.0/client_1/jdk/jre/lib/i386/libmlib_image.so
/home/doetz/app/doetz/product/11.2.0/client_1/jdk/jre/lib/i386/libmlib_image_g.so

So - at next I will search for that library using google... maybe I get
some information.

F

BTW.: noch ist es nix mit deutscher Sikuli-Benutzer

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #189312]: Environment Settings

2012-03-01 Thread Fritz Doetzkies
Question #189312 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/189312

Status: Solved = Open

Fritz Doetzkies is still having a problem:
Das stimmt nicht, mit dem Solved. Auf der Webseite stand, dass ich zum
Absenden meines Comments den Button oben drücken soll...

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #189312]: Environment Settings

2012-03-01 Thread Fritz Doetzkies
Question #189312 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/189312

Status: Answered = Solved

Fritz Doetzkies confirmed that the question is solved:
Thanks RaiMan, that solved my question.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #189312]: Environment Settings

2012-03-01 Thread Fritz Doetzkies
Question #189312 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/189312

Status: Answered = Solved

Fritz Doetzkies confirmed that the question is solved:
There were a third option: a parallel installation of opencv 2.1 - I've
found the sources at the opencv home page, build it and installed it
according to the instructions on
http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.1/.

It works.

After this I had the known libtiff problem. At first the solution from
the web:

sudo ln -s /usr/lib/libtiff.so.3 /usr/lib/libtiff.so.4

didn't work. After recognizing that my system searches /usr/lib64
(instead of /usr/lib) for that library the solution was quite easy. :-)

Now my first tests were running... Thanks for helping, Maybe there will
be more questions.

F

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp