0

Everytime I compile vim and install it (I always use manual from the site), it is deleted after an Ubuntu update (not all updates but some of them).

After such updates ubuntu always ask me to use "apt-get install -f". It seems that the problem is with vim distributions which is located in default repo.

I've googled a lot but didn't find anything about the theme. Can you help me to solve the problem?

1 Answer 1

1

Self-compiled binaries should be placed in /usr/local/bin; the instructions change that default via --prefix=/usr and the VIMRUNTIMEDIR. With that, you'll get a conflict with the distribution-provided Vim packages, and I guess that's what's causing your problems.

Therefore, drop those special instructions and let Vim install to /usr/local/...; you may only have to include /usr/local/bin in your PATH to invoke it.

2
  • Should I just remove ---prefix=/usr and VIMRUNTIMERDIR options? Right? Sep 23, 2014 at 19:12
  • Yes; it's basically only ./configure --with-features=HUGE --enable-...; make; sudo make install Sep 23, 2014 at 19:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .