-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday, October 4, 2002, at 02:33  AM, Christoph Ewering wrote:
>
> Now I have another problem with ethereal, it can not find libpcap:
>
> checking for net/bpf.h... no
> configure: error: Header file net/bpf.h not found; if you installed  
> libpcap from source, did you also do "make install-incl"?
> ### execution of ./configure failed, exit code 1
> Failed: compiling ethereal-0.9.6-1 failed
> [stoffels-kraftbuch-g4-800:Library/StartupItems/BIND] eweri% locate  
> bpf.h
> /sw/include/net/bpf.h
> /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/ 
> bpf.h
> /usr/include/net/bpf.h
>
> What's worng?
>
> Bye,
>       Christoph

Do you have /usr/local/include on your system? If so, then you're  
getting bit by a gcc bug that occurs if the following conditions are  
met:

1. /usr/local/include exists, even if it's empty
2. -I/usr/local/include is specified on the gcc command line
3. -traditional-cpp and/or -no-cpp-precomp is also on the command line

When this happens, the preprocessor can forget to check /usr/include  
for header files. Obviously, this won't succeed! In the case of  
ethereal there are two workarounds. Rename /usr/local/include to  
something else temporarily, or edit fink's ethereal .info file by  
adding --disable-usr-local to the end of the ConfigureScript: line.  
Hopefully the maintainer will add this to the ethereal package. I've  
CC'ed this message to him.

The cyrus-sasl package also suffers from this bug, but it needs a  
patched configure script to workaround.

Hope that helps.
- -- 
Daniel Johnson
[EMAIL PROTECTED]

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (Darwin)
Comment: http://homepage.mac.com/~danielj7/publickey.txt

iD8DBQE9nalj4sDFGYouOqARAnnxAJ9pQ/JDr0QTxw0/38X7xLTc/aZ3kgCfZUA0
nT9SV65lsTd2uZKRTeGioQc=
=PmbV
-----END PGP SIGNATURE-----



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to