-
Notifications
You must be signed in to change notification settings - Fork 6
Building
This is a short guideline providing information for building pcapFS independent from your linux distribution (However, when you have an Ubuntu, Kali or Fedora machine, we recommend to just execute install-all-dependencies.sh
in the folder scripts/dependencies
).
First, you need to install all build tools.
This means, CMake, gcc, binutils, boost (if you can, do it from your packet manager and install boost plus the boost-development packages, otherwise use the install script). If some step is failing, install the regarding build tool (and open a ticket on the bugtracker so we can update the wiki).
Next, install the dependencies accordingly to the helper-scripts. They won't run any make install
copying files into your system folders, instead they install all dependencies into the dependencies folder in the project's folder pcapFS/dependencies
.
The scripts are located in pcapFS/scripts/dependencies:
(Read the scripts before launching any of them to prove if they fit to your needs and environments)
Change into the directory pcapFS/scripts/dependencies and run the scripts accordingly:
cd pcapFS/scripts/dependencies
./install-cpptoml.sh
./install-openssl.sh
./install-json.sh
./install-pcap-plus-plus.sh
./install-fuse.sh
./install-fusepp.sh
If you could install the boost development packages for your distribution via packetmanager you should be able to build the project, otherwise build it manually as dependency:
./install-boost.sh
Then you can build the project:
mkdir build
cd build
cmake ..
make -j$(nproc)
If any error occurs when building a dependency or the project itself, please open a bugreport.