Re: [Patch] PDF builds on Red Hat for <= 9.6

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Devrim Gündüz <devrim(at)gunduz(dot)org>
Cc: pgsql-docs <pgsql-docs(at)postgresql(dot)org>
Subject: Re: [Patch] PDF builds on Red Hat for <= 9.6
Date: 2017-11-08 16:54:37
Message-ID: 22619.1510160077@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= <devrim(at)gunduz(dot)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

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Devrim Gündüz 2017-11-08 17:07:11 Re: [Patch] PDF builds on Red Hat for <= 9.6
Previous Message Devrim Gündüz 2017-11-08 16:29:51 [Patch] PDF builds on Red Hat for <= 9.6