Difference between revisions of "Libpcap"
From CBLFS
Jump to navigationJump to search (I added the package description from BLFS.) |
|||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://www.at.tcpdump.org/release/libpcap- | + | | http://www.at.tcpdump.org/release/libpcap-{{Libpcap-Version}}.tar.gz |
|} | |} | ||
Line 23: | Line 23: | ||
make install && | make install && | ||
− | install -v -m755 -d /usr/share/doc/libpcap- | + | install -v -m755 -d /usr/share/doc/libpcap-{{Libpcap-Version}} && |
− | install -v -m644 doc/*{html,txt} /usr/share/doc/libpcap- | + | install -v -m644 doc/*{html,txt} /usr/share/doc/libpcap-{{Libpcap-Version}} |
== Multilib == | == Multilib == | ||
Line 60: | Line 60: | ||
make install && | make install && | ||
− | install -v -m755 -d /usr/share/doc/libpcap- | + | install -v -m755 -d /usr/share/doc/libpcap-{{Libpcap-Version}} && |
− | install -v -m644 doc/*{html,txt} /usr/share/doc/libpcap- | + | install -v -m644 doc/*{html,txt} /usr/share/doc/libpcap-{{Libpcap-Version}} |
Revision as of 16:02, 17 December 2006
Download Source: | http://www.at.tcpdump.org/release/libpcap-1.0.0.tar.gz |
---|
Contents
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-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