The Samba-Bugzilla – Bug 7311
Enable building of python modules (e.g. for provision) during merged-build (aka Franky)
Last modified: 2012-02-23 11:56:32 UTC
When trying to build Franky, i.e. configuring with '--enable-merged-build' from source3, I realized that the s4 Python modules, necessary for provision are neither built nor installed.
A comment in source3/samba4.mk says that building pythonmods had issues.
These are easily solved by the attached patch. The problem was that during link stage, -lpythonX.Y needs to be added as last argument to the linker. After doing so, everything compiles fine for recent git.
Created attachment 5575 [details]
Thanks for the patch.
This adds unnecessary changes to Samba 4, which already takes care of linking against the proper version of Python.
We should either include a separate copy of build/make/python.mk in Samba 3 but preferably fix the merged build to include -lpython properly.
Jelmer, isn't this superflous with the merged WAF build system? Couldn't we close this bug?
The combined build now installs both.