From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28662 invoked by alias); 29 Sep 2010 20:30:39 -0000 Received: (qmail 28652 invoked by uid 22791); 29 Sep 2010 20:30:38 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,TW_LN X-Spam-Check-By: sourceware.org Received: from eu1sys200aog113.obsmtp.com (HELO eu1sys200aog113.obsmtp.com) (207.126.144.135) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 29 Sep 2010 20:30:33 +0000 Received: from source ([167.4.1.35]) (using TLSv1) by eu1sys200aob113.postini.com ([207.126.147.11]) with SMTP ID DSNKTKOh5oj/+EiqlkGIWgvYfX67s8Rup0/N@postini.com; Wed, 29 Sep 2010 20:30:33 UTC Received: from zeta.dmz-us.st.com (ns4.st.com [167.4.80.115]) by beta.dmz-us.st.com (STMicroelectronics) with ESMTP id B58C640 for ; Wed, 29 Sep 2010 20:27:12 +0000 (GMT) Received: from Webmail-eu.st.com (safex1hubcas4.st.com [10.75.90.69]) by zeta.dmz-us.st.com (STMicroelectronics) with ESMTP id 6218E575 for ; Wed, 29 Sep 2010 20:30:27 +0000 (GMT) Received: from SAFEX1MAIL1.st.com ([10.75.90.1]) by Safex1hubcas4.st.com ([10.75.90.69]) with mapi; Wed, 29 Sep 2010 22:30:05 +0200 From: Michel METZGER To: "gdb@sourceware.org" Date: Wed, 29 Sep 2010 20:30:00 -0000 Subject: Failed to compile GDB 7.2 with python support Message-ID: <5B4CE209869C6A4797F5FAA0B348F0A0D9E83E2E6B@SAFEX1MAIL1.st.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-09/txt/msg00155.txt.bz2 Hi all, I tried to compile GDB 7.2 with python support (2.6.6) under Linux and it f= ails during the configure phase. Python was compile like with: > ./configure --prefix=3D/tmp/python-2.6.6-install --enable-shared make=20 > make install And GDB with > ./configure --with-python=3D/tmp/python-2.6.6-install=20 > --prefix=3D/tmp/gdb-7.2-install make It fails during the execution of gdb/configure with the following message: ------------------------------------------------------------- [...] checking whether to use python... /tmp/python-2.6.6-install/ checking for p= ython2.6... no configure: error: no usable python found at /tmp/python-2.6.6-install/ make[1]: *** [configure-gdb] Error 1 ------------------------------------------------------------- The gdb/config.log tells me that configure failed to compile a test program= to set up python. =46rom what I understand, the faulty compilation command line is:=20 -------------------------------------------------------------- [...] configure:10682: gcc -o conftest -g -O2 -I/tmp/python-2.6.6-install/inclu= de -I/tmp/python-2.6.6-install/include conftest.c -lncurses -lz -lm -= lpthread -ldl -lutil -lm -lpython2.6 >&5 /usr/bin/ld: cannot find -lpython2.6 [...] -------------------------------------------------------------- Apparently the -L/tmp/Python-2.6.6-install/lib is missing. What am I doing wrong? Best regards, Michel Metzger.