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

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 (view raw or flat)
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

pgsql-patches by date

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

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