Mtr

Comment 2 for bug 1160321

Revision history for this message
richb-hanover (richb-hanover) wrote :

Additional info:

1) I found a link to a built 0.82 version at: https://support.eapps.com/index.php?/Knowledgebase/Article/View/442/28/mtr-for-mac-os-x

2) I found this article with a potential fix. http://blog.justus-beyer.de/2012/11/installing-my-traceroute-mtr-on-mac-os-x-mountain-lion/

Using this technique still gives an error:

bash-3.2$ make
make all-recursive
Making all in img
make[2]: Nothing to be done for `all'.
gcc -DHAVE_CONFIG_H -I/usr/local/Cellar/glib/2.34.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.34.3/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I. -g -O2 -Wall -Wno-pointer-sign -MT mtr.o -MD -MP -MF .deps/mtr.Tpo -c -o mtr.o mtr.c
mv -f .deps/mtr.Tpo .deps/mtr.Po
gcc -DHAVE_CONFIG_H -I/usr/local/Cellar/glib/2.34.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.34.3/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I. -g -O2 -Wall -Wno-pointer-sign -MT asn.o -MD -MP -MF .deps/asn.Tpo -c -o asn.o asn.c
asn.c: In function ‘asn_lookup’:
asn.c:46: error: ‘PACKETSZ’ undeclared (first use in this function)
asn.c:46: error: (Each undeclared identifier is reported only once
asn.c:46: error: for each function it appears in.)
asn.c:58: error: ‘C_IN’ undeclared (first use in this function)
asn.c:58: error: ‘T_TXT’ undeclared (first use in this function)
asn.c:62: error: ‘HEADER’ undeclared (first use in this function)
asn.c:70: warning: implicit declaration of function ‘GETSHORT’
asn.c:75: error: ‘INT16SZ’ undeclared (first use in this function)
asn.c:46: warning: unused variable ‘answer’
make[2]: *** [asn.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
bash-3.2$ ls