This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fwd: GDB/Python conflicts between HEAD and Fedora


On Wed, Oct 24, 2012 at 5:17 PM, Joel Brobecker <brobecker@adacore.com> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]