Wednesday, September 22, 2010

Re: Compiling gvim on Debian

Matteo Riva skribis:

> On Wed, Sep 22, 2010 at 11:13 AM, Matteo Riva <muradin@gmail.com> wrote:
>> I'm trying to compile vim with gui support on a Debian system.  I can't
>> seem to figure how to enable the gui option, I tried
>>
>>   ./configure --enable-gui=gnome2
>>
>> assuming it would at least check for the required libraries and warn me
>> if any are missing, but in configure's output there is no mention of gtk
>> lib check and all I get grepping 'gui' on its output is
>>
>>   checking --enable-gui argument... no GUI support
>>
>> So I'm not sure what the problem is: wrong configure option or missing
>> libraries? If it's the latter, what dev packages do I need to install?
>
> Ok following up on my on message as I found that the missing part was
> the 'xorg-dev' package.  Compile went fine after installing it.


On Ubuntu (I assume that it's the same on Debian), you can
install all packages needed to be able to compile the gnome
version of Vim with:

$ sudo apt-get build-dep vim-gnome

Even if you managed to compile Vim with GUI, you may still
want to try that in case other features may be silenly turned off.

Also, instead of running "./configure --enable-gui=gnome2",
I recommend to run:

./configure --enable-gui=gnome2 --with-features=big

(or even with --with-features=huge) or else many useful
features won't be enabled (cscope, conceal, etc.).

You can look at ":help +feature-list" to see what features
get enable in vim tiny/small/normal/big/huge.

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

No comments:

Post a Comment