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)
xcodebuild -license
- maybe that helps (too).