[MacPorts] #40476: configure: autodetection Tcl config variables fail
#40476: configure: autodetection Tcl config variables fail ---------------------------------+-------------------------------- Reporter: leo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.2.99 Keywords: configure tcl tclsh | Port: ---------------------------------+-------------------------------- {{{ $ ./configure --enable-readline checking build system type... x86_64-apple-darwin13.0.0 ... checking whether completion_matches is declared... yes checking for Tcl configuration... configure: error: Can't find Tcl configuration definitions $ }}} configure try to find and use 'tclConfig.sh' Mac OSX 10.9 Mavericks Preview 6 and Xcode don't have 'tclConfig.sh'. -- Ticket URL: <https://trac.macports.org/ticket/40476> MacPorts <http://www.macports.org/> Ports system for OS X
#40476: configure: autodetection Tcl config variables fail on 10.9 ---------------------+-------------------------------- Reporter: leo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.2.99 Resolution: | Keywords: Port: | ---------------------+-------------------------------- Changes (by larryv@…): * cc: jeremyhu@… (added) * keywords: configure tcl tclsh => -- Ticket URL: <https://trac.macports.org/ticket/40476#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40476: configure: autodetection Tcl config variables fail on 10.9 ---------------------+-------------------------------- Reporter: leo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.2.99 Resolution: | Keywords: Port: | ---------------------+-------------------------------- Comment (by leo@…): Workaround: use private tcl, for example: {{{ $ ./configure --with-tcl=/opt/local/lib --with- tclinclude=/opt/local/include $ make $ sudo make install }}} -- Ticket URL: <https://trac.macports.org/ticket/40476#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40476: configure: autodetection Tcl config variables fail on 10.9 ---------------------+-------------------------------- Reporter: leo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.2.99 Resolution: | Keywords: Port: | ---------------------+-------------------------------- Comment (by rob@…): tcl headers and config have been moved into Xcode. Try this: {{{ ./configure \ --with- tcl=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Tcl.framework/ \ --with- tclinclude=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Tcl.framework/Versions/8.5/Headers/ }}} -- Ticket URL: <https://trac.macports.org/ticket/40476#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40476: configure: autodetection Tcl config variables fail on 10.9 ---------------------+-------------------------------- Reporter: leo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.2.99 Resolution: | Keywords: Port: | ---------------------+-------------------------------- Comment (by jeremyhu@…): Mavericks is still behind an NDA. Please discuss over email with disclosed developers and not in a public forum. -- Ticket URL: <https://trac.macports.org/ticket/40476#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40476: configure: autodetection Tcl config variables fail on 10.9 -------------------------+-------------------------------- Reporter: leo@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.2.99 Resolution: worksforme | Keywords: Port: | -------------------------+-------------------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <https://trac.macports.org/ticket/40476#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#40476: configure: autodetection Tcl config variables fail on 10.9 -------------------------+-------------------------------- Reporter: leo@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.2.99 Resolution: worksforme | Keywords: Port: | -------------------------+-------------------------------- Comment (by leo@…): OK. Xcode 5.0.1 & OS X 10.9 GM seeds revert undocumented 'tclConfig.sh' in the hierarchy /usr/lib -- Ticket URL: <https://trac.macports.org/ticket/40476#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#40476: configure: autodetection Tcl config variables fail on 10.9 -------------------------+-------------------------------- Reporter: leo@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.2.99 Resolution: worksforme | Keywords: Port: | -------------------------+-------------------------------- Comment (by snc@…): 10.9 has released but Xcode 5.0.1 has not. By trying to use the previously mentioned flags—but for 10.8 SDK—I get an error that tclConfig.sh can still not be found. {{{ ./configure --with- tcl=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Tcl.framework --with- tclinclude=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Tcl.framework/Versions/8.5/Headers/ }}} {{{ checking for Tcl configuration... configure: error: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Tcl.framework directory doesn't contain tclConfig.sh }}} {{{ xcodebuild -version Xcode 5.0 Build version 5A1413 }}} -- Ticket URL: <https://trac.macports.org/ticket/40476#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#40476: configure: autodetection Tcl config variables fail on 10.9 -------------------------+-------------------------------- Reporter: leo@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.2.99 Resolution: worksforme | Keywords: Port: | -------------------------+-------------------------------- Comment (by ttsuchi@…): Cc Me! -- Ticket URL: <https://trac.macports.org/ticket/40476#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#40476: configure: autodetection Tcl config variables fail on 10.9 -------------------------+-------------------------------- Reporter: leo@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.2.99 Resolution: worksforme | Keywords: Port: | -------------------------+-------------------------------- Comment (by jmr@…): You need the command line tools. Run {{{ xcode-select --install }}} -- Ticket URL: <https://trac.macports.org/ticket/40476#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#40476: configure: autodetection Tcl config variables fail on 10.9 -------------------------+-------------------------------- Reporter: leo@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.2.99 Resolution: worksforme | Keywords: Port: | -------------------------+-------------------------------- Comment (by ttsuchi@…): Replying to [comment:14 jmr@…]:
You need the command line tools. Run {{{ xcode-select --install }}}
Thanks, that put the `tclConfig.sh` in `/System/Library/Frameworks/Tcl.framework`, so {{{ ./configure --with-tclpackage=/Library/Tcl \ --with-tcl=/System/Library/Frameworks/Tcl.framework \ --with-tclinclude=/System/Library/Frameworks/Tcl.framework/Headers }}} worked for me. -- Ticket URL: <https://trac.macports.org/ticket/40476#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
#40476: configure: autodetection Tcl config variables fail on 10.9 -------------------------+-------------------------------- Reporter: leo@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.2.99 Resolution: worksforme | Keywords: Port: | -------------------------+-------------------------------- Comment (by raimue@…): No special configure options are necessary, the configure script will find Tcl after installing the Command Line Tools with the defaults. -- Ticket URL: <https://trac.macports.org/ticket/40476#comment:16> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts