Re: MacPorts xsltproc is very slow?

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alexander Lakhin <exclusion(at)gmail(dot)com>, pgsql-docs <pgsql-docs(at)postgresql(dot)org>
Subject: Re: MacPorts xsltproc is very slow?
Date: 2018-03-02 19:51:54
Message-ID: CA+Tgmob1T639bJFmT4dBm2YFpaLXg8=afwDhVWfF3ifUuNMBaw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Sun, Nov 26, 2017 at 5:03 PM, Thomas Munro
<thomas(dot)munro(at)enterprisedb(dot)com> wrote:
> That got me wondering... why does the Apple xsltproc in /usr/bin work
> then? Where is it even getting docbook-xsl from? I ran it with
> --profile and http://docbook.sourceforge.net instead of file:// URLs,
> and I could see outgoing connections with netstat. It believe that's
> because it doesn't find it locally in /etc/xml/catalog, whereas the
> MacPorts xsltproc looks in /opt/locl/etc/xml/catalog where it has been
> listed by the docbook-xsl package.
>
> So one solution is simply to uninstall the docbook-xsl package. That
> gets me back to fast documentation builds!

For me, the documentation build fails without docbook-xsl. I wonder
why it works for you.

It also fails for me if I follow the instructions in the documentation:

If you use MacPorts, the following will get you set up:
<programlisting>
sudo port install docbook-xml-4.2 docbook-xsl fop
</programlisting>

I have to also 'port install libxslt'. Otherwise, /usr/bin/xsltproc
is used, and it won't use files installed by MacPorts packages.

And then it takes, like you reported originally, an insanely long time.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2018-03-02 20:02:32 Special Chars in Param Settings
Previous Message Magnus Hagander 2018-03-02 11:58:50 Re: libpq options