[MacPorts] #26934: cmake 2.8.2_3 fails to build after Java Update

MacPorts noreply at macports.org
Sun Oct 24 16:11:49 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               |  
---------------------------------+------------------------------------------
Changes (by jwhowse4@…):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 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.

 1)  Create directory

 /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Headers

 2)  Copy entire contents of directory

 /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Headers

 to directory

 /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Headers


 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/26934#comment:30>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list