Hello list :)
As I have not been able to find a compiled package of vim with a +ruby
support for my distribution (Archlinux), I have tried for 2 days to
compile it myself from the mercurial repository... Though without any
success for now.
After a configure that was meant to be as close as possible to the one
used by my previous binary package,
$ ./configure --prefix=/usr --localstatedir=/var/lib/vim \
--mandir=/usr/share/man \
--with-features=huge --enable-gpm --enable-acl --with-x=yes \
--enable-gui=gtk2 --enable-multibyte --enable-cscope \
--enable-netbeans --enable-perlinterp=dynamic \
--enable-pythoninterp=dynamic --enable-rubyinterp=dynamic
I can tell that ruby has been recognized:
$ cat config.mk | grep RUBY
RUBY = /usr/bin/ruby
RUBY_SRC = if_ruby.c
RUBY_OBJ = objects/if_ruby.o
RUBY_PRO = if_ruby.pro
RUBY_CFLAGS = -I/usr/include/ruby-1.9.1 -I/usr/include/ruby-1.9.1/
x86_64-linux -DRUBY_VERSION=19
RUBY_LIBS = -lruby -lpthread -lrt -ldl -lcrypt -lm -L/usr/lib
Unfortunately, everything is not perfect, as a '$ make' leads to an
error message:
$ make
gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -
march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-
buffer-size=4 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/
include/ruby-1.9.1 -I/usr/include/ruby-1.9.1/x86_64-linux -
DRUBY_VERSION=19 -o objects/if_ruby.o if_ruby.c
if_ruby.c: In function ‘window_width’:
if_ruby.c:1203:12: erreur: ‘win_T’ has no member named ‘w_width’
if_ruby.c incriminated function:
static VALUE window_width(VALUE self)
{
win_T *win = get_win(self);
return INT2NUM(win->w_width);
}
I would be very glad if anyone have any hint to help me with this
issue where Google nor any mail list could not... (apparently the
Archlinux package I use for now for Vim lacks a +ruby support because
of a compilation problem -- Perhaps the same one, but I have been
unable to contact its maintainer)
Anyway, thanks in advance :)
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php