Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#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)

config.log (59.5 KB) - added by Serge3leo (Serguei E. Leontiev) 11 years ago.

Download all attachments as: .zip

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 failconfigure: autodetection Tcl config variables fail on 10.9

comment:2 Changed 11 years ago by Serge3leo (Serguei E. Leontiev)

Workaround: use private tcl, for example:

$ ./configure --with-tcl=/opt/local/lib --with-tclinclude=/opt/local/include
$ make
$ sudo make install

comment:3 Changed 11 years ago by raimue (Rainer Müller)

Cc: raimue@… added

Cc Me!

comment:4 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: newclosed

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:8 Changed 11 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added

Cc Me!

comment:9 in reply to:  4 ; 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:10 Changed 11 years ago by stromnov (Andrey Stromnov)

Cc: stromnov@… added

Cc Me!

comment:11 in reply to:  9 Changed 11 years ago by ttsuchi@…

Last edited 11 years ago by ttsuchi@… (previous) (diff)

comment:12 Changed 11 years ago by ttsuchi@…

Cc: ttsuchi@… added

Cc Me!

comment:13 Changed 11 years ago by bonoba@…

Cc: bonoba@… added

Cc Me!

comment:14 Changed 11 years ago by jmroot (Joshua Root)

You need the command line tools. Run

xcode-select --install

comment:15 in reply to:  14 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).

Last edited 11 years ago by ttsuchi@… (previous) (diff)

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.

comment:17 Changed 11 years ago by bonoba@…

Cc: bonoba@… removed

Cc Me!

comment:18 Changed 11 years ago by MaddTheSane (C.W. Betts)

Cc: computers57@… added

Cc Me!

comment:19 Changed 11 years ago by bhadder@…

Cc: bhadder@… added

Cc Me!

comment:20 Changed 11 years ago by mp@…

Cc: mp@… added

Cc Me!

Note: See TracTickets for help on using tickets.