Opensuse 12.2 compiling from source

Asked by Volosatyi

I'm trying to compile from source
all necessary dependencies installed

1. make a "build" directory in sikuli-script/
  mkdir sikuli-script/build

2. generate makefiles with CMake
  cd sikuli-script/build
  cmake ..

Tesseract-OCR Data Path: /usr/share/tessdata
-- Found Java: /usr/lib64/jvm/java/bin/java (found suitable version "1.6.0.35", required is "1.6")
-- The CXX compiler identification is GNU 4.7.1
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
Tesseract-OCR Data Path: /usr/share/tessdata
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.25")
-- checking for module 'opencv'
-- found opencv, version 2.4.2
-- Found JNI: /usr/lib64/jvm/java/jre/lib/amd64/libjawt.so
-- Found SWIG: /usr/bin/swig (found version "2.0.7")
-- checking for module 'Tesseract'
-- package 'Tesseract' not found
-- Found Tesseract
NATIVE_LIBS: VisionProxy;VDictProxy
-- Configuring done
-- Generating done
-- Build files have been written to: /src/sikuli/sikuli-script/build

3. build sikuli-script
  make

[ 5%] Swig source
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `cd "/src/sikuli/sikuli-script/build/src/main/native" && /usr/bin/cmake -E make_directory /src/sikuli/sikuli-script/build/org/sikuli/script/natives'
make[2]: *** [src/main/native/visionJAVA_wrap.cxx] Error 1
make[1]: *** [src/main/native/CMakeFiles/VisionProxy.dir/all] Error 2
make: *** [all] Error 2

what am I doing wrong?

Question information

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

I do not think, that you are doing something wrong, but something went wrong.

Any chance, to check, what it is complaining there?

Where the message
/bin/sh: -c: line 0: syntax error near unexpected token `('
comes from?

Revision history for this message
Volosatyi (morgway-gmail) said :
#2

Unfortunately I have no idea where to look ...
I'm not a programmer, I'm a user :)

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

Ok, I thought, because you are building software from source - which I think is usually beyond the scope of "users".

Since I cannot reproduce your problem, I cannot help you. Sorry.

Revision history for this message
Volosatyi (morgway-gmail) said :
#4

users are different :)
I have enough knowledge to try to compile from source, but I do not know what happen with the internal processes
if you tell me where to look, I will provide all the necessary information

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

ok, I will have a look later, to find out what you can do to get nearer to the problem area.
But might take some time (it is weekend ;-)

Can you help with this problem?

Provide an answer of your own, or ask Volosatyi for more information if necessary.

To post a message you must log in.