Updating MacPorts on Mavericks quirks
Sorry, this isn't a guide, just a quick note stating what I did to overcome the error I received.
Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: command execution failed
Simple solution:
sudo xcode-select --install sudo port -v selfupdate
Yeah one would think that.. unless you closed the window that opened asking if you wanted to install the Command Line Tools, and you then followed the Update function from App Store to do "the exact same thing".
So yeah, I stupidly did the later. Run the selfupdate and, nothing, well I ended up getting this:
checking for Tcl configuration... configure: error: Can't find Tcl configuration definitions
I then decided to go back to the start and follow everything perfectly (in other words, don't close the prompt you fool).
sudo xcode-select --install hash -r sudo /opt/local/bin/port -v selfupdate sudo /opt/local/bin/port -v upgrade outdated
Probably not sage advice, but it got my dev environment back up and running again.









