Re: Problems configuring --with-python on RedHat7.2 - Mailing list pgsql-admin

From Tom Lane
Subject Re: Problems configuring --with-python on RedHat7.2
Date
Msg-id 24778.1052928452@sss.pgh.pa.us
Whole thread Raw
In response to Problems configuring --with-python on RedHat7.2  (Mark Wheaton <m.wheaton@rms.co.uk>)
List pgsql-admin
Mark Wheaton <m.wheaton@rms.co.uk> writes:
> So, it's looking in the wrong place for its Python, and you can't give
> an argument to --with-python to tell it which python to look at.

No.  What you need is to control which python executable it finds.
Either change your $PATH so that the 2.2.2 python appears first,
or set PYTHON in configure's environment.

I'm not sure whether the --with-includes and --with-libraries hacks
are necessary or not, once you do that --- it may learn everything it
needs to know directly from python.

            regards, tom lane

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Problem upgrading PGSQL7.3.2 from PGSQL6.5 under RHLinux6.5 - missing global/pg_control
Next
From: "Kuhn, Dylan K (4520500D)"
Date:
Subject: Comment on Database and Admin Metadata