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

Re: Build problem with CVS version

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: John Summerfield <summer(at)os2(dot)ami(dot)com(dot)au>
Cc: <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 12:58:16
Message-ID: Pine.LNX.4.30.0109041448110.828-100000@peter.localdomain (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-hackers
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
# (seriously)

-- 
Peter Eisentraut   peter_e(at)gmx(dot)net   http://funkturm.homeip.net/~peter


In response to

Responses

pgsql-hackers by date

Next:From: Alexander TroppmannDate: 2001-09-04 13:16:45
Subject: Troubles using German Umlauts with JDBC
Previous:From: Peter EisentrautDate: 2001-09-04 10:59:44
Subject: Table vs. row level locks confusion

pgsql-bugs by date

Next:From: Peter EisentrautDate: 2001-09-04 13:06:02
Subject: Re: Building documentation in PostgreSQL 7.2devel
Previous:From: Peter EisentrautDate: 2001-09-04 12:46:04
Subject: Re: linking with readline

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