Compiling libpri

The libpri libraries do not make use of the autoconf build environment or the menuselect feature as they are unnecessary; thus, the installation is simplified. libpri is used by various makers of Time Division Multiplexing (TDM) hardware, but even if you don’t have the hardware installed, it is safe to compile and install this library. You must compile and install libpri before Asterisk, as it will be detected and used when Asterisk is compiled. Here are the commands (replace version with your version of libpri):

# cd /usr/src/libpri-version
         
# make clean
# make
# make install