Thanks for the response Christian. > and uncomment the `#deb-src` lines.
Here is the updated sources. # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://ca.archive.ubuntu.com/ubuntu/ xenial main restricted deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://ca.archive.ubuntu.com/ubuntu/ xenial-updates main restricted deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## universe WILL NOT receive any review or updates from the Ubuntu security ## team. deb http://ca.archive.ubuntu.com/ubuntu/ xenial universe deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial universe deb http://ca.archive.ubuntu.com/ubuntu/ xenial-updates universe deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://ca.archive.ubuntu.com/ubuntu/ xenial multiverse deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial multiverse deb http://ca.archive.ubuntu.com/ubuntu/ xenial-updates multiverse deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial-updates multiverse ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://ca.archive.ubuntu.com/ubuntu/ xenial-backports main restricted unive$ deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial-backports main restricted u$ Then the update root@DF-CFLOCAL:/var/tmp/user0/vim8_from_git/vim8# apt-get update Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB] Hit:2 http://ca.archive.ubuntu.com/ubuntu xenial InRelease Hit:3 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease Get:4 http://ca.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB] Get:5 http://ca.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB] Hit:6 https://download.docker.com/linux/ubuntu xenial InRelease Get:7 http://ca.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [871 kB] Hit:8 https://packages.cloudfoundry.org/debian stable InRelease Get:9 http://ca.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [777 kB] Get:10 http://ca.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [701 kB] Get:11 http://ca.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [643 kB] Fetched 3,315 kB in 6s (510 kB/s) Reading package lists... Done build-dep root@DF-CFLOCAL:/var/tmp/user0/vim8_from_git/vim8# apt build-dep vim-gtk Reading package lists... Done Picking 'vim' as source package instead of 'vim-gtk' Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: gnome-software-common libdbusmenu-gtk4 libgtkspell3-3-0 libllvm3.8 libmircommon5 libpango1.0-0 libpangox-1.0-0 libqmi-glib1 libqpdf17 ubuntu-core-launcher Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Check for gui support root@DF-CFLOCAL:/var/tmp/user0/vim8_from_git/vim8# ./configure --enable-gui | grep gui checking --enable-gui argument... no GUI support src/auto/config.log ... configure:9017: checking --enable-gui argument configure:9078: result: no GUI support configure:10504: checking for X11/SM/SMlib.h configure:10504: result: no ... Anything else to check? On Tue, Nov 6, 2018 at 1:46 AM Christian Brabandt <[email protected]> wrote: > > On Mo, 05 Nov 2018, David Fishburn wrote: > > > I am having a hard time getting gvim to compile on Ubuntu 16.04 > > > > 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. > > Your sources.list file is missing links to the source packages. So it > does not know how to install source packages needed for compiling. > > Have a look here at an example here: > https://wiki.ubuntuusers.de/sources.list/#Ubuntu-16-04 > > and uncomment the `#deb-src` lines. > > Once you have modified your sources.list, after an apt-get update you > should be able to run `apt-get build-dep vim-gtk` successfully. > > Best, > Christian > -- > Wußten Sie schon... > ... daß der Hintern zu sehen bleibt, wenn man den Kopf in den Sand steckt? > > -- > -- > 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 [email protected]. > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
