Aug 30
Updated 3.2.2006
This hint is now know to work with Tiger as well.
Long ago, I attempted to compile MTR on Panther, and couldn’t. I wrote something about that failure on the MTR bug tracker and immediately forgot all about it.
This evening I received an e-mail from a total stranger, Andre LaBranche, with a solution to the problem.
Read on for all the geeky details.
Some network-related packages will fail to compile citing DNS-related problems. Andre presented me with this (relatively) simple fix:
- Run the ./configure script as usual.
- In the dns.c file, replace all instances of
#include <arpa/nameser.h>with#include <arpa/nameser_compat.h>In MTR’s case, there is only one instance that needs replaced. - In the Makefile find a line like
LIBS = -lm -ltermcapand add-lresolvat the end. The line in your makefile may be longer depending on what options the configure script found. Adding -lresolv to the end is all you need to to. - make and sudo make install as usual.
Ta da! Working MTR!

My .Mac Web Gallery
July 16th, 2006 at 2:52 am
Thank you thank you thank you! And thanks to Andre, too!