On Fri, 2012-10-19 at 17:15 +0800, . Elvis wrote:> Hi all,
> my host machine is x86, to use cross compile build samba4 for
> arm,but i got fail message of the follow:
> Checking for custom code : Could not find the python
> development headers
>
> my configure is :
> CC=arm-oe-linux-gnueabi-gcc ./configure --host=i686
> --target=arm-oe-linux-gnueabi --prefix=/usr2 --cross-compile
> --cross-answers=arm.txt
>
> Can someone give me solution!
Currently our cross-compile code needs some work. The python detection
code doesn't seem to use it.
If you feel able, you could try and patch it up (the code is all under
buildtools, being waf and our wrappers on waf), otherwise you may need
to build native.
Sorry,
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org