This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Failed to compile GDB 7.2 with python support
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Michel METZGER <michel dot metzger at st dot com>
- Cc: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Wed, 29 Sep 2010 13:37:14 -0700
- Subject: Re: Failed to compile GDB 7.2 with python support
- References: <5B4CE209869C6A4797F5FAA0B348F0A0D9E83E2E6B@SAFEX1MAIL1.st.com>
> --------------------------------------------------------------
> [...]
> 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