Skip to content
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 uninstall target in the Makefile #5684

Open
vicuna opened this issue Jul 13, 2012 · 1 comment

Comments

Projects
None yet
1 participant
@vicuna
Copy link

commented Jul 13, 2012

Original bug ID: 5684
Reporter: berenger
Status: confirmed (set by @damiendoligez on 2012-07-17T12:48:44Z)
Resolution: open
Priority: high
Severity: feature
Platform: all
OS: unix-like
OS Version: all
Version: 4.00.0+beta2/+rc1
Target version: undecided
Category: configure and build/install
Monitored by: @hcarty

Bug description

Hi,

When there is a make install, it's useful
to also have a make uninstall.

Thanks,
F.

@vicuna

This comment has been minimized.

Copy link
Author

commented Nov 13, 2018

Comment author: @johnwhitington

If uninstalling is too delicate or difficult to maintain, one way to fix this might be to simply warn if the target directories already exist, and suggest the user delete them.

Simply overwriting what is there can lead to subtle errors, which are hard to track down. For example:

ocaml/opam#3665 (OPAM broken by new stdlib__ prefix if unprefixed files still exist in system ocaml).

ocamlfind's ./configure also can not complete with 3.07.1 installed over an older ocaml, presumably due to the same problem -- it looks for x.cmi before stdlib__x.cmi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.