[PATCH] Force python for Samba on platforms with a too old installed python (eg RHEL 5.9)
abartlet at samba.org
Mon Apr 8 02:59:12 MDT 2013
I've tried following your mails, and your trials, but got totally lost.
So what I've done is write up a patch, which should address the one
issue I've been able to distil out of this, which is that when Samba is
built against something other than the default python, samba-tool
This happens because if we build and link against one library, but you
run samba-tool with a different python, internal things go boom.
This patch works for me on my Centos 5 box.
As to all your trials building different versions of python, I can't
really offer a solution - I've not seen those myself, and you really
seem to have quite a mix of things going wrong here. I would suggest
that if you do want to build a new AD DC, you should do so on a modern
OS, where python just works.
While I will certainly work (as this patch will help a lot with) to have
install_with_python work for the AD DC, the intended purpose was simply
to get enough of python going to run our build system for simpler file
server installations, to allow a transition from the second (autoconf)
build system. (And in that it has been quite successful).
Please test these patches, hopefully they will resolve your issue.
Finally, if you get odd build errors (such as the symlink error you
got), then 'git clean -x -f -d' will blow away everything not nailed
down in the git checkout. This tends to fix that kind of issue (such as
happened when I moved our python code around in master and in v4-0-test
Metze (or someone else on the team),
Please review or push to master.
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3881 bytes
Desc: not available
More information about the samba-technical