MacPorts Selfupdate Problems
If you experience the same errors like me:
Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command failed
Then, you might have the wrong gcc active. You can use my script to switch your gcc back to the system’s standard, which is gcc-4.2 in my case.
Cheers,
iss