Ethereal-dev: [Ethereal-dev] configure failes with nonstandard installation of libpacap

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Harald.Schoeffel" <Harald.Schoeffel@xxxxxxxxxx>
Date: Wed, 07 Aug 2002 11:15:26 +0200
Hello,
I downloaded libpcap-0.7.1 from www.tcpdump.org

For this I did 
# ./configure --prefix=/opt/<somedir> --mandir=/phys/<anotherdir>
# make
# make install

without issues

Then I used ethereal-0.9.5 from www.ethereal.com to do

# ./configure --prefix=/phys/tools/ethereal-0.9.5
--includedir=/opt/<somedir>/include

which complained about a not found net/bpf.h


After I added 

CPPFLAGS="$CPPFLAGS -I$includedir"

to configure scipt (just before configure does the check for the
net/bpf.h)
all the usual configure,make,make install worked just fine.

Since I am not an automake/configure expert I'm quite sure this
is not "really" correct way to fix the problem - but anyway ... :-)
Somebody with better knowledge maybe should consider this issue
in future versions ?

This is on solaris 2.6.

Best regards,
Harald
-- 
 Harald Schoeffel  | Email: Harald.Schoeffel@xxxxxxxxxx
 ALCATEL SEL AG    | Phone: +49 711 821 40556
 Dept. VS/EGF4     | Fax:   +49 711 821 45403 
 D-70435 Stuttgart |