Compiling pgagroal from sources

May 14, 2026 ยท View on GitHub

pgagroal requires the following dependencies:

Compiling on Rocky Linux

All the dependencies can be installed via dnf(8) as follows:

dnf install git gcc cmake make    \
            libev libev-devel     \
            openssl openssl-devel \
            systemd systemd-devel \
            python3-docutils      \
            libatomic             \
            zlib zlib-devel       \
            libzstd libzstd-devel \
            lz4 lz4-devel         \
            bzip2 bzip2-devel     \
            binutils              \
            clang clang-analyzer clang-tools-extra

Please note that, on Rocky Linux, in order to install the python3-docutils package (that provides rst2man executable), you need to enable the crb repository:

dnf config-manager --set-enabled crb

Compiling on FreeBSD

All the dependencies can be installed via pkg(8) as follows:

pkg install cmake          	\
            libev libevent 	\
            py311-docutils 	\
            lzlib           \
            liblz4          \
            lbizp2          \
            texlive-formats \
            binutils