Thread

  1. [PATCH] Fix XML_CATALOG_FILES env var for Apple M1 base machines.

    Julien Rouhaud <julien.rouhaud@free.fr> — 2023-03-27T08:18:12Z

    Author: Julien Rouhaud
    Reviewed-by: FIXME
    Discussion: FIXME
    ---
     doc/src/sgml/docguide.sgml | 6 +++++-
     1 file changed, 5 insertions(+), 1 deletion(-)
    
    diff --git a/doc/src/sgml/docguide.sgml b/doc/src/sgml/docguide.sgml
    index cf8c072a49..81626d51cd 100644
    --- a/doc/src/sgml/docguide.sgml
    +++ b/doc/src/sgml/docguide.sgml
    @@ -209,9 +209,13 @@ 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:
     <programlisting>
     export XML_CATALOG_FILES=/usr/local/etc/xml/catalog
    +</programlisting>
    +    or for Apple M1 based machines:
    +<programlisting>
    +export XML_CATALOG_FILES=/opt/homebrew//etc/xml/catalog
     </programlisting>
         Without it, <command>xsltproc</command> will throw errors like this:
     <programlisting>
    -- 
    2.37.0
    
    
    --d3j7adnnxvsczcrx--