Re: python installation patch.

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: anand(at)blandings(dot)com
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: python installation patch.
Date: 2001-07-11 21:42:29
Message-ID: 200107112142.f6BLgUP11236@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Seems we have a redesigned Python build environment in CVS. Can someone
comment on adding the PYTHON pass to this?

> 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 $< $@
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://www.postgresql.org/search.mpl
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2001-07-11 21:53:28 Re: [PATCHES] Re: [PATCH] Re: Setuid functions
Previous Message Bruce Momjian 2001-07-11 21:27:15 Re: Re: [GENERAL] Bug in createlang?