Re: [ADMIN] Problem with compilation 7.3.4

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: jacek <wolk(at)jablko(dot)one(dot)pl>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [ADMIN] Problem with compilation 7.3.4
Date: 2003-11-14 19:33:27
Message-ID: Pine.LNX.4.44.0311142023330.5327-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers

Tom Lane writes:

> > There is no info documentation, so you don't need this option.
>
> Someone was complaining about this just recently. We don't need the
> option and don't have it implemented, but configure --help advertises
> it anyway (and fails to advertise the --docdir option that we do have).
> Can that be fixed?

In principle yes, but it's very unpractical.

The set of installation directory names and corresponding options in
Autoconf is fixed and cannot be changed. This is in some cases annoying
and very frequently discussed on the Autoconf list, but it is in principle
a good thing. Else, people would invent all kinds of options and there
would be absolutely no consistency between different packages. Also,
automatic packaging tools from BSD ports to RPM expect a standard set of
options.

PostgreSQL currently contains a hack that does a macro substitution
s/info/doc/ to create a --docdir option, but that evidently does not catch
all cases. Also, I'm getting reports that it breaks package builds
because they automatically provide an --infodir argument.

At this point I'm more than inclined to give up on that, put --infodir
back, and give the docdir a less attractive option like --with-docdir.
Additionally, we could add the oppositve sense --without-docdir to prevent
installation of the documentation, because some packaging tools, notably
RPM and Debian, like to install the documentation themselves. (No doubt
this is originally founded in the lack of an appropriate option --docdir,
but it's too late to philosophize about that now.)

Comments?

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2003-11-14 19:40:47 Re: [ADMIN] Problem with compilation 7.3.4
Previous Message Peter Eisentraut 2003-11-14 19:03:43 Re: Modify a database user

Browse pgsql-hackers by date

  From Date Subject
Next Message Will LaShell 2003-11-14 19:40:23 Re: Help with count(*)
Previous Message Neil Conway 2003-11-14 19:23:34 Re: cvs head? initdb?