X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 314D04758F1 for ; Mon, 12 May 2003 11:25:05 -0400 (EDT) Received: from mail9.messagelabs.com (mail9.messagelabs.com [194.205.110.133]) by postgresql.org (Postfix) with SMTP id F0136474E42 for ; Mon, 12 May 2003 11:24:59 -0400 (EDT) X-VirusChecked: Checked X-Env-Sender: m.wheaton@rms.co.uk X-Msg-Ref: server-4.tower-9.messagelabs.com!1052752943!55449 Received: (qmail 30255 invoked from network); 12 May 2003 15:22:23 -0000 Received: from unknown (HELO mailgate2.ktgroup.co.uk) (195.188.16.40) by server-4.tower-9.messagelabs.com with SMTP; 12 May 2003 15:22:23 -0000 Received: from gate2.ktgroup.co.uk ([195.188.16.61] helo=morticia.ktgroup.co.uk) by mailgate2.ktgroup.co.uk with esmtp (Exim 3.34 #5) id 19FF7l-0002Wx-00 for pgsql-admin@postgresql.org; Mon, 12 May 2003 16:21:57 +0100 Received: from rms.co.uk (thorn-dyn-172-21-2-009.ktgroup.co.uk [172.21.2.9]) by morticia.ktgroup.co.uk (8.11.6/8.11.6) with ESMTP id h4CFMJD04262 for ; Mon, 12 May 2003 16:22:22 +0100 Message-ID: <3EBFBC2C.30509@rms.co.uk> Date: Mon, 12 May 2003 16:22:20 +0100 From: Mark Wheaton User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030507 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Problems configuring --with-python on RedHat7.2 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-12.9 required=5.0 tests=BAYES_01,USER_AGENT_MOZILLA_UA autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/169 X-Sequence-Number: 8731 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