[Samba] Cross-compiling 4.3.2 for Intel/PowerPC causes Python errors

Jeremy Allison jra at samba.org
Mon Dec 7 23:10:40 UTC 2015


On Thu, Dec 03, 2015 at 07:50:32PM +0000, Tompkins, Michael wrote:
> We've been trying to cross compile since 4.1 for PowerPC but were never able to get it to happen and was told it broke with the introduction of Waf. Now we're trying for the latest release, have read some things on the web improvements have been made in this area, but can't seem to get it to build. It appears it's trying to build samba ( we only use smbclient ) for Intel, and also trying to build Python for Intel, but it really only needs to run on the compiler server Linux I7, not our target systems which are PowerPC and Intel systems.  Is my understanding correct for Python only needed during the configure and build stage for samba?  Any information on this would be greatly appreciated!

As far as I know this page:

https://wiki.samba.org/index.php/Waf#cross-compiling

correctly describes cross-compiling. I did
get it to work for ARM for a vendor.



More information about the samba mailing list