Re: Python (PyGreSQL) make install patch - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: Python (PyGreSQL) make install patch
Date
Msg-id Pine.LNX.4.30.0105241940400.757-100000@peter.localdomain
Whole thread Raw
In response to Python (PyGreSQL) make install patch  (Jason Tishler <Jason.Tishler@dothill.com>)
Responses Re: Python (PyGreSQL) make install patch
List pgsql-patches
Jason Tishler writes:

> Unfortunately, this patch does not handle the case where PostgreSQL
> and Python are configured with different prefixes.

...which is the case more often than not.

> Since the Python
> Makefile is automatically generated and does not use DESTDIR, I believe
> that this issue will be difficult to correct.  If anyone has ideas on
> how to fix this issue, then I'm quite willing to rework the patch to
> take the suggestion into account.

Rip out the python makefile and reimplement the build yourself.  ;-)

Besides DESTDIR, the python makefile doesn't support VPATH either.  (It
claims to do so, but it doesn't work.)  I'd also like a way to install the
module as non-root user.

I'm quite serious about the ripping out actually, but it's probably a bit
more work than you care for.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


pgsql-patches by date:

Previous
From: Jason Tishler
Date:
Subject: Re: Cygwin Java (make install) Patch
Next
From: Bruce Momjian
Date:
Subject: Re: Cygwin Java (make install) Patch