Wednesday, September 7, 2016

Re: Compiling Vim GUI on Ubuntu

David Fishburn wrote:

> I have a script which builds Vim for me.
>
> Right now, it is only installing console Vim and not the GUI.
>
> uname -a
> Linux ubuntu-virtualbox 4.2.0-42-generic #49~14.04.1-Ubuntu SMP Wed Jun 29
> 20:22:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
>
> It is a VM, I am not even certain what my Window manager is.
>
> ubuntu@ubuntu-virtualbox:/opt/vim$ wmctrl -m
> Name: Compiz
> Class: N/A
> PID: N/A
> Window manager's "showing the desktop" mode: ON
>
>
> I assume configure failed for some reason, just looking for a heads up on
> how to check.
>
> Thanks,
> David

You must be missing the libraries to build the GUI.
Since you use ubuntu, you can install all the dependent
packages required to build gvim (gtk2) using:

$ sudo apt-get build-dep vim-gnome

Then remove src/vim/auto/config.cache, reconfigure and build:

$ cd vim
$ rm src/auto/config.cache
$ ./configure --with-features=huge --enable-gui=gtk2
$ make -j4
$ make test
$ make install

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.

No comments:

Post a Comment