thanks for the reply:
I am on the 64bit install of OpenSuse 11.3 and am trying just to compile xprobe from a tar just to make sure that there will not be issue with building the rpm. So when I run ./configure --with-libpcap-includes=/usr/lib64/ where my libpcap resides, it seems as though is doesn't see it. When looking at the requirements I seem to have what is needed:
PHP Code:
Requirements
------------
- A C++ compiler. (gcc will do)
- libusi++ (included with the distribution)
- lipcap (use version 0.6.x or later)
If libpcap is not installed in standard path, use --with-libpcap-libraries=/path/
and --with-libcap-includes=/path options.
PHP Code:
rpm -ql libpcap1-1.1.1-1.12.x86_64
/usr/lib64/libpcap.so.1
/usr/lib64/libpcap.so.1.1.1
/usr/share/doc/packages/libpcap1
/usr/share/doc/packages/libpcap1/CHANGES
/usr/share/doc/packages/libpcap1/CREDITS
/usr/share/doc/packages/libpcap1/LICENSE
/usr/share/doc/packages/libpcap1/README
/usr/share/doc/packages/libpcap1/README.linux
This is the output of the ./configure script:
PHP Code:
./configure --with-libpcap-includes=/usr/lib64/
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking glib.h usability... no
checking glib.h presence... no
checking for glib.h... no
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking if sa_len is in struct sockaddr... no
checking for pcap_datalink in -lpcap... no
ERROR! Libpcap library/headers not found.
http://www.tcpdump.org/ is a good place to fetch one
if libpcap library is installed, use the --with-libpcap-* options
to specify pathes to include and library files locations.
Any suggestions?