Hi.

Compiling with

./configure --with-features=huge --enable-cscope --enable-rubyinterp

on Snow Leopard and make fails with this:

gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall -Wno-
unknown-pragmas -pipe  -DMACOS_X_UNIX -no-cpp-precomp  -g -O2 -
D_FORTIFY_SOURCE=1       -I/System/Library/Frameworks/Ruby.framework/
Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0  -o objects/
if_ruby.o if_ruby.c
if_ruby.c:52:24: error: Ruby/Ruby.h: No such file or directory
if_ruby.c:77: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘objtbl’
if_ruby.c:79: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘mVIM’
...

Symlinking /System/Library/Frameworks/Ruby.framework/Versions/1.8/
Headers to /usr/include/Ruby and fixing src/if_ruby.c (or symlinking
ruby.h -> Ruby.h)

--- a/src/if_ruby.c
+++ b/src/if_ruby.c
@@ -49,7 +49,7 @@
 #endif

 #ifdef FEAT_GUI_MACVIM
-# include <Ruby/Ruby.h>
+# include <Ruby/ruby.h>
 #else
 # include <ruby.h>
 #endif

helped. But this feels somehow wrong. I am using git snapshot.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to