Re: Python (PyGreSQL) make install patch

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
Cc: Pgsql-Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Python (PyGreSQL) make install patch
Date: 2001-05-24 17:48:27
Message-ID: Pine.LNX.4.30.0105241940400.757-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-05-24 20:32:52 Re: Cygwin Java (make install) Patch
Previous Message Bruce Momjian 2001-05-24 16:54:06 Re: Cygwin python and plpython patches