faust
faust copied to clipboard
make uninstall throws /bin/sh: Argument list too long
I'm guessing this should be a pretty easy fix although clearly not a very urgent one
I'm getting Argument list too long while reading from install_manifest.txt in build/MakeFile
Probably replacing this line
rm -f $(installedfiles) $(installLog)
with something like
while read line; do
rm -f "$line"
done < faustdir/install_manifest.txt
This happened to me in macOS Catalina just in case ;)
Hope this helps and sorry if I'm way off XD
JuanS
Should be fixed on master-dev branch, can you test and report?
Yup I think it is working now :)
Is the expected behavior that the tree structure for example in
usr/local/include/faust/**
is preserved? and only the files are deleted?
Also I made the mistake of running make uninstall and of course all the files said Permission Denied except
faustdir/install_manifest.txt
so when I tried sudo make uninstall I got
No rule to make target faustdir/install_manifest.txt', needed by uninstall'. Stop.
I did install to get the manifest and then sudo make uninstall and it worked without a problem but wanted to let you know just in case
Hope it helps ;)
JuanS
Yup I think it is working now :)
Is the expected behavior that the tree structure for example in
usr/local/include/faust/**is preserved? and only the files are deleted?
What do you @dfober think?
Also I made the mistake of running
make uninstalland of course all the files saidPermission Deniedexceptfaustdir/install_manifest.txtso when I triedsudo make uninstallI gotNo rule to make targetfaustdir/install_manifest.txt', needed byuninstall'. Stop.I did install to get the manifest and then sudo make uninstall and it worked without a problem but wanted to let you know just in case
Hope it helps ;)
JuanS