Command:
$ brew install Caskroom/cask/macports
Result:
==> brew cask install Caskroom/cask/macports
==> Downloading https://distfiles.macports.org/MacPorts/MacPorts-2.3.4-10.12-Sierra.pkg
######################################################################## 100.0%
==> Verifying checksum for Cask macports
==> Running installer for macports; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.
==> installer: Package name is MacPorts
==> installer: Installing at base path /
==> installer: The install was successful.
🍺 macports was successfully installed!
Command:
$ sudo /opt/local/bin/port install tor
Result:
Warning: The Xcode Command Line Tools don't appear to be installed; most ports will likely fail to build.
Warning: Install them by running `xcode-select --install'.
---> Computing dependencies for tor
---> Dependencies to be installed: libevent openssl zlib
---> Fetching archive for zlib
---> Attempting to fetch zlib-1.2.8_0.darwin_16.x86_64.tbz2 from https://packages.macports.org/zlib
---> Attempting to fetch zlib-1.2.8_0.darwin_16.x86_64.tbz2.rmd160 from https://packages.macports.org/zlib
---> Installing zlib @1.2.8_0
---> Activating zlib @1.2.8_0
---> Cleaning zlib
---> Fetching archive for openssl
---> Attempting to fetch openssl-1.0.2j_0.darwin_16.x86_64.tbz2 from https://packages.macports.org/openssl
---> Attempting to fetch openssl-1.0.2j_0.darwin_16.x86_64.tbz2.rmd160 from https://packages.macports.org/openssl
---> Installing openssl @1.0.2j_0
---> Activating openssl @1.0.2j_0
---> Cleaning openssl
---> Fetching archive for libevent
---> Attempting to fetch libevent-2.0.22_3.darwin_16.x86_64.tbz2 from https://packages.macports.org/libevent
---> Attempting to fetch libevent-2.0.22_3.darwin_16.x86_64.tbz2.rmd160 from https://packages.macports.org/libevent
---> Installing libevent @2.0.22_3
---> Activating libevent @2.0.22_3
---> Cleaning libevent
---> Fetching archive for tor
---> Attempting to fetch tor-0.2.8.9_0.darwin_16.x86_64.tbz2 from https://packages.macports.org/tor
---> Attempting to fetch tor-0.2.8.9_0.darwin_16.x86_64.tbz2.rmd160 from https://packages.macports.org/tor
---> Installing tor @0.2.8.9_0
---> Activating tor @0.2.8.9_0
---> Cleaning tor
---> Updating database of binaries
---> Scanning binaries for linking errors
---> No broken files found.
Command:
$ xcode-select --install
Result:
xcode-select: note: install requested for command line developer tools