OS X Mavericks 10.9 下如何安装 MTR - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
iZr
V2EX    macOS

OS X Mavericks 10.9 下如何安装 MTR

  •  
  •   iZr 2013-06-13 10:05:21 +08:00 7228 次点击
    这是一个创建于 4560 天前的主题,其中的信息可能已经有所发展或是发生改变。
    编译安装提示:

    make: *** No targets specified and no makefile found. Stop.

    brew install mtr

    提示:

    http://d.pr/i/4oGP
    12 条回复    1970-01-01 08:00:00 +08:00
    helloleo
        1
    helloleo  
       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
    iZr
        2
    iZr  
    OP
       2013-06-15 12:34:17 +08:00
    @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
    xatest
        3
    xatest  
       2013-06-15 12:42:01 +08:00
    brew update没?
    qlqsh
        4
    qlqsh  
       2013-06-15 13:26:47 +08:00
    我觉得测试版的话,最好别搞这些个,会很麻烦,得不偿失。。。
    iZr
        5
    iZr  
    OP
       2013-06-15 13:51:04 +08:00
    @xatest updata了。貌似是 编译 不了。xcode 5 comand tools 不知道怎么安装。
    venmos
        6
    venmos  
       2013-06-15 23:05:24 +08:00
    venmos
        7
    venmos  
       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了...
    iZr
        8
    iZr  
    OP
       2013-06-15 23:09:46 +08:00
    @venmos 我在下载 osx-gcc-installer 10.8了。安装好就ok?
    venmos
        9
    venmos  
       2013-06-15 23:10:17 +08:00
    @iZr 差点忘了说了...装完command tools后记得再把版本号改回去,要不会出莫名其妙的问题...
    venmos
        10
    venmos  
       2013-06-16 23:12:19 +08:00
    @iZr 修改系统版本号的办法我试了,可以安装Command Tools,不过我是在虚拟机里试的...
    franksin
        11
    franksin  
       2013-06-17 09:15:13 +08:00
    修改系统版本号的办法我试了,可以安装Command Tools,我现在就在用,xcode 5 preview和开发神马的都没有问题
    ivyliner
        12
    ivyliner  
       2013-10-30 23:27:21 +08:00
    brew install mtr --HEAD
    关于     帮助文档     自助推广系统     博客 &nbs;   API     FAQ     Solana     5607 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 30ms UTC 01:46 PVG 09:46 LAX 17:46 JFK 20:46
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86