When running SAMBA 4 's "make install" you get the message "ln: libtorture.so: Too many levels of symbolic links".
Created attachment 3552 [details] This should fix up the problems related to the installation/uninstallation of the libraries
Created attachment 3553 [details] This should fix up the problems related to the uninstallation of the headers
I discovered now, that there is much more work to fix this completely. I thought now about the remove of the complicated uninstallation scripts (who don't perform all deletions) and therefore the substituation with simple "rm"'s in the makefile.
Created attachment 3565 [details] Update for the Installation/Deinstallation This updates a bit the installation/deinstallation procedure and adapts it to the new GMake build system - The uninstallation scripts aren't used anymore and can be removed - The installation/uninstallation rules have been moved under "build/make/templates.mk" - At the moment the dependencies remain partially static
Created attachment 3567 [details] Update for installation/uninstallation Enhanced version of the patch
Created attachment 3609 [details] Updated patch This includes all patches in one file and is applicable to the new "master" branch.
Created attachment 3626 [details] Updated patch
Created attachment 3643 [details] Updated patch Improvements: - Don't delete other files when SAMBA is uninstalled in FHS paths
I'm not sure whether uninstall should remove the .old files - that makes it impossible to revert to an old installation after uninstalling. Please avoid cosmetic changes, this makes the patch hard to review, likewise with reordering.
Created attachment 3645 [details] Updated patch - Removed "$(srcdir)" changes - Removed most comments - Removed deletion of binary *.old files
Fixed the problem by Jelmer using my patch as a base.