These are my notes on Ubuntu 16.04. It seems generic enough, that I trust it applies to any Linux (perhaps any gcc) build.
I (lazily) had used https://vim.spf13.com vim plugins.
The startup error messages were getting annoying, in
particular from neocomplete (which needs Lua support). I also had
problems from python-mode, but this was unrelated (I ended up removing,
then re-installing python-mode, via the :Plugin
plugin).
This excursion was triggered by a