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: configure: error: no usable python found


> Tom> Could you also paste the command line?
> Chris> The full command line I used was:
>
> Sorry, I wasn't clear.
> I meant the command line used to compile the test program, from config.log.

configure:9438: checking whether to use python
configure:9440: result: /python
configure:9474: checking for python2.6
configure:9489: mingw32-gcc -o conftest.exe -g -O2
-D__USE_MINGW_ACCESS   -I/python/include  -Wl,--stack,8388608
conftest.c -lm    -L/python/lib -lpython2.6 >&5
conftest.c:46:30: error: python2.6/Python.h: No such file or directory
configure:9489: $? = 1

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

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

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

Chris

-- 
Chris Sutcliffe
http://emergedesktop.org
http://www.google.com/profiles/ir0nh34d


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