Opened 14 years ago

Last modified 14 years ago

#27115 closed defect

cmake build fails with java error — at Initial Version

Reported by: njbutko@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: cmake

Description

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"

}

Change History (0)

Note: See TracTickets for help on using tickets.