Opened 11 years ago

Last modified 6 years ago

#40738 closed defect

jack does not build OSX 10.9 — at Initial Version

Reported by: mattbrocklehurst@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.99
Keywords: mavericks Cc:
Port: jack

Description

Not had chance to fix this yet but...

Getting error...

:info:build <command line>:7:10: fatal error: '/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h' file not found :info:build #include "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h"

:error:build Failed to install jack :debug:build couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory

Reason being Frameworks are now part of the Xcode5 directory (Apple must of wanted a tidy up), think you can run xcrun to find the path..

On my machine these two directories live

/Applications/Xcode5-DP3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Headers

/Applications/Xcode5-DP3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Tcl.framework

I did try (running out of time)...

ln -s "/Applications/Xcode5-DP3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Headers" /System/Library/Frameworks/Carbon.framework/Headers

ln -s "/Applications/Xcode5-DP3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Tcl.framework" /System/Library/Frameworks/Tcl.framework

And it does get a bit further but then its failing with

:info:build In file included from <built-in>:162: :info:build In file included from <command line>:7: :info:build /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:29:10: fatal error: 'HIToolbox/HIToolbox.h' file not found :info:build #include <HIToolbox/HIToolbox.h>

I *think* there is a --with-tcl-dir that we can pass to ./configure in the Portfile configure-amend directive and use xcrun to find out this path.. but i've run out of time (hopefully someone else has a patch or a quick solution)

Change History (0)

Note: See TracTickets for help on using tickets.