Thread: CVS Build - No Doc

CVS Build - No Doc

From
Matt Miller
Date:
Yesterday I checked out a cvs copy and I:

./configure
make
make install

as usual.  The database works, but the installation has no doc
directory.  I prefer to read the doc locally.  How do I build the doc?

The source tree has a doc directory containing what looks to be the sgml
source, but I apparently missed a step since I have no installed html.

Re: CVS Build - No Doc

From
Tom Lane
Date:
Matt Miller <mattm@epx.com> writes:
> How do I build the doc?

http://developer.postgresql.org/docs/postgres/docguide-build.html

            regards, tom lane

Re: CVS Build - No Doc

From
Matt Miller
Date:
>> How do I build the doc?

> http://developer.postgresql.org/docs/postgres/docguide-build.html

That worked.

I couldn't find the Red Hat ES4 package that contains the
'collateindex.pl' script that the build process needs, so I had to go
hunting.  I got that Perl script at
http://www.ibiblio.org/godoy/sgml/docbook/howto/collateindex.pl, and
then the HTML doc built properly.


Re: CVS Build - No Doc

From
Devrim GUNDUZ
Date:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

On Wed, 29 Jun 2005, Matt Miller wrote:

> I couldn't find the Red Hat ES4 package that contains the
> 'collateindex.pl' script that the build process needs, so I had to go
> hunting.

[root@buildfarm ~]# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant)
[root@buildfarm ~]# rpm -qf `which collateindex.pl`
docbook-style-dsssl-1.78-4

Install that RPM.

Regards,
- --
Devrim GUNDUZ
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.tdmsoft.com.tr                      http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFCwukftl86P3SPfQ4RAujNAKDlwmBHtgi5QBD7kCbAQ3Ri6KtfQgCffI8T
rrKlwbWqwhXpaFvo6wIDSKg=
=E7o/
-----END PGP SIGNATURE-----

Re: CVS Build - No Doc

From
Matt Miller
Date:
On Wed, 2005-06-29 at 21:31 +0300, Devrim GUNDUZ wrote:
> > I couldn't find the Red Hat ES4 package that contains the
> > 'collateindex.pl' script that the build process needs
>
> docbook-style-dsssl-1.78-4

I had installed that package.

It looks like problem was I didn't './configure' from the top of the
Postgres tree after I installed the docbook tools.  The Postgres doc
build wanted to default to /bin/collateindex.pl, but Red Hat's
docbook-style-dsssl package creates /usr/bin/collateindex.pl.

Live and learn.  Thanks.

Re: CVS Build - No Doc

From
Tom Lane
Date:
Matt Miller <mattm@epx.com> writes:
> I couldn't find the Red Hat ES4 package that contains the
> 'collateindex.pl' script that the build process needs, so I had to go
> hunting.

Really?  In FC3 it's here:

$ which collateindex.pl
/usr/bin/collateindex.pl
$ rpm -qf /usr/bin/collateindex.pl
docbook-style-dsssl-1.78-4

and I'd have thought you needed that package anyway.

            regards, tom lane