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

Re: Build problem with CVS version

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: John Summerfield <summer(at)os2(dot)ami(dot)com(dot)au>, pgsql-bugs(at)postgresql(dot)org, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Build problem with CVS version
Date: 2001-09-04 14:51:22
Message-ID: 26315.999615082@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-hackers
Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> This is a very valid concern, and it's been bugging us, too.  The problem
> is that by default, the majority of users would probably want the Perl and
> Python modules to be put in the default place where they're easy to find
> for the interpreter.  (This is pure speculation.  Personally, I certainly
> wouldn't do this, in the same way as I don't install libraries in /usr/lib
> because it makes it easier for the linker to find.)

I agree that that's the right place to put the perl & python modules
when doing a pure-default configure: it's reasonable to assume we are
installing a production system, and so we should install these modules
in the default places.  But it's a lot harder to make that argument when
doing a configure with a non-default --prefix: we may well be building a
playpen installation.  In any case there should be a way to suppress
automatic installation of these modules.

> What we probably want is some configure switch that switches between the
> current behaviour and the behaviour you want.

I'd suggest --prefix-like options to determine installation locations
for the perl and python modules, plus options on the order of
--no-install-perl (ie, build it, but don't install it).

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2001-09-04 15:01:08
Subject: Re: Table vs. row level locks confusion
Previous:From: Doug McNaughtDate: 2001-09-04 14:46:12
Subject: Re: Fw: Random strings

pgsql-bugs by date

Next:From: Tom LaneDate: 2001-09-04 14:57:16
Subject: Re: Bug #436: backend closed the channel unexpectedly
Previous:From: Peter EisentrautDate: 2001-09-04 13:06:02
Subject: Re: Building documentation in PostgreSQL 7.2devel

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