编译安装MTR for MAC snow leopard

KINGJENSEN 2010-01-31

mtr是什么,mtr=ping+traceroute

google了解更多。

ftp://ftp.bitwizard.nl/mtr/mtr-0.75.tar.gz

tar-zxvfmtr-0.75.tar.gz

./configure–without-gtk–disable-ipv6–disable-gtktest

make

Undefinedsymbols:

"_res_9_dn_expand",referencedfrom:

_parserespacketindns.o

_parserespacketindns.o

_parserespacketindns.o

"_res_9_init",referencedfrom:

_dns_openindns.o

"_res_9_mkquery",referencedfrom:

_dorequestindns.o

ld:symbol(s)notfound

collect2:ldreturned1exitstatus

changeconfigurewith:

LIBS=-lresolv./configure–without-gtk–disable-ipv6–disable-gtktest

make

sudomakeinstall

DONE.