(Questions like this should be sent to "[EMAIL PROTECTED]",
not "[EMAIL PROTECTED]".)

On Tue, Dec 12, 2000 at 04:21:07PM +0200, der KiLLAH ist ein Junkie wrote:
> my system is :
> sh-2.03$ uname -ap
> Linux Silicon 2.2.17 #1 Mon Dec 11 13:30:41 EET 2000 i686 unknown
> 
> after doing ./configure ias user root in the tcpdump section...
> and taking these output that seems ok !.... :
> output of commanf ./configure :->
> sh-2.03# ./configure
> loading cache ./config.cache
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-pc-linux-gnu
> checking build system type... i686-pc-linux-gnu
> checking for gcc... (cached) gcc

Well, the "cached" part seems to imply that you had run "configure" in
this directory at least once before.  Were you able to build it earlier?
If so, where did you get the source when you succeeded in building it,
and what did you change?  If not, did you just try running "configure"
in this directory, with the same source, more than once?

        ...

> checking for local pcap library... not found

It looks as if you didn't download libpcap from the tcpdump.org site
into the same directory as the one into which you downloaded tcpdump, as
it didn't find a "local pcap library".

However:

> checking for main in -lpcap... (cached) yes

it looks as if it *did* find a libpcap library on your system, at least
at one time.  Did you ever download and install libpcap from the
tcpdump.org site?  If not, did you install any libpcap package on your
system?

        ...

> creating Makefile
> creating config.h
> config.h is unchanged
> 
> ->THEN I DO :
> make and this is what i get !!!!
> 
> sh-2.03# make
> gcc -O2 -DHAVE_CONFIG_H -I.  -I./missing -I./linux-include -c
> ./tcpdump.c
> ./tcpdump.c:47: pcap.h: No such file or directory
> make: *** [tcpdump.o] Error 1
> 
> WHAT I AM ASKING FROM YOU IS IF YOU CAN TELL ME HOW I WILL
> SOLVE THAT PROBLEM AND FINALLY I WILL HAVE THE TCPDUMP INSTALLED
> CORRECTLY ON MY LINUX.

If you installed a libpcap package on your system, the package may have
been just a run-time package, with a libpcap shared library.

If you want to *compile* programs that use libpcap, and the package you
installed is only a run-time package, you'll also have to find a
developer's package of some sort and install it (I have never used
Slackware, so I don't know whether there are separate run-time and
developer's packages for libpcap, whether there are any libpcap packages
at all for slackware, or where a developer's package can be found or
what it's called), or download the libpcap source from tcpdump.org that
corresponds to the tcpdump package you installed (if you downloaded
tcpdump-3.5.2, download libpcap-0.5.2; if you downloaded
tcpdump-current, download libpcap-current and then download
tcpdump-current again, so that you have matching versions of the libpcap
and tcpdump packages).
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to