From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28071 invoked by alias); 29 Jul 2010 15:28:43 -0000 Received: (qmail 28063 invoked by uid 22791); 29 Jul 2010 15:28:42 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 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; Thu, 29 Jul 2010 15:28:37 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 945F52BAB44; Thu, 29 Jul 2010 11:28:35 -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 f049Ej7sRamv; Thu, 29 Jul 2010 11:28:35 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 3F0542BAB1B; Thu, 29 Jul 2010 11:28:35 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 12D505BE20; Thu, 29 Jul 2010 08:28:28 -0700 (PDT) Date: Thu, 29 Jul 2010 15:28:00 -0000 From: Joel Brobecker To: Michael Snyder Cc: "gdb-patches@sourceware.org" Subject: Re: 7.2 branch, configure problem, --with-python Message-ID: <20100729152827.GZ13267@adacore.com> References: <4C50728A.4090708@vmware.com> <20100728181926.GU13267@adacore.com> <4C507583.4010801@vmware.com> <20100728182734.GV13267@adacore.com> <4C508BE3.4000705@vmware.com> <4C508CD3.4070309@vmware.com> <4C508DE6.8020807@vmware.com> <4C50914E.1030408@vmware.com> <20100728213636.GX13267@adacore.com> <4C50B58A.5080408@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C50B58A.5080408@vmware.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-07/txt/msg00541.txt.bz2 > Hmmm, what if you try configure --with-python=/usr? > That will approximate what I'm doing (only with me it's a > non-standard install location). I just rebuilt python-2.7 with --enable-shared and installed it at a non-standard location. And then configured GDB as follow: % CFLAGS='-g' ~/act/gdb-public/configure --with-python=/t.a/brobecke/python-2.7-shared And I still see GDB being linked against the python DSO: % ldd gdb/gdb libpython2.7.so.1.0 => /t.a/brobecke/python-2.7-shared/lib/libpython2.7.so.1.0 (0x00007f5effa5f000) For this to work, I did need my python-config.py patch, because the compilation command was missing a -L/path/to/python/dso, without which the configure check for libpython2.7 would fail. In order to understand what is going on, you will probably have to dig into your config.log file and see what the configure script is doing. I'm starting to think that your python install might be screwed or non-standard? -- Joel