遇到了一个错误,由于自己也不是很懂,发上来问问V友们!
$ brew install mtr
Warning: A newer Command Line Tools release is available
The standalone package can be obtained from
https://developer.apple.com/downloads/,
or it can be installed via Xcode's preferences.
==> Downloading ftp://ftp.bitwizard.nl/mtr/mtr-0.85.tar.gz
Already downloaded: /Library/Caches/Homebrew/mtr-0.85.tar.gz
==> Downloading https://github.com/traviscross/mtr/commit/edd425.diff
Already downloaded: /Library/Caches/Homebrew/mtr--patch-c1ed669cdf65d607f75abc729a333b180ee42343.diff
==> Patching
patching file asn.c
patching file curses.c
patching file display.c
patching file dns.c
patching file getopt.c
patching file getopt1.c
patching file gtk.c
patching file mtr.c
patching file net.c
patching file raw.c
patching file report.c
patching file select.c
patching file split.c
==> ./configure --prefix=/usr/local/Cellar/mtr/0.85 --without-gtk --without-glib
==> make install
==> Caveats
mtr requires superuser privileges. You can either run the program
via `sudo`, or change its ownership to root and set the setuid bit:
sudo chown root:wheel /usr/local/Cellar/mtr/0.85/sbin/mtr
sudo chmod u+s /usr/local/Cellar/mtr/0.85/sbin/mtr
In any case, you should be certain that you trust the software you
are executing with elevated privileges.
==> Summary
? /usr/local/Cellar/mtr/0.85: 8 files, 160K, built in 22 seconds
$ brew install mtr
Warning: A newer Command Line Tools release is available
The standalone package can be obtained from
https://developer.apple.com/downloads/,
or it can be installed via Xcode's preferences.
==> Downloading ftp://ftp.bitwizard.nl/mtr/mtr-0.85.tar.gz
Already downloaded: /Library/Caches/Homebrew/mtr-0.85.tar.gz
==> Downloading https://github.com/traviscross/mtr/commit/edd425.diff
Already downloaded: /Library/Caches/Homebrew/mtr--patch-c1ed669cdf65d607f75abc729a333b180ee42343.diff
==> Patching
patching file asn.c
patching file curses.c
patching file display.c
patching file dns.c
patching file getopt.c
patching file getopt1.c
patching file gtk.c
patching file mtr.c
patching file net.c
patching file raw.c
patching file report.c
patching file select.c
patching file split.c
==> ./configure --prefix=/usr/local/Cellar/mtr/0.85 --without-gtk --without-glib
==> make install
==> Caveats
mtr requires superuser privileges. You can either run the program
via `sudo`, or change its ownership to root and set the setuid bit:
sudo chown root:wheel /usr/local/Cellar/mtr/0.85/sbin/mtr
sudo chmod u+s /usr/local/Cellar/mtr/0.85/sbin/mtr
In any case, you should be certain that you trust the software you
are executing with elevated privileges.
==> Summary
? /usr/local/Cellar/mtr/0.85: 8 files, 160K, built in 22 seconds