Charles E Campbell Jr wrote:
Akbar wrote:
I have the same problem. Installing vim 7.0 source in Suse 10.1, I
always get
--enable-gui argument... no GUI support
I have xorg-x11-devel installed. I have installed libgnome-devel. No
luck. Any idea?
I suspect that you do the following after unpacking the vim 7.0 source
files:
make
su (as root)
make install
exit
Normally that procedure puts the vim executable in /usr/local/bin .
Note that you did not remove any previous versions of vim -- they're
probably
still there.
So, do the following:
echo $PATH
Does your path as shown by the preceding command to the shell perhaps show
/usr/bin or /etc preceding /usr/local/bin? Try
whence vim
On my SuSE system, "whence vim" gives a "command not found" error. Use "which
vim" or "type vim" instead. (on my system, "which" is an alias for "type -p").
To find all instances of vim in the $PATH, use "which -a vim". The first one
listed is the one which gets executed when you invoke vim without a pathname.
Some of them may be soft links. Use "ls -l `which -a vim`" (with the backticks
but without the double quotes) to see what they point to. The list may be in a
different order however, since ls reorders its output alphabetically.
and, if I'm right, you'll find that the vim you compiled and installed
isn't the one
being executed. The solution: either remove the older copies of vim or,
preferably,
change the PATH so /usr/local/bin precedes /usr/bin, /bin/, or wherever
the older
vim was found.
Regards,
Chip Campbell
Best regards,
Tony.