Opened 13 years ago

Closed 13 years ago

#27115 closed defect (duplicate)

cmake build fails with java error

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

Description (last modified by mf2k (Frank Schima))

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 (2)

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to css@…

comment:2 Changed 13 years ago by mf2k (Frank Schima)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.