I've got Mac OS X 10.2, Aug Dev Tools and fink experimental CVS
> rohanl@gromit> uname -a
> Darwin gromit 6.0 Darwin Kernel Version 6.0: Sat Jul 27 13:18:52 PDT
> 2002; root:xnu/xnu-344.obj~1/RELEASE_PPC Power Macintosh powerpc
>
> rohanl@gromit> fink --version
> Package manager version: 0.10.0.cvs
> Distribution version: 0.4.0.cvs
I try to install ethereal:
> rohanl@gromit> fink install ethereal
And it fails in configure with:
> 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
If I manually look for bpf.h:
> rohanl@gromit> locate bpf.h | xargs ls -l
> -rw-r--r-- 1 root wheel 12229 May 23 04:49
> /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/
> bpf.h
> -rw-r--r-- 1 root admin 12943 Sep 9 15:34
> /Volumes/Local/sw/include/net/bpf.h
> -r--r--r-- 1 root wheel 12229 Jul 28 06:05
> /usr/include/net/bpf.h
There's both an Apple version and a Fink version.
Having a look at config.log:
> configure:7349: checking for net/bpf.h
> configure:7359: gcc -E -traditional-cpp -I/sw/include -I$(top_srcdir)
> -I$(top_sr
> cdir)/wiretap -I/usr/local/include -I/sw/include conftest.c >/dev/null
> 2>conftes
> t.out
> cpp0: warning: changing search order for system directory
> "/usr/local/include"
> cpp0: warning: as it has already been specified as a non-system
> directory
> configure: failed program was:
> #line 7354 "configure"
> #include "confdefs.h"
> #include <net/bpf.h>
If we look at the configure script:
> ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
> if test -z "$ac_err"; then
> rm -rf conftest*
> eval "ac_cv_header_$ac_safe=yes"
> else
> echo "$ac_err" >&5
> echo "configure: failed program was:" >&5
> cat conftest.$ac_ext >&5
> rm -rf conftest*
> eval "ac_cv_header_$ac_safe=no"
> fi
It looks to me like the warning lines about /usr/local/include are
stopping the test working, because $ac_err is non zero.
So,
1) Where did the Fink version of bpf.h come from, and should it be
there?
2) How should the configure script in ethereal be fixed?
--
Rohan Lloyd
-------------------------------------------------------
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