"Can't find Tcl configuration definitions": better solution?
Ryan Schmidt
ryandesign at macports.org
Mon Oct 28 15:19:32 PDT 2013
On Oct 28, 2013, at 15:27, Michael Dickens wrote:
> The current "Mavericks Problems" MacPorts Wiki page, <
> https://trac.macports.org/wiki/MavericksProblems> in the "Updating
> MacPorts Base" section says:
>
> {{{
> Ensure you have at least the command line tools installed by running
> xcode-select --install from a Terminal. Make sure to also run this even
> if you have Xcode installed, because you might otherwise see an error
> message about MacPorts not being able to find Tcl with the next
> selfupdate.
> }}}
>
> which I just came upon as an issue. The output of configure was
> something like "Can't find Tcl configuration definitions" which is
> frankly not very helpful. Issuing the "xcode-select" command did the
> trick -- prompted the OS to ask if I wanted to install/update the
> command line tools, after which configure succeeded.
>
> I doubt most folks install from SVN trunk, but for those of us who do,
> it might be more useful to have the error include "Try running
> 'xcode-select --install' to update the Xcode command line tools." or the
> like. Just a thought. I can easily make this change, but I'd like
> feedback first. Thanks! - MLD
If you do that, make sure you only print that on Mavericks and later, since on earlier OS versions tclConfig.sh is not part of the command line tools and it should already be there out of the box.
More information about the macports-dev
mailing list