From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20820 invoked by alias); 25 Oct 2012 07:41:23 -0000 Received: (qmail 20811 invoked by uid 22791); 25 Oct 2012 07:41:22 -0000 X-SWARE-Spam-Status: No, hits=-5.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ee0-f41.google.com (HELO mail-ee0-f41.google.com) (74.125.83.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 25 Oct 2012 07:41:16 +0000 Received: by mail-ee0-f41.google.com with SMTP id c4so555984eek.0 for ; Thu, 25 Oct 2012 00:41:15 -0700 (PDT) Received: by 10.14.182.5 with SMTP id n5mr24949930eem.5.1351150875456; Thu, 25 Oct 2012 00:41:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.14.191.8 with HTTP; Thu, 25 Oct 2012 00:40:55 -0700 (PDT) In-Reply-To: <20121024151731.GN3571@adacore.com> References: <20121024151731.GN3571@adacore.com> From: Kevin Pouget Date: Thu, 25 Oct 2012 07:41:00 -0000 Message-ID: Subject: Re: Fwd: GDB/Python conflicts between HEAD and Fedora To: Joel Brobecker Cc: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 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: 2012-10/txt/msg00104.txt.bz2 On Wed, Oct 24, 2012 at 5:17 PM, Joel Brobecker wrote: >> > warning: Could not load the Python gdb module from `/usr/share/gdb/python'. >> > >> > warning: Limited Python support is available from the _gdb module. > > This is the important clue. You need to install the GDB you built > in order for it to work properly. This was a recent change to the way > the gdb module is constructed, to make it more pythonic. > > I am guessing that you configured GDB with the default --prefix, > and so it's finding the system ones from an older version of GDB. > If you're not going to install it in a system area, I'd configure > with a different prefix. Hello, thanks for your answer, `make install` did solve the problem :) > I am guessing that you configured GDB with the default --prefix, > and so it's finding the system ones from an older version of GDB. just for the record, I think that you're not right on this point: > cd $BUILD_DIR > $SRC_DIR/configure --prefix=$INST_DIR > make > gdb/gdb # from $BUILD_DIR, this don't work yet > make install > gdb/gdb # from $BUILD_DIR, this work now > $INST_DIR/bin/gdb # obviously works correctly Thanks, Kevin