Skip to content

Install only libpaje.so

Alef Farah edited this page Sep 21, 2016 · 2 revisions

libpaje.so has all the basic building blocks for creating a program capable to read (Paje trace files), to simulate events and expose the data through a well-defined Paje-aware interface. Here are the steps to build libpaje.so only.

Depedencies

This package list is from a Linux Ubuntu 12.04 installation. Your installation might have packages with different names. Adapt accordingly, considering that you'll need git, cmake, and a C/C++ compiler with support for C++11.

sudo apt-get install git cmake build-essential

Compile and Install

We recommend an out-of-source compilation:

 git clone git://github.com/schnorr/pajeng.git ;
 mkdir -p pajeng/build ;
 cd pajeng/build ;
 cmake -DPAJENG=OFF \
       -DPJ_DUMP=OFF \
       -DPJ_VALIDATE=OFF \
       -DPAJE_UTILS_LIBRARY=OFF \
       -DPAJE_LIBRARY=ON .. ;
 make ;
 make install

When you configure PajeNG, you may want to specify an installation directory for all the PajeNG's binaries. You do that using cmake, like this (supposing you are inside the build directory within PajeNG's cloned repository and you want to install everything in /tmp/PajeNG/):

 cmake -DCMAKE_INSTALL_PREFIX=/tmp/PajeNG/ .. ;
 make ;
 make install
Clone this wiki locally