Re: Problems configuring --with-python on RedHat7.2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mark Wheaton <m(dot)wheaton(at)rms(dot)co(dot)uk>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Problems configuring --with-python on RedHat7.2
Date: 2003-05-14 16:07:32
Message-ID: 24778.1052928452@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Mark Wheaton <m(dot)wheaton(at)rms(dot)co(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Kuhn, Dylan K (4520500D) 2003-05-14 16:22:26 Comment on Database and Admin Metadata
Previous Message Tom Lane 2003-05-14 15:56:55 Re: Problem upgrading PGSQL7.3.2 from PGSQL6.5 under RHLinux6.5 - missing global/pg_control