In article <op.tcykdgsgd62ajc / localhost>, Dominik Bathon <dbatml / gmx.de> wrote: >On Wed, 19 Jul 2006 21:46:46 +0200, Alexandru Popescu ><the.mindstorm.mailinglist / gmail.com> wrote: > >> I got past this problem... it looks like the rubynode distro includes >> a header file that is compaired with the one existing in the Ruby >> installation. > >The problem seems to be that the 1.8.4 One Click Installer uses Ruby 1.8.4 >CVS HEAD as of 2006-04-14 (as Curt said in [ruby-talk:199979]), while the >official 1.8.4 was released on 2005-12-25. The node.h that is included in >the rubynode distribution is the one from the official release. > >So you would need to somehow get the 1.8.4 source as of 2006-04-14 to >cleanly solve this. But the current stable snapshot should also work, >since node.h wasn't modified since 2006-04-14. > I seem to have had a similar problem, but on Linux. For some reason the node.h included with the package didn't match the one on my system (ruby 1.8.4 as well). I just commented out the diff check in ext/ruby_node_ext/extconf.rb and everything built fine. Here's the relevant section of the extconf.rb: node_h = IO.read(File.join($rbsrcdir, "node.h")) gc_c = IO.read(File.join($rbsrcdir, "gc.c")) eval_c = IO.read(File.join($rbsrcdir, "eval.c")) # check if $hdrdir is "compatible" with $rbsrcdir unless node_h == IO.read(File.join($hdrdir, "node.h")) warn File.join($hdrdir, "node.h") warn "is different from" warn File.join($rbsrcdir, "node.h") warn "" warn "Please set RUBY_SOURCE_DIR to the source path of the current ruby!" #exit 1 <= COMMENT THIS LINE end After doing that everything was fine. Phil