Table of Contents
The Pazpar2 package is very small. It includes documentation as well as the Pazpar2 server. The package also includes a simple user interface test1 which consists of a single HTML page and a single JavaScript file to illustrate the use of Pazpar2.
Pazpar2 depends on the following tools/libraries:
The popular Z39.50 toolkit for the C language. YAZ must be compiled with Libxml2/Libxslt support.
ICU provides Unicode support for non-English languages with character sets outside the range of 7bit ASCII, like Greek, Russian, German and French. Pazpar2 uses the ICU Unicode character conversions, Unicode normalization, case folding and other fundamental operations needed in tokenization, normalization and ranking of records.
Compiling, linking, and usage of the ICU libraries is optional, but strongly recommended for usage in an international environment.
In order to compile Pazpar2, a C compiler which supports C99 or later is required.
The latest source code for Pazpar2 is available from http://ftp.indexdata.com/pub/pazpar2/. Only few systems have none of the required tools binary packages. If, for example, Libxml2/libXSLT libraries are already installed as development packages use these.
Ensure that the development libraries + header files are available on your system before compiling Pazpar2. For installation of YAZ, refer to the YAZ installation chapter.
gunzip -c pazpar2-version.tar.gz|tar xf - cd pazpar2-version ./configure make su make install
The make install
will install manpages as well as the
Pazpar2 server, pazpar2
,
in PREFIX/sbin
.
By default, PREFIX is /usr/local/
. This can be
changed with configure option --prefix
.