-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No make uninstall #1446
Comments
https://lists.osgeo.org/pipermail/gdal-dev/2005-July/005991.html
or The |
Yes. I know. I’m already doing that because I have a custom stack. But almost everything else can be installed and removed. Now I realize that GDAL is like Python and needs it own mini-stack. But Python is a build tool, not a distributable so I need to rework my build scripts to move GDAL off to its own directory. I don’t consider --prefix a true solution. The only people who would use --prefix are people doing funky stuff like me. For most users, there is no uninstallation method and this forces even more dependence on various package managers. If it isn’t worth the trouble, that’s fair enough. I’ll make changes to my build scripts. |
If you run |
My take on that is GDAL does not offer canonical GNU Autotools build configuration. There is |
It would be nice to have an I had gdal installed from sources on the default sudo make install
find /usr/local/ -mmin -30 -type f -exec ls {} + | sudo xargs rm I reinstalled it and them remove all modified files. Works. But it is a hack. |
Hacks are not uncommon, e.g. CMake offers no uninstall either and one has to employ a hack |
I'm also missing an uninstall rule, especially for the python bindings. |
The GDAL CMake build system in master has a "uninstall" target |
CMake: improve 'uninstall' target to uninstall bash completion scripts and python bindings; test in CI (fixes #1446)
Expected behavior and actual behavior.
The makefile does not have an uninstall target. I am doing some unusual platform builds and I see that something has been installed into the wrong location. But I can’t uninstall it. I have to wipe out my entire stack and rebuild.
Steps to reproduce the problem.
Run “make uninstall"
Operating system
macOS 10.14, but this is a custom stack much plain, old-school Unix.
GDAL version and provenance
2.4.1 from GitHub and checked out to the v2.4.1 tag
The text was updated successfully, but these errors were encountered: