Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4c8d654

Browse files
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: Homebrew/brew#9177 Author: Julien Rouhaud <julien.rouhaud@free.fr> Discussion: https://postgr.es/m/20230327082441.h7pa2vqiobbyo7rd@jrouhaud
1 parent b577743 commit 4c8d654

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/src/sgml/docguide.sgml

+5-1
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,13 @@ brew install docbook docbook-xsl libxslt fop
209209

210210
<para>
211211
The Homebrew-supplied programs require the following environment variable
212-
to be set:
212+
to be set. For Intel based machines, use this:
213213
<programlisting>
214214
export XML_CATALOG_FILES=/usr/local/etc/xml/catalog
215+
</programlisting>
216+
On Apple M1 based machines, use this:
217+
<programlisting>
218+
export XML_CATALOG_FILES=/opt/homebrew/etc/xml/catalog
215219
</programlisting>
216220
Without it, <command>xsltproc</command> will throw errors like this:
217221
<programlisting>

0 commit comments

Comments
 (0)