Building PostgreSQL documentation

On my Slackware Linux I installed sgml-tools package first, then followed http://developer.postgresql.org/pgdocs/postgres/docguide-toolsets.html with one correction:

  • Use --enable-default-catalog=/usr/share/sgml/catalog option when configuring both OpenSP and OpenJade
  • to built man pages I had to download and install docbook2man-sgmlspl. Also I had to define env.variable
export D2MDIR=/usr/bin

After that building of documentation went smoothly :)


If you got error message

(Fatal format file error; I'm stymied)

when installing jadetex ( jadetex-3.13), then you need to do:

  • Edit Makefile and change tex → latex
  • in /usr/share/texmf/bin you need to
ln -s pdfetex pdfjadetex
ln -s pdfetex jadetex

instead of installation instruction.