Hello,
you can get the tar.gz then coment the following lines in curses.c and manually compile mtr. This fixes it. I just did this and works.
~~~cut here~~~
[root@DeathWing mtr-0.84]# grep "//" curses.c // struct in6_addr addr6 = *addr; // ipv4[0] = addr6.s6_addr[0]; // ipv4[1] = addr6.s6_addr[1]; // ipv4[2] = addr6.s6_addr[2]; // ipv4[3] = addr6.s6_addr[3];
[psycho@DeathWing ~]$ mtr google.com -r -c 10 Start: Tue Apr 30 14:59:38 2013 HOST: DeathWing.PCLinuxOS.rebelne Loss% Snt Last Avg Best Wrst StDev 1.|-- gw100.bucuresti.rdsnet.ro 0.0% 10 257.5 27.4 0.5 257.5 80.9 2.|-- dr32.bucuresti.rdsnet.ro 0.0% 10 1.0 0.8 0.4 2.2 0.3 3.|-- cache.google.com 0.0% 10 1.6 0.7 0.3 1.6 0.3 [psycho@DeathWing ~]$ mtr -v mtr 0.83 [psycho@DeathWing ~]$
~~~and here~~~
Hope it helps.
Hello,
you can get the tar.gz then coment the following lines in curses.c and manually compile mtr. This fixes it. I just did this and works.
~~~cut here~~~
[root@DeathWing mtr-0.84]# grep "//" curses.c
// struct in6_addr addr6 = *addr;
// ipv4[0] = addr6.s6_addr[0];
// ipv4[1] = addr6.s6_addr[1];
// ipv4[2] = addr6.s6_addr[2];
// ipv4[3] = addr6.s6_addr[3];
[psycho@DeathWing ~]$ mtr google.com -r -c 10 PCLinuxOS. rebelne Loss% Snt Last Avg Best Wrst StDev .rdsnet. ro 0.0% 10 257.5 27.4 0.5 257.5 80.9 rdsnet. ro 0.0% 10 1.0 0.8 0.4 2.2 0.3
Start: Tue Apr 30 14:59:38 2013
HOST: DeathWing.
1.|-- gw100.bucuresti
2.|-- dr32.bucuresti.
3.|-- cache.google.com 0.0% 10 1.6 0.7 0.3 1.6 0.3
[psycho@DeathWing ~]$ mtr -v
mtr 0.83
[psycho@DeathWing ~]$
~~~and here~~~
Hope it helps.