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 1326402821-sup-6197@alvh.no-ip.org
Whole thread Raw
In response to Re: Cannot build docs on Ubuntu 10.04?  (Josh Berkus <josh@agliodbs.com>)
Responses Re: Cannot build docs on Ubuntu 10.04?  (Josh Berkus <josh@agliodbs.com>)
Re: Cannot build docs on Ubuntu 10.04?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-docs
Excerpts from Josh Berkus's message of jue ene 12 17:28:28 -0300 2012:
> To be more specific, having installed all of the requirements listed in
> builddocs, I'm still getting a fatal error:
>
> make[3]: Entering directory `/usr/local/src/test/doc/src/sgml'
> { \
>       echo "<!ENTITY version \"9.2devel\">"; \
>       echo "<!ENTITY majorversion \"9.2\">"; \
>     } > version.sgml
> '/usr/bin/perl' ./mk_feature_tables.pl YES
> ../../../src/backend/catalog/sql_feature_packages.txt
> ../../../src/backend/catalog/sql_features.txt > features-supported.sgml
> '/usr/bin/perl' ./mk_feature_tables.pl NO
> ../../../src/backend/catalog/sql_feature_packages.txt
> ../../../src/backend/catalog/sql_features.txt > features-unsupported.sgml
> '/usr/bin/perl' ./generate-errcodes-table.pl
> ../../../src/backend/utils/errcodes.txt > errcodes-table.sgml
> jade  -wall -wno-unused-param -wno-empty -wfully-tagged -D . -D .  -d
> stylesheet.dsl -t sgml -i output-html -V html-index postgres.sgml
> jade:E: unknown warning type "fully-tagged"
> LC_ALL=C '/usr/bin/perl' /bin/collateindex.pl -f -g -i 'bookindex' -o
> bookindex.sgml HTML.index
> Can't open perl script "/bin/collateindex.pl": No such file or directory
> make[3]: *** [bookindex.sgml] Error 2

Did you re-run configure after installing everything?  It seems to me
the path to collateindex.pl is not correctly set -- looks like a
variable expanding to empty string.

The warning about "unknown warning type" means you're using the wrong
tool to me.  My toolchain here uses "openjade" which is a fork of the
earlier jade (so install opensp as Kevin suggested, and rerun configure
after that); my guess is that we're pretty much dependent on openjade
features that did not exist in plain jade.  Maybe we should just get rid
of our attempts to use the older tool.

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

pgsql-docs by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Cannot build docs on Ubuntu 10.04?
Next
From: Josh Berkus
Date:
Subject: Re: Cannot build docs on Ubuntu 10.04?