I have downloaded the latest sources for VIM 6.1 onto my Linux box and I
want to build Ruby support into VIM. I keep seeing that I should build
it with the +ruby option, but I don’t know where I do this. I tried to
do it when I doing the configure (eg. configure +ruby) but that doesn’t
do it. I tried #defining FEAT_RUBY in feature.h and rebuilding.
To test support I tried to do a colon then: ruby ‘print “hello”’ and I
get the message “E319: Sorry, the command is not available in this
version”.
On Tuesday 02 July 2002 06:50 am, Steve Tuckner wrote:
I have downloaded the latest sources for VIM 6.1 onto my Linux box
and I want to build Ruby support into VIM. I keep seeing that I
should build it with the +ruby option, but I don’t know where I do
this. I tried to do it when I doing the configure (eg. configure
+ruby) but that doesn’t do it. I tried #defining FEAT_RUBY in
feature.h and rebuilding.
Ok that worked great. But (even more off-topic), this builds the executable
vim. I want to build gvim. I tried
configure --enable-rubyinterp --enable-gui and vim still is the regular vim
and there is not gvim executable. Sorry for more dumb questions
Steve Tuckner
···
-----Original Message-----
From: Ned Konz [mailto:ned@bike-nomad.com]
Sent: Tuesday, July 02, 2002 9:06 AM
To: ruby-talk@ruby-lang.org
Subject: Re: [OT-OpenSource-Newbie] Building Ruby into VIM
On Tuesday 02 July 2002 06:50 am, Steve Tuckner wrote:
I have downloaded the latest sources for VIM 6.1 onto my Linux box
and I want to build Ruby support into VIM. I keep seeing that I
should build it with the +ruby option, but I don’t know where I do
this. I tried to do it when I doing the configure (eg. configure
+ruby) but that doesn’t do it. I tried #defining FEAT_RUBY in
feature.h and rebuilding.
From: Steve Tuckner [mailto:STUCKNER@MULTITECH.COM]
Sent: Tuesday, July 02, 2002 7:47 AM
To: ruby-talk ML
Subject: RE: [OT-OpenSource-Newbie] Building Ruby into VIM
Ok that worked great. But (even more off-topic), this builds the
executable
vim. I want to build gvim. I tried
configure --enable-rubyinterp --enable-gui and vim still is the
regular vim
and there is not gvim executable. Sorry for more dumb questions
This is a dumb question, but do you have the XFree86-devel RPM
installed (assuming you’re running RedHat; other distros may have
different names for the package)? You should have a bunch of files in
/usr/include/X11 or somewhere similar.
Plus, if you want the Gtk and/or Gnome UIs to be built, you have to
have the respective -devel RPMs installed as well:
gtk±devel
gnome-core-devel (I think)
···
On Tuesday 02 July 2002 07:46 am, Steve Tuckner wrote:
Ok that worked great. But (even more off-topic), this builds the
executable vim. I want to build gvim. I tried
configure --enable-rubyinterp --enable-gui and vim still is the
regular vim and there is not gvim executable. Sorry for more dumb
questions
Ok that worked great. But (even more off-topic), this builds the executable
vim. I want to build gvim. I tried
configure --enable-rubyinterp --enable-gui and vim still is the regular vim
and there is not gvim executable. Sorry for more dumb questions
Did you run “make install” as root? I have built vim many times and I
have never had any problem running “gvim” as opposed to vim. Running
make install should also install “evim”, “vimdiff”, “view”, “rview”,
“vimtutor” and a few others in /usr/bin. Note that all of those are
just links to the vim executable.
-----Original Message-----
From: Steve Tuckner [mailto:STUCKNER@MULTITECH.COM]
Sent: Tuesday, July 02, 2002 7:47 AM
To: ruby-talk ML
Subject: RE: [OT-OpenSource-Newbie] Building Ruby into VIM
Ok that worked great. But (even more off-topic), this builds the
executable
vim. I want to build gvim. I tried
configure --enable-rubyinterp --enable-gui and vim still is the
regular vim
and there is not gvim executable. Sorry for more dumb questions
-----Original Message-----
From: Ned Konz [mailto:ned@bike-nomad.com]
Sent: Tuesday, July 02, 2002 11:09 AM
To: ruby-talk@ruby-lang.org
Subject: Re: [OT-OpenSource-Newbie] Building Ruby into VIM
On Tuesday 02 July 2002 07:46 am, Steve Tuckner wrote:
Ok that worked great. But (even more off-topic), this builds the
executable vim. I want to build gvim. I tried
configure --enable-rubyinterp --enable-gui and vim still is the
regular vim and there is not gvim executable. Sorry for more dumb
questions
What that means, probably, is that configure couldn’t find the header
files it needs to build a GUI.
If you look at your auto/config.cache, what does it say for the line
that starts
This is a dumb question, but do you have the XFree86-devel RPM
installed (assuming you’re running RedHat; other distros may have
different names for the package)? You should have a bunch of files in
/usr/include/X11 or somewhere similar.
Plus, if you want the Gtk and/or Gnome UIs to be built, you have to
have the respective -devel RPMs installed as well:
Did you run “make install” as root? I have built vim many times and I
have never had any problem running “gvim” as opposed to vim. Running
make install should also install “evim”, “vimdiff”, “view”, “rview”,
“vimtutor” and a few others in /usr/bin. Note that all of those are
just links to the vim executable.
… and must be on the system path to be callable without a path.
Perhaps that’s the issue here.