diff options
author | Daniel Gustafsson <dgustafsson@postgresql.org> | 2023-03-27 21:35:19 +0200 |
---|---|---|
committer | Daniel Gustafsson <dgustafsson@postgresql.org> | 2023-03-27 21:35:19 +0200 |
commit | 50792b15537147a5e62e672568bd14e1e9292db2 (patch) | |
tree | 46a51f94099119c45dae629c611196a239209a9c | |
parent | d90d59e2503879cc2742a3a0eee01d2af2cca02d (diff) | |
download | postgresql-50792b15537147a5e62e672568bd14e1e9292db2.tar.gz postgresql-50792b15537147a5e62e672568bd14e1e9292db2.zip |
doc: Fix XML_CATALOG_FILES env var for Apple Silicon machines
Homebrew changed the prefix for Apple Silicon based machines, so
our advice for XML_CATALOG_FILES needs to mention both. More info
on the Homebrew change can be found at:
https://github.com/Homebrew/brew/issues/9177
This is backpatch of commits 4c8d65408 and 5a91c7975, the latter
which contained a small fix based on a report from Dagfinn Ilmari
Mannsåker.
Author: Julien Rouhaud <julien.rouhaud@free.fr>
Discussion: https://postgr.es/m/20230327082441.h7pa2vqiobbyo7rd@jrouhaud
-rw-r--r-- | doc/src/sgml/docguide.sgml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/src/sgml/docguide.sgml b/doc/src/sgml/docguide.sgml index 55ef6417749..2d8d5cd64f2 100644 --- a/doc/src/sgml/docguide.sgml +++ b/doc/src/sgml/docguide.sgml @@ -209,10 +209,14 @@ brew install docbook docbook-xsl libxslt fop <para> The Homebrew-supplied programs require the following environment variable - to be set: + to be set. For Intel based machines, use this: <programlisting> export XML_CATALOG_FILES=/usr/local/etc/xml/catalog </programlisting> + On Apple Silicon based machines, use this: +<programlisting> +export XML_CATALOG_FILES=/opt/homebrew/etc/xml/catalog +</programlisting> Without it, <command>xsltproc</command> will throw errors like this: <programlisting> I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd |