[MacPorts] #32329: tk +quartz fails to build on Lion

MacPorts noreply at macports.org
Mon Jul 23 02:28:26 PDT 2012


#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 brian.reiter@…):

 The above workaround to use the QuickDraw functions defined in the 10.6
 SDK does not work with Xcode 4.3.3 (or, I suspect any version of Xcode
 distributed by the App store). The App store versions of Xcode put the
 Snow Leopard platform SKD into
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk,
 but that path will fail with the installation script which does a test for
 /Developer

 In order to build quartz tk x86_64 on Lion with Xcode 4.3.3 I had to
 symlink /Developer into the guts of the Xcode app bundle.

 $ sudo ln -s /Applications/Xcode.app/Contents/Developer /Developer
 $ sudo clean tk
 $ sudo port install tk
 configure.sdkroot=/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk/
 --->  Computing dependencies for tk
 --->  Dependencies to be installed: pkgconfig
 --->  Fetching archive for tk
 --->  Attempting to fetch tk-8.5.11_0+quartz.darwin_11.i386.tbz2 from
 http://packages.macports.org/tk
 --->  Fetching distfiles for tk
 --->  Verifying checksum(s) for tk
 --->  Extracting tk
 --->  Configuring tk
 --->  Building tk
 --->  Staging tk into destroot
 --->  Installing tk @8.5.11_0+quartz
 --->  Activating tk @8.5.11_0+quartz
 --->  Cleaning tk
 --->  Updating database of binaries: 100.0%
 --->  Scanning binaries for linking errors: 100.0%
 --->  No broken files found.

-- 
Ticket URL: <https://trac.macports.org/ticket/32329#comment:11>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list