[MacPorts] #26934: cmake 2.8.2_3 fails to build after Java Update
MacPorts
noreply at macports.org
Sun Oct 24 18:17:40 PDT 2010
#26934: cmake 2.8.2_3 fails to build after Java Update
---------------------------------+------------------------------------------
Reporter: dersh@… | Owner: css@…
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 1.9.1
Resolution: | Keywords:
Port: cmake |
---------------------------------+------------------------------------------
Comment(by css@…):
Replying to [comment:30 jwhowse4@…]:
> I am in a different position with respect to this fix. I had installed
cmake 2.8.2_3 before the Apple Java update. After the Apple Java update,
the cmake upgrade from 2.8.2_3 to 2.8.2_4 failed saying that I needed to
install Java from Apple, which was already installed. As far as I can
tell, the Apple update to Java 1.6.0_22 did not properly update the header
path. In the updated version the header path leads to a dead end. I was
able to fix this by doing the following.
You need to install the ''developer package'', not just the Java update.
Modifying system files isn't an acceptable approach. Apple states the dev
package is the include headers, so changing the search location won't work
either.
> After this fix the upgrade to cmake 2.8.2_4 worked. However, if the
macports cmake could be made to look for the Java headers in
/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Headers
this would resolve an existing problem.
Doesn't installing the required dev package put the files in place to
satisfy the existing symbolic link? Installing the specified update seems
like a better solution than modifying either system contents or port
sources.
--
Ticket URL: <https://trac.macports.org/ticket/26934#comment:31>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list