|      1helloleo      2013-06-15 12:23:00 +08:00 ± brew install mtr ==> Downloading http://ftp.de.debian.org/debian/pool/main/m/mtr/mtr_0.82.orig.tar.gz ######################################################################## 100.0% ==> ./configure --prefix=/usr/local/Cellar/mtr/0.82 --without-gtk ==> 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.82/sbin/mtr sudo chmod u+s /usr/local/Cellar/mtr/0.82/sbin/mtr In any case, you should be certain that you trust the software you are executing with elevated privileges. ==> Summary | 
|  |      2iZr OP @helloleo brew install mtr ==> Downloading http://ftp.de.debian.org/debian/pool/main/m/mtr/mtr_0.82.orig.tar.gz Already downloaded: /Library/Caches/Homebrew/mtr-0.82.tar.gz ==> ./configure --prefix=/usr/local/Cellar/mtr/0.82 --without-gtk checking for res_mkquery... no checking for res_mkquery in -lbind... no checking for res_mkquery in -lresolv... no checking for __res_mkquery in -lresolv... no configure: error: No resolver library found READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting | 
|  |      3xatest      2013-06-15 12:42:01 +08:00 brew update没? | 
|  |      4qlqsh      2013-06-15 13:26:47 +08:00 我觉得测试版的话,最好别搞这些个,会很麻烦,得不偿失。。。 | 
|  |      6venmos      2013-06-15 23:05:24 +08:00 | 
|  |      7venmos      2013-06-15 23:08:20 +08:00 @iZr 或者上https://developer.apple.com/downloads/index.action下载command tools for 10.8,然后修改/System/Library/CoreServices/SystemVersion.plist里的ProductUserVisibleVersion和ProductVersion为10.8,就可以安装command tools for 10.8了... | 
|  |      11franksin      2013-06-17 09:15:13 +08:00 修改系统版本号的办法我试了,可以安装Command Tools,我现在就在用,xcode 5 preview和开发神马的都没有问题 | 
|  |      12ivyliner      2013-10-30 23:27:21 +08:00 brew install mtr --HEAD |