Opened 11 years ago

Last modified 6 years ago

#40738 closed defect

jack does not build OSX 10.9 — at Version 1

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

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

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

Remember to use WikiFormatting and to Cc the port's maintainer.

The tclIndex error message is irrelevant; please ignore it.

The other errors sound like jack is using Carbon, which was always just meant as a crutch to allow developers to move to OS X from OS 9 quickly and which is in every new OS X release becoming less and less supported. OS X is now 13 years old and it's high time for developers to stop using Carbon.

It looks like there is something called jack2 now. Perhaps we need to either update the jack port to that, or create a new jack2 port for it.

Note: See TracTickets for help on using tickets.