Ingo Karkat wrote:
> Instead of explicitly installing the compiler and various dev > packages, I have been using > $ apt-get build-dep vim-gtk3 > - From the apt-get man page: "build-dep causes apt-get to install/remove > packages in an attempt to satisfy the build dependencies for a source > package". > > So if you want a Vim with similar build options as the distribution's > version, this seems to be a really convenient and future-proof > alternative command. (You still need "apt install git", as Ubuntu > doesn't know how you obtain the source code.) It's a safe alternative, but most likely will pull in more than what you need. > (This is for Ubuntu 20.04, which ships the GTK3 variant by default. On > Ubuntu 16.04, it used to be build-dep vim-gnome, for the GTK2 variant.) > > Interestingly, build-dep installs gcc as the compiler - I don't even > have clang installed; always compiled Vim with gcc. Somehow gcc is a dependency of one of the packages. Might very well be the gtk one. Before building the X11 and GUI version running libvterm tests failed because they strangely depend on gcc (through libtool, which appears to be a messy shell script with gcc hard coded). Clang is often a better compiler than gcc (better error message, faster), but it apparently can't completely replace it. -- The software said it requires Windows 95 or better, so I installed Linux. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" 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_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/202101312000.10VK0oV91045725%40masaka.moolenaar.net.
