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

Re: Re: [COMMITTERS] pgsql/ /aclocal.m4 /build.xml /configure /conf ...

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Peter T Mount <peter(at)retep(dot)org(dot)uk>
Cc: Peter Mount <peter(at)hub(dot)org>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Re: [COMMITTERS] pgsql/ /aclocal.m4 /build.xml /configure /conf ...
Date: 2001-03-06 20:23:25
Message-ID: Pine.LNX.4.30.0103062109330.778-100000@peter.localdomain (view raw, whole thread or download thread mbox)
Lists: pgsql-committerspgsql-jdbc
Peter T Mount writes:

> > Since the Java files are platform independent, the GNU file system
> > standard would prefer Java files to be installed under
> > $(prefix)/share/.
> That is true, but which vars (in configure/ etc) define this?


> Also what about the platforms that don't use the GNU FSS?

They use configure options to override the locations.  In practice, no
system uses the GNU FSS (except the HURD maybe), but the idea is that all
locations are configurable in some sort of orthogonal way.

> > If we stick with lib/, we should probably be creating a lib/postgresql
> > subdirectory, like we do in the other subtrees.
> Ah, you are getting confused. The java directory is beneath the one install
> makes for postgresql already, not along side, so for example (based on my
> laptop NT/Cygwin):
>    /usr/local/pgsql/lib      where PGLIB is
>    /usr/local/pgsql/lib/java where the .jars are put.

Right.  But if --prefix=/usr/local (for example), then we have


This happens automatically if the prefix does not match 'pgsql|postgres'.
What I would like in that case is

    /usr/local/lib/libpq.a (to keep linker happy)
    /usr/local/lib/postgresql/java/*.jar (because we are not entitled to
        create a directory /usr/local/lib/java, ISTM)
*or* (new idea)
    /usr/local/lib/postgresql.jar (since the name provides sufficient
        association.  But there are other jars.)

Isn't there a convention, or a recommendation from a file system standard
body?  Looking at the Ant RPM:


I see share/ has its supporters.

Peter Eisentraut      peter_e(at)gmx(dot)net

In response to

pgsql-committers by date

Next:From: Peter Eisentraut - PostgreSQLDate: 2001-03-06 20:41:07
Subject: pgsql/doc/src/sgml Makefile
Previous:From: Peter Eisentraut - PostgreSQLDate: 2001-03-06 19:58:27
Subject: pgsql/src/bin/pg_dump pg_restore.c

pgsql-jdbc by date

Next:From: Jeroen van VianenDate: 2001-03-07 13:30:27
Subject: DatabaseMetaData.getTables() doesn't sort its result
Previous:From: Qiqi DongDate: 2001-03-06 17:59:06
Subject: connection pooling in JDBC driver

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