From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8364 invoked by alias); 29 Sep 2010 20:37:26 -0000 Received: (qmail 8294 invoked by uid 22791); 29 Sep 2010 20:37:25 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,TW_LN X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 29 Sep 2010 20:37:19 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 9F7662BACB1; Wed, 29 Sep 2010 16:37:17 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 53sBfPIVtAAL; Wed, 29 Sep 2010 16:37:17 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 4FAA72BAC80; Wed, 29 Sep 2010 16:37:17 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 43D6FF591F; Wed, 29 Sep 2010 13:37:14 -0700 (PDT) Date: Wed, 29 Sep 2010 20:37:00 -0000 From: Joel Brobecker To: Michel METZGER Cc: "gdb@sourceware.org" Subject: Re: Failed to compile GDB 7.2 with python support Message-ID: <20100929203714.GI3044@adacore.com> References: <5B4CE209869C6A4797F5FAA0B348F0A0D9E83E2E6B@SAFEX1MAIL1.st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5B4CE209869C6A4797F5FAA0B348F0A0D9E83E2E6B@SAFEX1MAIL1.st.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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/msg00156.txt.bz2 > -------------------------------------------------------------- > [...] > configure:10682: gcc -o conftest -g -O2 -I/tmp/python-2.6.6-install/include -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? Something might be incorrect in your Python install (or non-standard). What does /tmp/python-2.6.6-install/bin/python python-config.py --ldflags print (this python script is in the gdb/python/ subdirectory of the GDB sources). -- Joel