Libpcap

From CBLFS
Revision as of 17:27, 4 December 2006 by Kalessin (talk | contribs) (I added the package description from BLFS.)
Jump to navigationJump to search
Download Source: http://www.at.tcpdump.org/release/libpcap-0.9.4.tar.gz

Introduction to Libpcap

Libpcap provides functions for user-level packet capture, used in low-level network monitoring.

Dependencies

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package

make install &&
install -v -m755 -d /usr/share/doc/libpcap-0.9.4 &&
install -v -m644 doc/*{html,txt} /usr/share/doc/libpcap-0.9.4

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install &&
install -v -m755 -d /usr/share/doc/libpcap-0.9.4 &&
install -v -m644 doc/*{html,txt} /usr/share/doc/libpcap-0.9.4
Retrieved from "?title=Libpcap&oldid=4335"