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