Re: python installation patch. - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: python installation patch.
Date
Msg-id 200107112142.f6BLgUP11236@candle.pha.pa.us
Whole thread Raw
In response to python installation patch.  (Anand <anand@blandings.com>)
List 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@blandings.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@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Re: [GENERAL] Bug in createlang?
Next
From: Bruce Momjian
Date:
Subject: Re: encode in base code