configure: error: no usable python found

Tom Tromey tromey@redhat.com
Wed Mar 3 19:03:00 GMT 2010


>>>>> "Chris" == Chris Sutcliffe <ir0nh34d@gmail.com> writes:

Chris> conftest.c:46:30: error: python2.6/Python.h: No such file or directory

Chris> So the include path supplied is correct, however the library path is
Chris> wrong, it should be /python/libs (not /python/lib).

Chris> | #include "python2.6/Python.h"

Chris> This is incorrect though, it should just be '#include "Python.h"'.  Is
Chris> perhaps the win32 distribution of Python significantly different in
Chris> directory structure compared to the 'nix distribution directory
Chris> structure?

I don't know; I have never looked at it.  If you could come up with a
configure patch that works for Windows, without breaking Linux, that
would be helpful.  I can test it on Linux for you, if that would help.

Tom



More information about the Gdb mailing list