Re: [DOCS] [Patch] PDF builds on Red Hat for <= 9.6 - Mailing list pgsql-docs

From Tom Lane
Subject Re: [DOCS] [Patch] PDF builds on Red Hat for <= 9.6
Date
Msg-id 22619.1510160077@sss.pgh.pa.us
Whole thread Raw
In response to [DOCS] [Patch] PDF builds on Red Hat for <= 9.6  (Devrim Gündüz <devrim@gunduz.org>)
Responses Re: [DOCS] [Patch] PDF builds on Red Hat for <= 9.6
List pgsql-docs
Devrim Gündüz <devrim@gunduz.org> writes:
> Every time I install a new laptop, I lose a few hours while building Postgres
> PDFs, because of some missing packages, so time to send a patch.
>
> -yum install docbook-dtds docbook-style-dsssl docbook-style-xsl libxslt openjade
> +yum install docbook-dtds docbook-style-dsssl docbook-style-xsl libxslt openjade texlive-collection-fontsrecommended
texlive-times

Hm ... my RHEL6 machine, which certainly can build the documentation,
hasn't got either of those:

$ rpm -qa | grep texlive | sort
texlive-2007-60.el6_7.x86_64
texlive-dvips-2007-60.el6_7.x86_64
texlive-latex-2007-60.el6_7.x86_64
texlive-texmf-2007-39.el6_7.noarch
texlive-texmf-dvips-2007-39.el6_7.noarch
texlive-texmf-errata-2007-7.1.el6.noarch
texlive-texmf-errata-dvips-2007-7.1.el6.noarch
texlive-texmf-errata-fonts-2007-7.1.el6.noarch
texlive-texmf-errata-latex-2007-7.1.el6.noarch
texlive-texmf-fonts-2007-39.el6_7.noarch
texlive-texmf-latex-2007-39.el6_7.noarch
texlive-utils-2007-60.el6_7.x86_64

So evidently Red Hat has refactored their TeX RPMs since then.
I don't doubt Devrim's conclusions are good for recent Red Hat
releases, but we might want to add some weasel wording saying
that the required package set has moved around.

Personally, my longstanding habit has been to select the
"Authoring & Publishing" package set when installing any new
RHEL or Fedora box, and as far as I can recall, that's always
Just Worked for building PG docs.  Maybe we should mention
that strategy as a preferable one.
        regards, tom lane


--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

pgsql-docs by date:

Previous
From: Devrim Gündüz
Date:
Subject: [DOCS] [Patch] PDF builds on Red Hat for <= 9.6
Next
From: Devrim Gündüz
Date:
Subject: Re: [DOCS] [Patch] PDF builds on Red Hat for <= 9.6