Hi, after emerging vim-6.2a vim gave the following errors: thomas@borg-cube vim $ vim Error detected while processing /etc/vim/vimrc: line 54: E484: Can't open file /usr/share/vim/vim61/syntax/syntax.vim Error detected while processing /home/thomas/.vimrc: line 1: E484: Can't open file /usr/share/vim/vim61/syntax/syntax.vim Hit ENTER or type command to continue after creating a symlink /usr/share/vim/vim62a -> /usr/share/vim/vim61 everything worked back normal. i don't know why vim 6.2a wants vim61.
The problem is that vim uses a environment variable defined in /etc/env.d/40vim. Unless an env-update is done and /etc/profile is reevaluated, vim still sees the old variable pointing to the vim61 directory instead of the new value pointing to vim62. This is a problem I encounter every other day with Gentoo boxes. I think Gentoo should do it like Debian. They had such problems too years ago. Debian sets such environment variables in wrapper scripts (i.e. /bin/vim). Then such problems never occur again and the user/operator saves valuable time.
i can confirm that an env-update does fix this problem.
etc-update fixed this
I am having this problem with vim-6.3 too. There is no /etc/env.d/40vim on my system even after unmerging and remerging vim-core and vim.