diff options
author | Daniel Gustafsson | 2023-03-27 09:56:19 +0000 |
---|---|---|
committer | Daniel Gustafsson | 2023-03-27 09:56:19 +0000 |
commit | 4c8d654084700f801f48827bb3531a6779b8b90e (patch) | |
tree | 0853413785024afb0a87fbb186c461120c44ed7a /doc/src/sgml/docguide.sgml | |
parent | b577743000cd0974052af3a71770a23760423102 (diff) |
doc: Fix XML_CATALOG_FILES env var for Apple M1 machines
Homebrew changed the prefix for Apple M1 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
Author: Julien Rouhaud <[email protected]>
Discussion: https://postgr.es/m/20230327082441.h7pa2vqiobbyo7rd@jrouhaud
Diffstat (limited to 'doc/src/sgml/docguide.sgml')
-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 cf8c072a49c..599c8e62ea2 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 M1 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 |