Moved to Confluence 9/25/2017
The HerdBook (pdf) is built by PHP program.
PDFlib is required by the PHP program. It is available for download from http://www.pdflib.com/download/free-software/pdflib-lite-7/. Currently, the software is 7.0.5.
The source code is downloaded and unpacked into /usr/local/src and requires the following packages (from Yum):
gcc-c++ (to build the pecl module.)
- python-devel (if you wish to use PDFlib from python.)
Once downloaded and unpacked, the source may be built by running the usual ./configure, make and make install. The header is installed at /usr/local/include/libpdf.h.
Installing PHP PDFlib
The PHP extension may be installed via pecl:
# pecl install pdflib
When prompted, enter the path to the PDFlib:
path to pdflib installation? : /usr/local/unclude