[MacPorts] #32329: tk +quartz fails to build on Lion
MacPorts
noreply at macports.org
Fri Dec 16 11:25:38 PST 2011
#32329: tk +quartz fails to build on Lion
------------------------------+---------------------------------------------
Reporter: ngativ@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: tk
------------------------------+---------------------------------------------
Comment(by jkeane@…):
Replying to [comment:6 jkeane@…]:
> Replying to [comment:4 francis@…]:
> > Those QuickDraw functions are actually still available in Lion,
they're just not included in the headers in the 10.7 SDK. tk +quartz can
be built on Lion by using the 10.6 SDK (port install tk +quartz
configure.sdkroot=/Developer/SDKs/MacOSX10.6.sdk).
> >
> > The best solution would be for the dependency on QuickDraw to be
removed upstream, but in the meantime I think that a good workaround would
be to set configure.sdkroot=/Developer/SDKs/MacOSX10.6.sdk when building
tk +quartz on Lion.
>
> This might be only my ineptitude but in order to help save someone
else's time it should be noted that you must clean tk installation files
(port clean tk) before this command will have any effect.
Unfortunately I'm having problems when trying to build tkinter subsequent
to installing tk +quartz. After specifying the 10.6 SDK tk +quartz
installs, but when I try to install tkinter I get the error:
Error: tk cannot be installed for the configured universal_archs 'x86_64
i386' because it only supports the arch(s) 'i386 ppc'.
I've tried commenting out the supported_archs in the tk Portfile, but then
I get different errors when building tk +quartz
--
Ticket URL: <https://trac.macports.org/ticket/32329#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list