Difference between revisions of "Libpcap"

From CBLFS
Jump to navigationJump to search
(Introduction to Libpcap)
Line 9: Line 9:
 
== Introduction to Libpcap ==
 
== Introduction to Libpcap ==
  
Libpcap provides functions for user-level packet capture, used in low-level network monitoring.
+
<Package Description Needed>
  
 
== Dependencies ==
 
== Dependencies ==

Revision as of 23:44, 11 January 2007

Download Source: http://www.at.tcpdump.org/release/libpcap-1.0.0.tar.gz

Introduction to Libpcap

<Package Description Needed>

Dependencies

Non-Multilib

Compile the package:

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

Install the package

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

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-1.0.0 &&
install -v -m644 doc/*{html,txt} /usr/share/doc/libpcap-1.0.0