On one of the :version lines you snipped, vim-minimal probably said
"Tiny version without GUI" where vim-enhanced says "Huge version without
GUI" (or maybe Big rather than Huge) and gvim (which you can also
install together with the other two, and even run in console mode) "Huge
version with GTK2 GUI" or similar.
"Tiny" and "Small" builds of Vim have no expression evaluation, and that
makes a huge difference. To them, anything from if to endif is a
nestable comment, and outside of such a "comment", a :let command gives
an error.
Best regards,
Tony.
--
No letters of the alphabet were harmed in the creation of this message.