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.