[Iftop-users] Porting iftop 1.0 to FreeBSD

Chris Anderson cva at pobox.com
Mon, 6 Dec 2010 12:13:50 -0800


--0016364d2797c2c6220496c386ed
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

oops, that was it (somehow I forgot that since the first time I tried to
build it).

works great (finally v6 traffic!)

cva

2010/12/6 Fr=E9d=E9ric Perrin <frederic.perrin@resel.fr>

> Le lundi 6 =E0 10:37, Chris Anderson a =E9crit :
> > I just applied the patch and now it fails to build here:
> >
> > if gcc -DHAVE_CONFIG_H -I. -I. -I.      -g -O2 -MT counter_hash.o -MD -=
MP
> -MF
> > ".deps/counter_hash.Tpo" -c -o counter_hash.o counter_hash.c;  then mv =
-f
> > ".deps/counter_hash.Tpo" ".deps/counter_hash.Po"; else rm -f ".deps/
> > counter_hash.Tpo"; exit 1; fi
> > counter_hash.c:6:26: error: counter_hash.h: No such file or directory
> > *** Error code 1
>
> I didn't touch counter_hash.{c,h}. Are you using `make all', by
> chance? From a mail by Paul Warren, you should be using `make iftop'
> instead.
>
> http://lists.beasts.org/pipermail/iftop-users/2010-November/000318.html
> > Turns out that there's some stuff in the distribution that shouldn't
> > be there and will cause the build to fail.
> >
> > If you run "make iftop" rather than just "make" it should work.
>
>
> --
> Fred
>
> _______________________________________________
> iftop-users mailing list
> iftop-users@lists.beasts.org
> http://lists.beasts.org/mailman/listinfo/iftop-users
>

--0016364d2797c2c6220496c386ed
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

oops, that was it (somehow I forgot that since the first time I tried to bu=
ild it).<div><br></div><div>works great (finally v6 traffic!)</div><div><br=
></div><div>cva<br><br><div class=3D"gmail_quote">2010/12/6 Fr=E9d=E9ric Pe=
rrin <span dir=3D"ltr">&lt;<a href=3D"mailto:frederic.perrin@resel.fr">fred=
eric.perrin@resel.fr</a>&gt;</span><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;">Le lundi 6 =E0 10:37, Chris Anderson a =E9c=
rit :<br>
<div class=3D"im">&gt; I just applied the patch and now it fails to build h=
ere:<br>
&gt;<br>
&gt; if gcc -DHAVE_CONFIG_H -I. -I. -I. =A0 =A0 =A0-g -O2 -MT counter_hash.=
o -MD -MP -MF<br>
&gt; &quot;.deps/counter_hash.Tpo&quot; -c -o counter_hash.o counter_hash.c=
; =A0then mv -f<br>
&gt; &quot;.deps/counter_hash.Tpo&quot; &quot;.deps/counter_hash.Po&quot;; =
else rm -f &quot;.deps/<br>
&gt; counter_hash.Tpo&quot;; exit 1; fi<br>
&gt; counter_hash.c:6:26: error: counter_hash.h: No such file or directory<=
br>
&gt; *** Error code 1<br>
<br>
</div>I didn&#39;t touch counter_hash.{c,h}. Are you using `make all&#39;, =
by<br>
chance? From a mail by Paul Warren, you should be using `make iftop&#39;<br=
>
instead.<br>
<br>
<a href=3D"http://lists.beasts.org/pipermail/iftop-users/2010-November/0003=
18.html" target=3D"_blank">http://lists.beasts.org/pipermail/iftop-users/20=
10-November/000318.html</a><br>
&gt; Turns out that there&#39;s some stuff in the distribution that shouldn=
&#39;t<br>
&gt; be there and will cause the build to fail.<br>
&gt;<br>
&gt; If you run &quot;make iftop&quot; rather than just &quot;make&quot; it=
 should work.<br>
<font color=3D"#888888"><br>
<br>
--<br>
Fred<br>
<br>
_______________________________________________<br>
iftop-users mailing list<br>
<a href=3D"mailto:iftop-users@lists.beasts.org">iftop-users@lists.beasts.or=
g</a><br>
<a href=3D"http://lists.beasts.org/mailman/listinfo/iftop-users" target=3D"=
_blank">http://lists.beasts.org/mailman/listinfo/iftop-users</a><br>
</font></blockquote></div><br></div>

--0016364d2797c2c6220496c386ed--