trouble building mtr 0.87 on snow leopard. Solved with a hack...

Peter Hancock hancock at fastmail.fm
Fri Oct 28 13:45:06 CEST 2016


On 28/10/2016 11:03, Peter Hancock wrote:
> On a snow leopard machine, mtr won't upgrade from 0.86 to 0.87.
> The trouble, according to the log, is that IPPROTO_SCTP isn't defined.   

What I did was to edit /usr/include/netinet/in.h
and give IPPROTO_SCTP the same value (132) as it has on
the Yosemite machine on which mtr build. 

It built, and seems to work (for what I use it for, anyway).






More information about the macports-users mailing list