pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: John Lumby <johnlumby@hotmail.com>
Cc: Pg Docs <pgsql-docs@postgresql.org>
Subject: Re: Cannot build docs on Ubuntu 10.04?
Date: Wed, 14 Mar 2012 11:13:39 -0300
Message-ID: <1331734254-sup-6864@alvh.no-ip.org> (raw)
In-Reply-To: <COL116-W9647A1E352CAF66550327A3590@phx.gbl>
References: <COL116-W9647A1E352CAF66550327A3590@phx.gbl>


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



view thread (21+ messages)  latest in thread

Message-ID: <1331734254-sup-6864@alvh.no-ip.org>
Permalink:  ../1331734254-sup-6864@alvh.no-ip.org/
Also on:    postgresql.org/message-id/1331734254-sup-6864@alvh.no-ip.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: alvherre@commandprompt.com, johnlumby@hotmail.com
  Subject: Re: Cannot build docs on Ubuntu 10.04?
  In-Reply-To: <1331734254-sup-6864@alvh.no-ip.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox