[MacPorts] #27115: cmake build fails with java error

MacPorts noreply at macports.org
Tue Nov 2 17:08:41 PDT 2010


#27115: cmake build fails with java error
-------------------------------+--------------------------------------------
 Reporter:  njbutko@…          |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  1.9.1                                
 Keywords:                     |        Port:  cmake                                
-------------------------------+--------------------------------------------
 cmake build fails with the error following. Presumably this is related to
 the recent osx java update.

 Error: Target org.macports.configure returned:
 ********************
 cmake requires the Java for Mac OS X Developer Package from the Apple
 Developer Connection at http://connect.apple.com.
 For Mac OS X 10.6:
 http://adcdownload.apple.com/Java/java_for_mac_os_x_10.6_update_3_developer_package/javadeveloper_10.6_10m3261.dmg
 For Mac OS X 10.5:
 http://adcdownload.apple.com/Java/java_for_mac_os_x_10.5_update_8_developer_package/javadeveloper_10.5_9m3263.dmg
 ********************

 In the portfile this appears to be tripped by the following -- the tested
 file no longer exists with the latest update. It can now be found at
 /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Headers/jni.h:

 if {![file exists
 "/System/Library/Frameworks/JavaVM.framework/Headers/jni.h"]} {
                         return -code error
 "\n********************\n${name} requires the Java for Mac OS X Developer
 Package from the Apple Developer Connection at
 http://connect.apple.com.\nFor Mac OS X 10.6:
 http://adcdownload.apple.com/Java/java_for_mac_os_x_10.6_update_3_developer_package/javadeveloper_10.6_10m3261.dmg\nFor
 Mac OS X 10.5:
 http://adcdownload.apple.com/Java/java_for_mac_os_x_10.5_update_8_developer_package/javadeveloper_10.5_9m3263.dmg\n********************"
                 }

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


More information about the macports-tickets mailing list