#40476 closed defect (worksforme)
configure: autodetection Tcl config variables fail on 10.9
Reported by: | Serge3leo (Serguei E. Leontiev) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 2.2.99 |
Keywords: | Cc: | jeremyhu (Jeremy Huddleston Sequoia), raimue (Rainer Müller), nerdling (Jeremy Lavergne), stromnov (Andrey Stromnov), ttsuchi@…, MaddTheSane (C.W. Betts), bhadder@…, mp@… | |
Port: |
Description
$ ./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'.
Attachments (1)
Change History (21)
Changed 11 years ago by Serge3leo (Serguei E. Leontiev)
Attachment: | config.log added |
---|
comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)
Cc: | jeremyhu@… added |
---|---|
Keywords: | configure tcl tclsh removed |
Summary: | configure: autodetection Tcl config variables fail → configure: autodetection Tcl config variables fail on 10.9 |
comment:2 Changed 11 years ago by Serge3leo (Serguei E. Leontiev)
comment:4 follow-up: 9 Changed 11 years ago 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/
comment:5 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Mavericks is still behind an NDA. Please discuss over email with disclosed developers and not in a public forum.
comment:6 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:7 Changed 11 years ago by Serge3leo (Serguei E. Leontiev)
OK. Xcode 5.0.1 & OS X 10.9 GM seeds revert undocumented 'tclConfig.sh' in the hierarchy /usr/lib
comment:9 follow-up: 11 Changed 11 years ago by nerdling (Jeremy Lavergne)
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
comment:11 Changed 11 years ago by ttsuchi@…
comment:14 follow-up: 15 Changed 11 years ago by jmroot (Joshua Root)
You need the command line tools. Run
xcode-select --install
comment:15 Changed 11 years ago by ttsuchi@…
Replying to 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 on 10.9 (with Xcode 5.0).
comment:16 Changed 11 years ago by raimue (Rainer Müller)
No special configure options are necessary, the configure script will find Tcl after installing the Command Line Tools with the defaults.
Workaround: use private tcl, for example: