From: Mark Wheaton <m.wheaton@rms.co.uk>
To: pgsql-admin@postgresql.org
Subject: Problems configuring --with-python on RedHat7.2
Date: Mon, 12 May 2003 16:22:20 +0100
Message-ID: <3EBFBC2C.30509@rms.co.uk> (raw)
Hi all,
RedHat 7.2 with the standard horrors of Python 1.5 and 2.1 installed in
/usr/lib. There's so many deps on these in the standard RH install that
it's easier to leave them in, or so I thought...
A new python in /opt/python2.2.2
when I configure the source with:
./configure --prefix=/opt/postgres7.3.2
--with-includes=/opt/python2.2.2/include
--with-libraries=/opt/python2.2.2/lib --with-python
--with-openssl=/opt/openssl0.9.7 --with-pam
it barfs with the following error:
checking for python... /usr/bin/python
checking Python installation directories... /usr/lib/python1.5
checking how to link an embedded Python application... no
configure: error: Python Makefile not found
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.
Once I took out the --with-python, it worked fine, so I'm gonna go back
and try building the python interface module separately.
Anyone else seen this, or is it just me? Couldn't find anything in the
archives about it, hence the post.
Cheers,
Mark
_____________________________________________________________________
This message has been checked for all known viruses by the
RMS Services Ltd Virus Scanning Service. For further information visit
http://www.rms.co.uk or call UK 01454 281265
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: m.wheaton@rms.co.uk
Subject: Re: Problems configuring --with-python on RedHat7.2
In-Reply-To: <3EBFBC2C.30509@rms.co.uk>
References: <3EBFBC2C.30509@rms.co.uk>
* 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