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

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 (view raw, whole thread or download thread mbox)
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

In response to


pgsql-patches by date

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

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