[ELDK] pcap library and tcpdump in ELDK

Dave Rensberger David.Rensberger at ambientcorp.com
Fri Oct 31 16:05:37 CET 2008


I've gotten beyond the issues with configure not being run the way I
wanted to, but now I'm stuck on something that I think may be an issue
with the ELDK openssl RPM.   Tcpdump's build process is looking for a
file called "/usr/include/openssl/opensslconf-ppc.h".  A quick google
search indicates that the regular fedora ppc rpm for openssl does indeed
have a header file with this name, but in ELDK's openssl it seems to be
missing.

--Dave

-----Original Message-----
From: stefano babic [mailto:stefano.babic at babic.homelinux.org] 
Sent: Thursday, October 30, 2008 5:06 AM
To: Dave Rensberger
Cc: Wolfgang Denk; eldk at lists.denx.de
Subject: Re: [ELDK] pcap library and tcpdump in ELDK

Dave Rensberger wrote:
> 
>  %build
>  pushd %tcpslice_dir
>  #%configure
>  ac_cv_linux_vers=2

I think this does not work. You must probably insert ac_cv_linux_vers=2
in a config.cache file if you run the %configure rpm macro.
However, you can run directly the configure script in this way:

%build
ac_cv_linux_vers=2 ./configure --host=$RPM_ARCH-linux --build=%{_host} \
 --with-pcap=linux

However, I am missing why you need to generate the rpm if everything you
want is to get libpcap/tcpdump running on your system. You can
cross-compile them directly from sources (that is, tarballs) and copy
them on your root file system. This is a straightforward approach if you
do not want to create your own distribution.

Best regards,
Stefano

-- 
stefano <stefano.babic at babic.homelinux.org>
GPG Key: 0x55814DDE
Fingerprint 4E85 2A66 4CBA 497A 2A7B D3BF 5973 F216 5581 4DDE


More information about the eldk mailing list