1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
Requirements:
* >=automake-1.9
* >=libpcap-0.8
* flex and bison
Strongly recommended:
* zlib-dev (for reading and writing compressed traces)
Optional:
* DAG libraries (both 2.4 and 2.5 versions are supported)
----------------------------------
Installing libtrace:
./bootstrap.sh (only if you've cloned the source from GitHub)
./configure
make
make install
The above series of commands will install libtrace into /usr/local/lib. If
you wish to install to a non-standard location, append the
--prefix=DIR option to the ./configure command. ./configure also takes
a number of other options - run ./configure --help to view a comprehensive
list.
You may need to add the library location (e.g. /usr/local/lib) to your
/etc/ld.so.conf and run 'ldconfig' as root.
----------------------------------
Installation FAQ:
Q. I've installed libpcap but I'm still getting the following error:
"libpcap0.8 or greater is required to compile libtrace. If you have installed
it in a non-standard location please use LDFLAGS to specify the location of
the library"?
A. You need to install the development version of the pcap library.
For example, Ubuntu/Debian users will need to install the libpcap0.8-dev
package in addition to the libpcap0.8 package.
----------------------------------
Using libtrace:
The best source of information on how to use libtrace and the tools that come
with it is the libtrace wiki located at
http://www.wand.net.nz/trac/libtrace/wiki
|