python installation patch.

From: Anand <anand(at)blandings(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: python installation patch.
Date: 2001-06-27 20:05:44
Message-ID: 20010627130544.A22360@Psmith.blandings.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Hi, I came across a problem while building postgresql 7.1.2 for my
environment where the default python in my path is not the python to be
used to deduce the installation directory. While the GNUmakefile works
correctly, the generated makefile seemed to have problems. I found that
this patch helps to fix the problem. The patch below is against the latest
version in cvs.

Thanks
Anand
--
Anand Ranganathan anand(at)blandings(dot)com

----------------------------------------------------------------------
--- src/interfaces/python/GNUmakefile.orig Wed Jun 27 12:53:48 2001
+++ src/interfaces/python/GNUmakefile Wed Jun 27 12:55:06 2001
@@ -20,7 +20,7 @@
$(MAKE) -C $(libpq_builddir) all

Makefile: Setup.in Makefile.pre.in
- $(MAKE) -f Makefile.pre.in boot srcdir=$(srcdir) VPATH=$(srcdir)
+ $(MAKE) -f Makefile.pre.in boot srcdir=$(srcdir) VPATH=$(srcdir) PYTHON=$(PYTHON)

Makefile.pre.in: $(python_makefile_pre_in)
cp $< $@

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message David D. Kilzer 2001-06-27 20:44:49 Re: [PATCH] Contrib C source for casting MONEY to INT[248] and FLOAT[48]
Previous Message Dave Cramer 2001-06-27 18:09:30 RE: Todo/missing? (was Re: [ADMIN] High memory usage [PATCH])