Fix “macports checking for Tcl configuration… configure: error: Can’t find Tcl configuration definitions” when selfupdating Macports in Mac OS X 10.9 Mavericks

I’ve just upgraded my Mac OS X to Mavericks 10.9. When I tried to update Macports I got an error and when I used the verbose mode of selfupdate (sudo port -v selfupdate) it came out this:

macports checking for Tcl configuration... configure: error: Can't find Tcl configuration definitions

I fixed the problem after reinstalling the Command Line Tools of Xcode and accepting the license from the command line:

sudo xcode-select --install
sudo xcodebuild -license

Then the selfupdate worked just fine:

sudo port selfupdate

You might also like

MacPorts: Update port definitions and upgrade installed ports
Once in a while is good to update your software to get advantage of the latest bug fixes and new features....

Solve “mongodb cannot be built while v8 is active” in MacPorts
While updating all the ports of macports I got this error:---> Configuring mongodb Error: mongodb...

Using MacPorts php from command line
Some time ago I had installed Apache+MySQL using MacPorts in Mac OS X. It was all OK as long as I used...

Install and configure MongoDB and PHP driver with MacPorts
Installing and configuring MongoDB with MacPortsInstalling MongoDB with MacPorts is as easy as...

  1. This works for me as well. Great, thanks a lot!

    HM

  2. It worked like a charm for me as well! Thanks!

  3. It worked fine for me too. Thank you.

  4. Me pasaba lo mismo y tu solución me ha funcionado perfectamente… Muchas gracias

  5. Sorry, I didn’t realice that it was in english… Same thing happen to me, and your solution worked fine for me too.

    Thanks a lot.

  6. It worked for me too. Thank you.

  7. Worked like a charm! I always thought Xcode Command Line Tools were already installed, but looks like at least some part of it was not.

  8. Get it! Thanks a lot.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.