That indeed fixed that problem, but now I've got a rather bizarre new
one. CMake never actually advances after finding Java and JNI. I get
the following as output:
eli@eli-netbook:~/Programs/jllvm/src/org/jllvm/bindings$ cmake .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- 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
-- Found Java: /usr/lib/jvm/java-6-openjdk-amd64/bin/java (found
version "1.6.0.24")
-- Found JNI: /usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/libjawt.so
And that's it. CMake just sits there like that until I stop it with
CTRL-C. It never actually finishes configuring my code, which it used
to do perfectly well. Any notions?
Rolf Eike Beer wrote:
Eli Gottlieb wrote:
Applied the patch. I still get the same error.
I guess you use the same build dir as before the upgrade? I think the java
executable location has changed during the upgrade. Wipe your build dir and
start again. This current error is caused by Java_JAVA_EXECUTABLE being wrong,
but there is probably more breakage that will hit you later, so better start
over.
Eike
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake