From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mark Wheaton <m.wheaton@rms.co.uk>
Cc: pgsql-admin@postgresql.org
Subject: Re: Problems configuring --with-python on RedHat7.2
Date: Wed, 14 May 2003 12:07:32 -0400
Message-ID: <24778.1052928452@sss.pgh.pa.us> (raw)
In-Reply-To: <3EBFBC2C.30509@rms.co.uk>
References: <3EBFBC2C.30509@rms.co.uk>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, m.wheaton@rms.co.uk
Subject: Re: Problems configuring --with-python on RedHat7.2
In-Reply-To: <24778.1052928452@sss.pgh.pa.us>
References: <3EBFBC2C.30509@rms.co.uk> <24778.1052928452@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox