On 12/11/2012 05:08 PM, Matthias Klose wrote:
Am 11.12.2012 15:02, schrieb Eric Valette:
gcc -I /usr/include/python2.7 -c  test.c
In file included from test.c:2:0:
/usr/include/python2.7/Python.h:8:22: fatal error: pyconfig.h: No such file or directory
compilation terminated.

gcc -I /usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7 -c  test.c

Works but its not the flags configure use for detecting python.
welcome to the multiarch age [1].

Tried to crosscompile for Pi the debian way and found not only its complicated but doesn't bring much to the picture as I needed a sysroot for the complier anyway. I had to finally make my own cross-compiler and struggle to generate cross packages (and yes I ddi read the FAQ, the odcs, ...)
 We'll have to fix this for some packages.
Please use either python-config --includes or pkgconfig for your configure test.
I discovered this since I posted but the configure is xbmc's one and this broke due to experimental today uplaod

--eric

-- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to