MacVim & Ruby 1.9.1

9 views
Skip to first unread message

Pavel Kunc

unread,
Apr 17, 2009, 4:34:28 PM4/17/09
to vim_mac
Hi all,

I'm struggling with MacVim and Ruby 1.9.1. I've put together patch &
information here: http://code.google.com/p/macvim/issues/detail?id=169

Could somebody try to compile it the same way and see if it works?

It is possible to get rid of:
CXXFLAGS="${CXXFLAGS} -I/usr/local/ruby-1.9/include/ruby-1.9.1/ -I/usr/
local/ruby-
1.9/include/ruby-1.9.1/i386-darwin9.6.0/" CFLAGS="${CFLAGS} -I/usr/
local/ruby-1.9/include/ruby-1.9.1/
-I/usr/local/ruby-1.9/include/ruby-1.9.1/i386-darwin9.6.0/"

If you do proper symlinks in ruby installation:

ll /usr/local/ruby-1.9/include/ruby-1.9.1/ruby
lrwxr-xr-x 1 root wheel 25 17 Apr 20:45 ruby -> ../i386-
darwin9.6.0/ruby/

ll /usr/local/ruby-1.9/lib/ruby/1.9.1/i386-darwin9.6.0/
lrwxr-xr-x 1 root wheel 43 17 Apr 20:43 ruby -> /usr/local/
ruby-1.9/include/ruby-1.9.1/ruby
lrwxr-xr-x 1 root wheel 45 17 Apr 20:42 ruby.h -> /usr/local/
ruby-1.9/include/ruby-1.9.1/ruby.h

So now it compile with just: make

Thanks for all ideas how to make it work.

Pavel Kunc

björn

unread,
Apr 18, 2009, 4:17:06 PM4/18/09
to vim...@googlegroups.com
2009/4/17 Pavel Kunc:

>
> I'm struggling with MacVim and Ruby 1.9.1. I've put together patch &
> information here: http://code.google.com/p/macvim/issues/detail?id=169

Let me ask the most obvious questions:

1. Have you tries cleaning/recompiling?
2. What is the output of "otool -L Vim"? (execute in src/ directory)
Make sure the correct Ruby library is listed there.

I can't think of much else to try right now...I've had problems myself
in the past compiling with Perl/Ruby/Python/... and it always seems
like there is some problem. :/

Has nobody else tried compiling with Ruby 1.9.1 who could help Pavel?

Björn

Reply all
Reply to author
Forward
0 new messages