Skip site navigation (1) Skip section navigation (2)

Re: Cannot build docs on Ubuntu 10.04?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: John Lumby <johnlumby(at)hotmail(dot)com>
Cc: Pg Docs <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Cannot build docs on Ubuntu 10.04?
Date: 2012-03-14 14:13:39
Message-ID: 1331734254-sup-6864@alvh.no-ip.org (view raw or flat)
Thread:
Lists: 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(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

pgsql-docs by date

Next:From: Tom LaneDate: 2012-03-14 14:21:55
Subject: Re: Cannot build docs on Ubuntu 10.04?
Previous:From: John LumbyDate: 2012-03-14 13:25:19
Subject: Re: Cannot build docs on Ubuntu 10.04?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group