Tuesday, November 6, 2018

Re: Compiling Vim on Ubuntu

On Tue, Nov 6, 2018 at 3:18 PM Ken Takata <ktakata65536@gmail.com> wrote:
>
> Hi David,
>
> 2018/11/6 Tue 10:30:56 UTC+9 David Fishburn wrote:
> > I am having a hard time getting gvim to compile on Ubuntu 16.04
> >
> >root
> > When I run this:
> >
> >
> > ./configure --enable-gui
> >
> >
> >
> >
> > checking for X... (cached) no
> > checking if X11 header files can be found... yes
> > checking --enable-gui argument... no GUI support
> > checking for X11/SM/SMlib.h... (cached) no
> >
> >
> > This is a standard install of Ubuntu (in a VM), running the dfeault GUI comes with Ubuntu (Unity).
> >
> >
> > I have tried just about everything I can think to get the required support.
> >
> >
> > sudo apt-get update
> >
> > sudo apt-get
> > build-dep vim
> >
> >
> > sudo apt-get
> > build-dep vim-gtk
> >
> >
> > sudo apt-get install git
> > sudo apt-get install build-essentials
> > sudo apt-get install
> > vim-gnome
> >
> >
> >
> > sudo apt-get install
> > libncursesw5-dev
> >
> >
> >
> > sudo apt-get update
> >
> >
> >
> >
> >
> > /var/tmp/user0/vim8_from_git/vim8#
> > ./configure --enable-gui | grep gui
> >
> >
> > checking
> > --enable-gui argument... no GUI support
> >
> >
> >
> >
> >
> > /var/tmp/user0/vim8_from_git/vim8#
> > apt build-dep vim
> >
> >
> > Reading
> > package lists... Done
> >
> >
> > E:
> > You must put some 'source' URIs in your sources.list
> >
> >
> >
> >
> >
> > sudo apt-get update
> >
> >
> > If this does not fix
> > the issue, edit /etc/apt/sources.list, e.g. using
> >
> >
> > sudo vim
> > /etc/apt/sources.list
> >
> >
> > and ensure that the
> > deb-src lines are not commented out.
> >
> >
> > sudo
> > apt upgrade
> >
> >
> > sudo
> > apt -get build-dep vim
> >
> >
> > sudo
> > apt -get build-dep vim-gtk
> >
> >
> > I can't really think what else to try to install to get the GUI support.
>
> How about using "./configure --enable-gui=gtk2" instead?
>
> Regards,
> Ken Takata

And if that isn't enough, check which GTK packages are installed — you
might be missing some "development" package: gtk2-dev or gtk2-devel or
whatever.

Best regards,
Tony.

--
--
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