Closed gene-eu-zz closed 8 years ago
I correct makefile uninstall target. Now before "make distclean" it will check is phpthemis makefile exitst
What about the same checks for other languages?
others have already cheked
guys, any more thoughts on this?
@mnaza ?
hate having open issues too long :) guys, can we close it? @gene-eu @mnaza
In testing this I noticed that uninstall can fail because of it's dependencies: uninstall: phpthemis_uninstall rubythemis_uninstall pythonthemis_uninstall
If you have not installed phpthemis then no makefile will have been generated in src/wrappers/themis/php so the attempt to uninstall phpthemis with make distclean fails and causes the whole uninstall process to stop. I don't know if this would also apply similarly for python or ruby.
However, the phpize generated ./configure uses ```php-config --extension-dir''' to determine the final destination for phpthemis.so. The default /usr/bin/php-config will return something like /usr/lib/php/extensions/no-debug-non-zts-20121212 ... which is non-writable with SIP.
A solution to this (there may be others) is to: