"Can't find Tcl configuration definitions": better solution?

Michael Dickens michaelld at macports.org
Mon Oct 28 13:27:52 PDT 2013


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


More information about the macports-dev mailing list