This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: configure: error: no usable python found
>>>>> "Chris" == Chris Sutcliffe <ir0nh34d@gmail.com> writes:
Chris> I've hacked the configure script to allow for Python support under
Chris> Windows, but the source itself is also going to need some fixing up.
Chris> what I'm unclear on is how to make (line 9470):
Chris> version=python2.6
Chris> conditional on Windows to be:
Chris> version=python26
You'll want to change configure.ac, not configure.
One idea would be to change AC_TRY_LIBPYTHON to try both forms, by
removing the "."; or look at $host_os. There are other examples of the
latter in the code.
Chris> and similarly (line 9456):
Chris> python_libs="-L${with_python}/lib"
Chris> to conditionally be:
Chris> python_libs="-L${with_python}/libs"
Chris> on Windows.
Examining $host_os seems reasonable here.
Tom