Thanks for the help.

As a first step I hacked the src/auto/config.mk file by hand to see if
I could get "make" to work without errors, setting the Ruby values
like this:

RUBY            = /Users/wincent/.rvm/rubies/ruby-1.9.1-p378/bin/ruby
RUBY_SRC        = if_ruby.c
RUBY_OBJ        = objects/if_ruby.o
RUBY_PRO        = if_ruby.pro
RUBY_CFLAGS     = -I/Users/wincent/.rvm/rubies/ruby-1.9.1-p378/include/
ruby-1.9.1 -DRUBY_VERSION="19"
RUBY_LIBS       = -L/Users/wincent/.rvm/rubies/ruby-1.9.1-p378/lib -
lruby-static

No idea if my "-l" setting is correct seeing as "make" doesn't get as
far as linking anyway:

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/Users/wincent/.rvm/rubies/ruby-1.9.1-p378/
include/ruby-1.9.1 -DRUBY_VERSION="19"  -o objects/if_ruby.o if_ruby.c
In file included from /Users/wincent/.rvm/rubies/ruby-1.9.1-p378/
include/ruby-1.9.1/Ruby/ruby.h:1125,
                 from if_ruby.c:69:
/Users/wincent/.rvm/rubies/ruby-1.9.1-p378/include/ruby-1.9.1/ruby/
missing.h:35: error: redefinition of ‘struct timespec’
In file included from /Users/wincent/.rvm/rubies/ruby-1.9.1-p378/
include/ruby-1.9.1/Ruby/ruby.h:1125,
                 from if_ruby.c:69:
/Users/wincent/.rvm/rubies/ruby-1.9.1-p378/include/ruby-1.9.1/ruby/
missing.h:151: error: expected declaration specifiers or ‘...’ before
numeric constant
/Users/wincent/.rvm/rubies/ruby-1.9.1-p378/include/ruby-1.9.1/ruby/
missing.h:151: error: expected declaration specifiers or ‘...’ before
‘__builtin_object_size’
/Users/wincent/.rvm/rubies/ruby-1.9.1-p378/include/ruby-1.9.1/ruby/
missing.h:151: warning: conflicting types for built-in function
‘__builtin___snprintf_chk’
make: *** [objects/if_ruby.o] Error 1

Probably won't bother investigating further as this is not actually
"my itch to scratch", so to speak, as I've always been happy with Ruby
1.8.7.

Cheers,
Wincent

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

To unsubscribe from this group, send email to 
vim_mac+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to