View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0011357 | CMake | CMake | public | 2010-10-25 12:19 | 2010-10-26 15:04 | ||||
Reporter | Steve Pieper | ||||||||
Assigned To | David Cole | ||||||||
Priority | normal | Severity | block | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-8 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0011357: cmake bootstrap on mac jni.h error | ||||||||
Description | Email trail below describes the issue - I prodded Bill/Brad/Dave C. If you haven't filled out a bug report on cmake.org/Bug go ahead and do so, or I can. The bug reports get spammed to the CMake dev mailing list as soon as they're submitted. On Mon, Oct 25, 2010 at 9:40 AM, Steve Pieper <pieper@bwh.harvard.edu> wrote: Thanks for you help with this! FYI, I tried the cmake git repository 'next' branch and got the same issue... -Steve On 10/25/2010 09:31 AM, Dave Partyka wrote: Sure thing ;-) On Mon, Oct 25, 2010 at 9:18 AM, Stephen Aylward <stephen.aylward@kitware.com <mailto:stephen.aylward@kitware.com>> wrote: Hi Dave, Can you forward this to the cmake developers list or maybe you know the right person at KHQ to ask? Thanks, Stephen PS> Again - charge SlicerQt...sigh... ---------- Forwarded message ---------- From: Steve Pieper <pieper@bwh.harvard.edu <mailto:pieper@bwh.harvard.edu>> Date: Mon, Oct 25, 2010 at 9:00 AM Subject: [NAMIC-Eng] cmake bootstrap on mac jni.h error? To: namic-eng@na-mic.org <mailto:namic-eng@na-mic.org> Hi - I didn't see any mention of the following on cmake.org <http://cmake.org> [^] -- does anyone know if this is a known issue? If not, I'll file a bug report. Hopefully we can find a fix and backport it to 2.8.0 and 2.8.2. For the last few days my mac nighly build that does an update on all the libs has been dying in the cmake bootstrap code with the following error: CMake Error at Tests/CMakeLists.txt:1422 (FILE): file Internal CMake error when trying to open file: /System/Library/Frameworks/JavaVM.framework/Headers/jni.h for reading. upon further research it seems other people are having the same problem: https://trac.macports.org/ticket/26934 [^] The cause appears to be a recent Apple/java service pack. The suggested fix involves installing a package from Apple, but you need to be registered with the developer program to download it: http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wo/5.1.17.2.1.3.3.1.0.1.1.0.3.8.3.3.1 [^] Slicer has been building with cmake 2.8.0, but I just tried and confirmed that the same issue happens with the bootstrap in cmake 2.8.2 (the current release). The mac is running 10.6.4 (snowleopard). Thanks, Steve _______________________________________________ NAMIC-Eng mailing list NAMIC-Eng@na-mic.org <mailto:NAMIC-Eng@na-mic.org> http://public.kitware.com/cgi-bin/mailman/listinfo/namic-eng [^] -- ============================== Stephen R. Aylward, Ph.D. Director of Medical Imaging Research Kitware, Inc. - North Carolina Office http://www.kitware.com [^] stephen.aylward (Skype) (919) 969-6990 x300 | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0022705) Steve Pieper (reporter) 2010-10-26 14:13 |
Dave Partyka reports: Alright, I installed the update and reproduced the error on my Mac. Using Bill's recommendations this gets bootstrap working again Write out a cache file, for example javaCache.cmake SET(JNI_H FALSE CACHE BOOL "" FORCE) SET(Java_JAVA_EXECUTABLE FALSE CACHE BOOL "" FORCE) SET(Java_JAVAC_EXECUTABLE FALSE CACHE BOOL "" FORCE) ./configure --init=/Users/partyd/Kitware/CMake/javaCache.cmake |
(0022706) Steve Pieper (reporter) 2010-10-26 14:50 |
Seems to work well! http://viewvc.slicer.org/viewcvs.cgi?rev=15340&view=rev [^] http://viewvc.slicer.org/viewcvs.cgi?rev=15339&view=rev [^] Merged into slicer3 trunk and slicer-3-6 branch. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2010-10-25 12:19 | Steve Pieper | New Issue | |
2010-10-26 14:13 | Steve Pieper | Note Added: 0022705 | |
2010-10-26 14:50 | Steve Pieper | Note Added: 0022706 | |
2010-10-26 15:04 | David Cole | Status | new => assigned |
2010-10-26 15:04 | David Cole | Assigned To | => David Cole |
2010-10-26 15:04 | David Cole | Status | assigned => closed |
2010-10-26 15:04 | David Cole | Resolution | open => fixed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |