On Di, 27 Jun 2023, Devin Weaver wrote:

> On a fresh Ubuntu install attempting to run “make install” has an error:
> 
> cd /usr/bin; ln -s vim ex
> ln: failed to create symbolic link 'ex': File exists
> make[1]: *** [Makefile:2687: /usr/bin/ex] Error 1
> make[1]: Leaving directory '/home/suki/source/vim/src'
> make: *** [Makefile:39: install] Error 2
> 
> ls /usr/bin/ex
> lrwxrwxrwx 1 root root 20 Feb 17 17:24 /usr/bin/ex -> /etc/alternatives/ex*
> 
So you probably have a package installed, that provides `/usr/bin/ex`. 
Try `dpkg -S $(realpath $(which ex))`

> I’m not so sure what to do about that. Hadn’t run into this before.

I would recommend, to use ./configure --prefix=$HOME/local/

to install into your local directory. Then you also do not need to use 
sudo to run make install

Just make sure, to add $HOME/local/bin to your $PATH


Best,
Christian
-- 
Die Rechtschreibung bereitet dem Menschen sein ganzes Leben lang
Schwierigkeiten, sei denn, er ist Analphabet.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/ZJwkc6FbFYpAtj2k%40256bit.org.

Raspunde prin e-mail lui