From: Chris N. <cn...@it...> - 2008-12-17 02:32:03
|
Hey all, The cache variable JAVA_EXECUTABLE appears to be set when I run the build process (somewhere in cmake, not in my shell environment), thus my JAVA_HOME location is never picked up. Unfortunately the preset value is to /usr/bin/java, which is just a symbolic link to the actual Java path, thus the attempt to find "jni.h" fails. I'm currently working around the problem by modifying the name of the cache variable used in config.cmake. Distribution: Ubuntu 8.10 (Intrepid) Another note, since my upgrade to ubuntu 8.10 and hence gcc 4.3.2, I've had to add the -fpermissive option to the gcc options in config.cmake to compile PCSIM. Cheers, Chris. |