According to the MacPorts Quickstart Guide you should run
xcodebuild -license
- maybe that helps (too).This is an old revision of the document!
xcode-select –install
(maybe as root)1)cd /some/location tar -xvkpjf ~/Downloads/MacPorts-2.3.4.tar.gz cd MacPorts-2.3.4 ./configure --prefix=/opt/macports --with-applications-dir=/opt/macports/Applications make sudo make install echo "-x11 +no_x11 +quartz" >> /opt/macports/etc/macports/variants.conf PATH=/opt/macports/bin:$PATH" sudo port -v selfupdate
(For some paranoid reasons, I prefer to not have /opt/macports/bin
in my default PATH)
All this was basically extracted from the MacPorts Install Guide and the Installation Chapter of the overall Macports Guide. A little bit re-written and condensed to my taste
xcodebuild -license
- maybe that helps (too).