John Summerfield writes:
> To my dismay some components don't honour the "--prefix=/tmp/postgresql"
> specification and try to install in some other location.
> I'd much prefer for the perl and python components to install into the
> location I specified, and to leave me to discuss with Perl and Python
> the question of how to make sure I get the right versions (or even
> better, offer a handy hint).
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.)
What we probably want is some configure switch that switches between the
current behaviour and the behaviour you want.
Incidentally, some work toward this goal has already been done in the CVS
tip. Basically, all I was missing is a good name for the option.
For you to proceed you could try the following (completely untested):
# for local Python install
make install python_moduledir='$(pkglibdir)' python_moduleexecdir='$(pkglibdir)'
# (yes, single quotes)
# for local Perl install
make install mysterious_feature=yes
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter
In response to
pgsql-hackers by date
|Next:||From: Alexander Troppmann||Date: 2001-09-04 13:16:45|
|Subject: Troubles using German Umlauts with JDBC|
|Previous:||From: Peter Eisentraut||Date: 2001-09-04 10:59:44|
|Subject: Table vs. row level locks confusion|
pgsql-bugs by date
|Next:||From: Peter Eisentraut||Date: 2001-09-04 13:06:02|
|Subject: Re: Building documentation in PostgreSQL 7.2devel|
|Previous:||From: Peter Eisentraut||Date: 2001-09-04 12:46:04|
|Subject: Re: linking with readline|