Skip to content

Building and Installing

Sam Stuewe edited this page Dec 2, 2018 · 10 revisions

Feel free to add links to packages and installation/building instructions here.

Dependencies

Versions of all dependencies are not tested. pbpst may compile and function just fine with older versions, but upstream only tests against the latest versions of all dependencies.

Put more plainly, keep everything up-to-date and it should JustWork™.

Runtime

Buildtime

(though you will need to use custom CFLAGS as well; upstream only tests with clang)

From Scratch

Once you have all the dependencies installed and you are ready to go, you can run ./configure to give you a solid idea if the build will succeed (note that it makes a few assumptions about how the host system is structured, so it is not a guarantee about whether or not the build will succeed). You can also use ./configure to modify some build options without needing to manually interact with the Makefile. Once you are satisfied the rest of the build process is quite simple:

$ ./configure --prefix=pre
$ make
$ make DESTDIR=dest install

You will find all the resultant build files in dist (you may need to run the install target with root permissions depending on the permissions set on destination you specify).

Arch Linux

Since upstream actually does development on Arch, most of the heavy lifting for Arch users has already been done.

Pre-Built

You can install pbpst from the [community] repository.

Hand-Crafted

You can install pbpst-git from the AUR (it tracks pbpst's master branch).

Debian

Install the required dependencies:

# apt install libjansson-dev libcurl4-openssl-dev clang python3-sphinx

And follow the From Scratch section. Compilation was tested with Debian 9, clang-3.8 and clang-6.0.

Clone this wiki locally