Wednesday, November 7, 2018

Re: Compiling Vim on Ubuntu

Thank you gentlemen, I have a working GUI Vim now on Ubuntu.

One last problem.

gvim 
:ver
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 24 2016 16:44:48)
Included patches: 1-1689
Extra patches: 8.0.0056
Huge version with GTK2-GNOME GUI.  Features included (+) or not (-):


cd /vim8/src
./vim -g
:ver
VIM - Vi IMproved 8.1 (2018 May 18, compiled Nov  7 2018 10:51:26)
Included patches: 1-511
Compiled by me
Huge version with GTK2 GUI.  Features included (+) or not (-):

I would have thought running the make install should have fixed that up.

$ ls -la /usr/bin/gvim
lrwxrwxrwx 1 root root 22 Nov  5 19:02 /usr/bin/gvim -> /etc/alternatives/gvim*

I had to (I did a --prefix=/usr):
unlink /usr/bin/gvim
make install

Then it setup my gvim:
$ ls -la /usr/bin/gvim
lrwxrwxrwx 1 root root 3 Nov  7 12:48 /usr/bin/gvim -> vim*

David

On Tue, Nov 6, 2018 at 1:48 PM Dominique Pellé <dominique.pelle@gmail.com> wrote:
On Tue, Nov 6, 2018 at 2:30 AM David Fishburn <dfishburn.vim@gmail.com> wrote:
>
> I am having a hard time getting gvim to compile on Ubuntu 16.04
...snip...
> I can't really think what else to try to install to get the GUI support.

Try this:

# First install package needed to build vim
$ sudo apt-get build-dep vim-gnome

# Then build your own vim from sources
$ cd vim
$ rm src/auto/config.cache
$ ./configure --with-features=huge --enable-gui=gtk2
$ make - j8
$ make test
$ sudo make install

or configure with gtk3 with:
$ ./configure --with-features=huge --enable-gui=gtk3

Regards
Dominique

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: