Samba4.4.5 cross compilation for PowerPC

shivappa Sangapur ssangapur3 at gmail.com
Fri Nov 18 01:56:19 UTC 2016


Thanks a lot Uri!!!!!!!. That did the trick.!!!!!!!!!

This was successfully built with python2.6.4 but unfortunately i had to
disable ad-dc due to some gnutls package issue in my Vmware.

But this is interesting, i have another vmware with python2.7.5. (now i'm
using samba-4.4.7.tar.gz)
Here it is always failing to find python headers as you faced.
I followed your method as mentioned in below URL,
https://bugzilla.samba.org/show_bug.cgi?id=10128

I set PYTHON_CONFIG=/path/to/my/target/python-config \
python_LDFLAGS="" \
python_LIBDIR="" in my configure environment using 'export' and compiled

but during configure it throwing error invalid bash option.
.........................................................
Checking for program python2.7-config                                            
: -I/usr/include/python2.7 python_LDFLAGS="" python_LIBDIR=""
/bin/sh: -/: invalid option
..............................

this is found from the python script
samba-4.4.7/third_party/waf/wafadmin/Tools/python.py +282
                        # strip the -I or /I
                        if (incstr.startswith('-I')
                            or incstr.startswith('/I')):
                        incstr = incstr[2:]
                        # append include path, unless already given
                        if incstr not in includes:
                                includes.append(incstr)

does something going wrong here ?

Could you please help me to resolve this.


Thanks & Regards,
Shivappa



--
View this message in context: http://samba.2283325.n4.nabble.com/Samba4-4-5-cross-compilation-for-PowerPC-tp4710972p4711125.html
Sent from the Samba - samba-technical mailing list archive at Nabble.com.



More information about the samba-technical mailing list