Re: Trying to build macvim from source with ruby interp enable fails in if_ruby.c: ~960
- On Feb 20, 2:00 pm, björn <bjorn.winck...@...> wrote:
> On 20 February 2010 19:34, Steven G. Harms wrote:It could be possible to modify this so that you could do
>> 3. This leads me to ask, is there a way to have --enable-rubyinterp
>> respect my custom Ruby installdir?
> The problem is that the configure file expects there to be a
> Ruby.framework on your computer -- installing a plain non-framework of
> Ruby requires the Ruby header files to be included differently. You
> can work around this manually as follows:
--with-ruby=/usr/local and do a conditional compile, e.g.:
g++ -DWITH_ALTERNATE_RUBY -I<with-ruby-interp-location> ...
WITH_ALTERNATE_RUBY would allow if_ruby.h to be:
# include <ruby.h>
# include <Ruby/ruby.h>
I think that people who want to use alternate installations of Ruby
anything else for that matter) should be able to enable such, but the
configure script shouldn't automate any of that if the system
is missing. Messing with system frameworks is a bad idea.
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php