Monday, October 22, 2012

Ruby 1.9 on Windows?

Is it possible to compile Vim on Windows with Ruby 1.9 or is it still
stuck on 1.8? I've never been able to compile Vim with Ruby 1.9,
always get the error:

gcc -c -O3 -fomit-frame-pointer -freg-struct-return
-fno-strength-reduce -DWIN32 -DHAVE_PATHDEF -DFEAT_HUGE -DWINVER=0x
0500 -D_WIN32_WINNT=0x0500 -DFEAT_PERL -DDYNAMIC_PERL
-DDYNAMIC_PERL_DLL=\"perl58.dll\" -DFEAT_PYTHON -DDYNAMIC_PYTHON -
DDYNAMIC_PYTHON_DLL=\"python27.dll\" -DFEAT_RUBY -DDYNAMIC_RUBY
-DDYNAMIC_RUBY_DLL=\"msvcrt-ruby19.dll\" -DDYNAMIC_RUBY_ VER=19
-DFEAT_LUA -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL=\"lua51.dll\"
-DDYNAMIC_GETTEXT -DDYNAMIC_ICONV -DFEAT_MBYTE -DFEAT_MB YTE_IME
-DDYNAMIC_IME -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_GUI_W32
-DFEAT_CLIPBOARD -DFEAT_OLE -march=i386 -Iproto
-I/cygdrive/c/strawberry/perl/lib/CORE
-I/cygdrive/c/Ruby193/lib/ruby/1.9.1/i386-mingw32
-I/cygdrive/c/PROGRA~2/Lua/5.1/ include -s -mno-cygwin if_ruby.c -o
gobj/if_ruby.o
if_ruby.c:88:18: ruby.h: No such file or directory
if_ruby.c:90:28: ruby/encoding.h: No such file or directory

The default installer from http://www.rubyinstaller.org/ right now is
1.9.3-p286 and doesn't even have a
"Ruby193/lib/ruby/1.9.1/i386-mingw32" path. I've tampered with build
paths quite a bit and setting RUBY_PLATFORM to "i386-mingw32" and
"i386-mswin32" but have never found anything that works. And the old
1.8 header fix in \ruby\lib\ruby\1.8\i386-mingw32\config.h no longer
seems applicable because that file doesn't even exist in 1.9.

What am I doing wrong?!

--
Steve Hall [ digitect dancingpaper com ]

--
You received this message from the "vim_use" 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

No comments: