[Iftop-users] iftop Installation //

Neeraj Chowdhry neeraj.c.c.c at gmail.com
Tue, 23 Jan 2007 12:37:18 +0530


------=_Part_237362_23150627.1169536038487
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Chris

Furthermore; There is no pcap.h in /usr/include //

With thanks
Neeraj

On 1/23/07, Neeraj Chowdhry <neeraj.c.c.c@gmail.com> wrote:
>
> Hi Chris
>
> The error msg displayed after using gcc -E on test.c is :
>
> error: pcap.h: No such file or directory
>
> With thanks
> Neeraj
>
>
> On 1/22/07, Chris Lightfoot < chris@ex-parrot.com> wrote:
> >
> > On Mon, Jan 22, 2007 at 06:35:05PM +0530, Neeraj Chowdhry wrote:
> > > Hi Chris
> > >
> > > In the config.log file one error section include the following :
> > >
> > > configure :5972: checking where to find pcap.h
> > > configure:5988: gcc -E -I/usr/include/pcap -I/software/include/pcap
> > > conftest.c
> > >
> > > In file included from  /usr/include/pcap/pcap.h:28
> > >                      from  /usr/include/pcap/pcap.h:28\
> > >                      from  /usr/include/pcap/pcap.h:28
> > >                      from  /usr/include/pcap/pcap.h:28
> >     [...]
> > > /usr/include/pcap/pcap.h:28:18: error: #include nested too deeply
> >
> > hmm, interesting. is there also a /usr/include/pcap.h on
> > your machine? what happens if you create a file test.c
> > containing,
> >     #include <pcap.h>
> > and then run gcc -E on it?
> >
> > --
> > You cannot win the game, and you are not allowed to stop playing
> > (the third law)
> >
>
>

------=_Part_237362_23150627.1169536038487
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Chris<br><br>Furthermore; There is no pcap.h in /usr/include //<br><br>With thanks <br>Neeraj<br><br><div><span class="gmail_quote">On 1/23/07, <b class="gmail_sendername">Neeraj Chowdhry</b> &lt;<a href="mailto:neeraj.c.c.c@gmail.com">
neeraj.c.c.c@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Chris<br><br>The error msg displayed after using gcc -E on 
test.c is :<br><br>error: pcap.h: No such file or directory<br><br>With thanks<br><span class="sg">Neeraj<br><br><br></span><div><span class="q"><span class="gmail_quote">On 1/22/07, <b class="gmail_sendername">
Chris Lightfoot</b> &lt;
<a href="mailto:chris@ex-parrot.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">chris@ex-parrot.com</a>&gt; wrote:</span></span><div><span class="q" id="q_1104d8bf676c1154_4"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

On Mon, Jan 22, 2007 at 06:35:05PM +0530, Neeraj Chowdhry wrote:
<br>&gt; Hi Chris<br>&gt;<br>&gt; In the config.log file one error section include the following :<br>&gt;<br>&gt; configure :5972: checking where to find pcap.h<br>&gt; configure:5988: gcc -E -I/usr/include/pcap -I/software/include/pcap
<br>&gt; conftest.c<br>&gt;<br>&gt; In file included from&nbsp;&nbsp;/usr/include/pcap/pcap.h:28<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from&nbsp;&nbsp;/usr/include/pcap/pcap.h:28\<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from&nbsp;&nbsp;/usr/include/pcap/pcap.h:28<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from&nbsp;&nbsp;/usr/include/pcap/pcap.h:28
<br>&nbsp;&nbsp;&nbsp;&nbsp;[...]<br>&gt; /usr/include/pcap/pcap.h:28:18: error: #include nested too deeply<br><br>hmm, interesting. is there also a /usr/include/pcap.h on<br>your machine? what happens if you create a file test.c<br>containing,
<br>&nbsp;&nbsp;&nbsp;&nbsp;#include &lt;pcap.h&gt;<br>and then run gcc -E on it?<br><br>--<br>You cannot win the game, and you are not allowed to stop playing<br>(the third law)<br></blockquote></span></div></div><br>


</blockquote></div><br>

------=_Part_237362_23150627.1169536038487--