Hi Dominique,

On 26/10/2019 19:10, Dominique Pellé wrote:
> Sihera Andre <[email protected]> wrote:
>
>> Hi Christian,
>>
>>
>> On 25/10/2019 17:53, Christian Brabandt wrote:
>>> On Fr, 25 Okt 2019, Sihera Andre wrote:
>>>
>>>> The reason I don't "simply" do "make install" is because, in the past,
>>>> what was installed from a locally checked-out repository and what was
>>>> shipped with the operating system package manager (in this case, Ubuntu)
>>>> often did not match even if I made sure to check out the same version
>>>> (or slightly newer) as the repository package versions.
>>>>
>>>> I got tired a long time ago of typing "make install" on a number of
>>>> projects (not just ViM) just to have everything stop working as they
>>>> destroyed the environment that the OS package manager was doing a very
>>>> good job of maintaining. I ended up then (and still do now) using git to
>>>> version control a good proportion of my /usr/local and /usr/share settings
>>>> just so that when I do a "make install" on a locally-built package and
>>>> everything stops working I can simply just do a "git checkout" to bring
>>>> it all back.
>
> Never install things in /usr/bin/
> Files there are managed by Ubuntu packages.

Thank you for the advice. I am aware of the risks
of putting files directly in /usr/bin.

As far as I was aware, I didn't know you don't actually
released "vim.huge" into the official repositories, so I
assumed I was free to do so.

Do you release "vim.huge" into the official repositories?

>
> Instead, you should install vim in /usr/local/bin.
>
> If you just do...
>
>    $ ./configure --with-features=huge
>    $ make -j8
>    $ sudo make install

You know what would be *really* useful? If you could
provide a "make uninstall" that put my /usr/local/share
and /usr/share/vim back to the exact state before I
did "make install".

Then I wouldn't have to use "git" to manage it all
myself when it goes wrong.


Cheers,

Andre.


> Then vim will be installed in /usr/local  (including binary
> in /usr/local/bin and runtime in /usr/local/share/...) so
> everything will be consistent, and it won't interfere with
> Ubuntu packages.
>
> Make sure /usr/local/bin is in your path before /usr/bin
> to run your own version of Vim rather than the Ubuntu Vim.
>
> Regards
> Dominique
>

-- 
-- 
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/PS2P216MB02757617D953452594AC6DF7C0670%40PS2P216MB0275.KORP216.PROD.OUTLOOK.COM.

Raspunde prin e-mail lui