-
Notifications
You must be signed in to change notification settings - Fork 9
Building and Installing
Feel free to add links to packages and installation/building instructions here.
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™.
- clang - any ISO C11-compliant compiler *
- python-sphinx - only for the man pages
(though you will need to use custom CFLAGS as well; upstream only tests with clang)
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 installYou 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).
Since upstream actually does development on Arch, most of the heavy lifting for Arch users has already been done.
You can install pbpst from the [community] repository.
You can install pbpst-git from the AUR (it tracks pbpst's master branch).
Install the required dependencies:
# apt install libjansson-dev libcurl4-openssl-dev clang python3-sphinxAnd follow the From Scratch section. Compilation was tested with Debian 9, clang-3.8 and clang-6.0.