-
Notifications
You must be signed in to change notification settings - Fork 13
Install only libpaje.so
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.
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
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