Version 3 (modified by salcock, 11 years ago) (diff)

Mention the llvm stuff on the installation page

Installing Libtrace

Required Software:

Highly Recommended Software:

  • zlib-dev (will enable gzip compression and decompression)

Optional Software:

  • DAG libraries (required if you wish to capture using a DAG card)
  • llvm-dev, llvm-gcc-4.2 and libboost-dev (required for using the BPF-JIT code)
  • libbz2-dev (will enable bzip compression and decompression)
  • liblzo2-dev (will enable lzo compression)

Compiling and Installing Libtrace

make install

By default, libtrace will install to /usr/local ; this can be changed by adding --prefix=<install location> to the configure line. Other configuration options, if required, can be viewed by running ./configure --help.

The BPF-JIT functionality is disabled by default - you will need to add --with-llvm to your configure line to enable it. Note that you will require llvm-dev, llvm-gcc-4.2 and libboost-dev. Even then, it may not work if these (particularly llvm-gcc-4.2) have been installed in unexpected locations.

Following installation, you may need to add the line '/usr/local/lib' to your /etc/ and run 'ldconfig' as root.