Re: Cannot build docs on Ubuntu 10.04? - Mailing list pgsql-docs

From Alvaro Herrera
Subject Re: Cannot build docs on Ubuntu 10.04?
Date
Msg-id 1331734254-sup-6864@alvh.no-ip.org
Whole thread Raw
In response to Re: Cannot build docs on Ubuntu 10.04?  (John Lumby <johnlumby@hotmail.com>)
List pgsql-docs
Excerpts from John Lumby's message of mié mar 14 10:25:19 -0300 2012:
>
> On 12-01-2012 17:28, Josh Berkus wrote:
>
> > Can't open perl script "/bin/collateindex.pl": No such file or directory
>
> On Thu, 12 Jan 2012 19:37:20 -0300 Alvaro Herrera wrote:
>  >  dpkg -S collateindex.pl
> docbook-dsssl:
>
>  >  /usr/bin/collateindex.pl
>
>
> I wonder if everyone noticed that the postgres sgml makefile is looking for the script in /bin
> (see Josh's append)
> but docbook-dssl puts it in /usr/bin
> (see Alvaro's append).
>
> I think this line in
> postgresql-9.1.3/doc/src/sgml/Makefile
>
>  COLLATEINDEX = $(DOCBOOKSTYLE)/bin/collateindex.pl
>
> could be improved  -  maybe should read
>
> COLLATEINDEX = `which collateindex.pl`
>
> I fixed it by
>  ln `which collateindex.pl` /bin/collateindex.pl
>
> maybe this is what the "configure" that someone mentioned would have done?

What configure would have done is put the correct value of the
DOCBOOKSTYLE variable in Makefile.global.  In Josh's case,
collateindex.pl was not found so the variable is empty, with the results
you see.

I think there's nothing to change here, except maybe to warn something
if DOCBOOKSTYLE is defined to empty.

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-docs by date:

Previous
From: John Lumby
Date:
Subject: Re: Cannot build docs on Ubuntu 10.04?
Next
From: Tom Lane
Date:
Subject: Re: Cannot build docs on Ubuntu 10.04?