Re: Cannot build docs on Ubuntu 10.04?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Cannot build docs on Ubuntu 10.04?
Дата
Msg-id 29895.1331734915@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Cannot build docs on Ubuntu 10.04?  (John Lumby <johnlumby@hotmail.com>)
Ответы Re: Cannot build docs on Ubuntu 10.04?  (John Lumby <johnlumby@hotmail.com>)
Re: Cannot build docs on Ubuntu 10.04?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-docs
John Lumby <johnlumby@hotmail.com> writes:
> On 12-01-2012 17:28, Josh Berkus wrote:
> I wonder if everyone noticed that the postgres sgml makefile is looking for the script in /bin
> (see Josh's append)

That means that configure failed to find it, and failed to determine
a setting for DOCBOOKSTYLE as well.

> 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`

No, that would not be an improvement.  If collateindex.pl were in your
PATH, then configure would have found it (cf PGAC_PATH_COLLATEINDEX),
and so COLLATEINDEX would be set and we'd not be here at all.

Maybe the Makefile should just error out if COLLATEINDEX isn't set,
rather than trying a "fallback" value that configure has already
determined isn't going to work.

            regards, tom lane

В списке pgsql-docs по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Cannot build docs on Ubuntu 10.04?
Следующее
От: John Lumby
Дата:
Сообщение: Re: Cannot build docs on Ubuntu 10.04?