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