Sorry
Please correct the error message is :
"can't find pcap.h and you cannot go far without libpcap."
On 1/22/07, pat dwr-list@open.ch wrote:
Hi Neeraj,
probably I don't get the question but iftop is already running under Linux. Am I missing something?
pat
Neeraj Chowdhry wrote:
Hi All
We have developed a Web Bases Conferencing System with a maximum of 16 participants //
Now we want to implement iftop on Linux to ascertain the Network bandwith usage as individual participants join the Conference // Has anybody implemented iftop on Linux //
Please, revert back if anybody has any sort of information //
With thanks Neeraj Chowdhury
On Mon, Jan 22, 2007 at 05:15:42PM +0530, Neeraj Chowdhry wrote:
Sorry
Please correct the error message is :
"can't find pcap.h and you cannot go far without libpcap."
anything useful in config.log about where it's looking for pcap.h?
Hi Chris, Pat
Actually we have kept pcap.h under "/usr/include/pcap" and we have also used the command
"# CPPFLAGS=-I/usr/include/pcap ./configure" to explicitly mention the path of pcap.h and libpcap but it is giving the error as "can't find pcap.h and you cannot go very far without libpcap" //
What should be done to fix the problems //
With thanks Neeraj Chowdhury
On 1/22/07, Chris Lightfoot chris@ex-parrot.com wrote:
On Mon, Jan 22, 2007 at 05:15:42PM +0530, Neeraj Chowdhry wrote:
Sorry
Please correct the error message is :
"can't find pcap.h and you cannot go far without libpcap."
anything useful in config.log about where it's looking for pcap.h?
-- ``Computer-simulators, used to stage mock failures in the flight trainer, weren't working. This was a triumph of accurate simulation, but otherwise not amusing.'' (Gregg Easterbrook, on space shuttle development)
what's in the relevant section of config.log (please don't post the whole thing).
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 configure:5994: $? = 1 configure : failed program was : #line 5981 "configure" #include "confdefs.h"
#include <pcap.h> . . . . .
With thanks Neeraj Chowdhry
On 1/22/07, Chris Lightfoot chris@ex-parrot.com wrote:
what's in the relevant section of config.log (please don't post the whole thing).
-- Impeccable, a., not liable to detection. (Bierce)
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?
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)
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)
Neeraj,
are the headers present on your system? If yes, you might try the '--with-libpcap=WHERE' option when running ./configure.
pat
Neeraj Chowdhry wrote:
Sorry
Please correct the error message is :
"can't find pcap.h and you cannot go far without libpcap."
On 1/22/07, *pat* <dwr-list@open.ch mailto:dwr-list@open.ch> wrote:
Hi Neeraj, probably I don't get the question but iftop is already running under Linux. Am I missing something? pat Neeraj Chowdhry wrote: > Hi All > > We have developed a Web Bases Conferencing System with a maximum of 16 > participants // > > Now we want to implement iftop on Linux to ascertain the Network > bandwith usage as individual participants join the Conference // > Has anybody implemented iftop on Linux // > > Please, revert back if anybody has any sort of information // > > > With thanks > Neeraj Chowdhury