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
-x11 +no_x11 +quartz
to /opt/macports/etc/macports/variants.conf
“PATH=/opt/macports/bin:$PATH” sudo port selfupdate“
2) 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)./opt/macports/bin
in my default PATH