cmake error with jni.h
Mark Hart
professormrh at gmail.com
Sun Oct 24 06:42:21 PDT 2010
Hello all,
I was wondering if anybody else was having issues with cmake? When I try
to upgrade cmake I get an error:
:info:configure file Internal CMake error when trying to open file:
:info:configure /System/Library/Frameworks/JavaVM.framework/Headers/jni.h
for reading
It does appear that there is a symbolic link to jni.h
(../../CurrentJDK/Headers/jni.h) but that file does not exist.
I wondered if this occurred after the Apple Java Update this past week?
I would be grateful for any help.
Thank you very much!
Mark
Logs follow...
The following installed ports are outdated:
cmake 2.8.2_2 < 2.8.2_3
NCC1701X:~ mark$ sudo port upgrade cmake
---> Computing dependencies for cmake
---> Fetching cmake
---> Verifying checksum(s) for cmake
---> Extracting cmake
---> Applying patches to cmake
---> Configuring cmake
Error: Target org.macports.configure returned: configure failure: shell
command failed
Log for cmake is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/main.log
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>
:info:configure -- Java version 1.6.0.22 configured successfully!
:info:configure -- Found Java: /usr/bin/java
:info:configure CMake Error at Tests/CMakeLists.txt:1630 (FILE):
:info:configure file Internal CMake error when trying to open file:
:info:configure /System/Library/Frameworks/JavaVM.framework/Headers/jni.h
for reading.
:info:configure
:info:configure
:info:configure -- Configuring incomplete, errors occurred!
:info:configure ---------------------------------------------
:info:configure Error when bootstrapping CMake:
:info:configure Problem while running initial CMake
:info:configure ---------------------------------------------
:info:configure shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/work/cmake-2.8.2-x86_64"
&& ./configure --prefix=/opt/local --disable-dependency-tracking
--mandir=/share/man --docdir=/share/doc/cmake --parallel=2
--init=/opt/local/var/macports/sources/
rsync.macports.org/release/ports/devel/cmake/files/macports.cmake--disable-dependency-tracking
" returned error 11
:error:configure Target org.macports.configure returned: configure failure:
shell command failed
:debug:configure Backtrace: configure failure: shell command failed
while executing
"$procedure $targetname"
:info:configure Warning: the following items did not execute (for cmake):
org.macports.destroot org.macports.configure org.macports.build
:notice:configure Log for cmake is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/main.log
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20101024/850022e4/attachment.html>
More information about the macports-users
mailing list