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/Makefile.global 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 http://yi.org/peter-e/
In response to
pgsql-committers by date
|Next:||From: Peter Eisentraut - PostgreSQL||Date: 2001-03-06 20:41:07|
|Subject: pgsql/doc/src/sgml Makefile|
|Previous:||From: Peter Eisentraut - PostgreSQL||Date: 2001-03-06 19:58:27|
|Subject: pgsql/src/bin/pg_dump pg_restore.c|
pgsql-jdbc by date
|Next:||From: Jeroen van Vianen||Date: 2001-03-07 13:30:27|
|Subject: DatabaseMetaData.getTables() doesn't sort its result|
|Previous:||From: Qiqi Dong||Date: 2001-03-06 17:59:06|
|Subject: connection pooling in JDBC driver|