RefLib

Reference library for AI

Back

postgresql_16:9.10.2.4 macOS

PostgreSQL 16 > Appendixes > Documentation > Tool Sets > macOS

If you use MacPorts, the following will get you set up: sudo port install docbook-xml docbook-xsl-nons libxslt fop If you use Homebrew, use this: brew install docbook docbook-xsl libxslt fop

The Homebrew-supplied programs require the following environment variable to be set. For Intel based machines, use this: export XML_CATALOG_FILES=/usr/local/etc/xml/catalog On Apple Silicon based machines, use this: export XML_CATALOG_FILES=/opt/homebrew/etc/xml/catalog Without it, xsltproc will throw errors like this: I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd postgres.sgml:21: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" ...

While it is possible to use the Apple-provided versions of xmllint and xsltproc instead of those from MacPorts or Homebrew, you'll still need to install the DocBook DTD and stylesheets, and set up a catalog file that points to them.

Back