The PRI library (libpri) is optional and only needed if you'll be using any of the E1 cards with one or more basic rate lines such as an E1 or T1. If you do need libpri, compile it now, before you build DAHDI or Asterisk, like this:
cd .../asterisk tar -xvzf libpri.tar.gz cd libpri make clean make su make install