Ethereal-users: Re: [Ethereal-users] Yet Another Problem With Compile of Ethereal Mac OS X 10.3.

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

From: "Claude V. Lucas" <claudel@xxxxxxxxx>
Date: Mon, 08 Mar 2004 18:43:49 -0800
On 3/7/04 11:44 PM, "Claude V. Lucas" <claudel@xxxxxxxxx> wrote:

> On 3/2/04 1:02 PM, "Guy Harris" <gharris@xxxxxxxxx> wrote:
> 
>> Claude V. Lucas said:
>>> Trying to build 0.10.2 under OS X 10.3.2 latest devsys installed
>> 
>> Have you also installed the latest Security Update?  If so, note that it
>> *partially* installes libpcap 0.8.1 - it installs the library, but *not*
>> the relevant header files.
>> 
>>> Some ( most ) non-Apple components installed via Fink in /sw
>>> I built & installed latest libpcap (0.8.1) via the  Fink install in /sw.
>>> I get the following after running
>> 
>> The libpcap header files that Ethereal is using in the configure script
>> are the ones from 10.3.2.
>> 
>> The libpcap library that Ethereal is using in the configure script is the
>> 0.8.1 one, whether it came from Fink or the latest security update.
>> 
>> If you've installed the latest Security Update, I'd un-install the Fink
>> libpcap, get the libpcap 0.8.1 source, and copy the "pcap.h",
>> "pcap-stdinc.h", and "pcap-bpf.h" header files from the libpcap 0.8.1
>> source into "/usr/include", and then try re-running the configure script.
> 
> Hi Guy
> 
> Thanks for the help. (Again.)
> I have installed the latest updates from Apple, including the Security
> Update.
> 
> I uninstalled the fink-installed libpcap and libpcap-shlibs
> Copied the *.h files you indicated from the libpcap 0.8.1 source to
> /usr/include, ran make distclean, re-ran ./configure with the same options,
> and got the same results .
> 
> After that I also built & installed the libpcap 0.8.1 source into /usr/local
> and re-ran make distclean and ./configure with --with-pcap=/usr/local
> re-ran make and still had the same failure. I also tried it without the
> --with-pcap=/usr/local option without any success.
> 
> Any other ideas?
> 
> TIA
> 
> Claude
> 


Somehow this managed to go out without the update.
I found the problem. There was an old version of pcap.h in
/Developer/SDKs/MacOSX10.3.0.sdk/usr/include
that somehow was being used before the ones in /usr/include or
/usr/local/include

Once I got rid of that the build finished successfully.


Thanks again for all the good work.


Claude