Rubinius がコンパイルできない
おとといくらいから MacOS X で Rubinius がコンパイルできない。rake build するとこんなエラーが。
$ rake build (in /tmp/ruby/rubinius.code) make vm cd shotgun; make rubinius cd lib; make library; CC archive.o In file included from ../../shotgun/lib/state.h:187, from ../../shotgun/lib/shotgun.h:19, from archive.c:4: ../../shotgun/lib/machine.h:29: error: parse error before '_STRUCT_MCONTEXT' ../../shotgun/lib/machine.h:29: warning: no semicolon at end of struct or union ../../shotgun/lib/machine.h:35: error: parse error before '}' token make[2]: *** [archive.o] Error 1 make[1]: *** [lib/librubinius-0.8.0.dylib] Error 2 make: *** [vm] Error 2 rake aborted! Command failed with status (2): [make vm...] /tmp/ruby/rubinius.code/rakefile:98 (See full trace by running task with --trace)
_STRUCT_MCONTEXT 関連でエラーがでる。たぶん C マクロなんだろうけど、どこにも定義が見つからない。
$ find . -type f | xargs grep _STRUCT_MCONTEXT ./shotgun/lib/machine.h: _STRUCT_MCONTEXT __system_mc; ./shotgun/lib/subtend/nmc.h: _STRUCT_MCONTEXT __system_mc; ./shotgun/lib/subtend/nmc.h: _STRUCT_MCONTEXT __cont_mc;
こんなんでほんとに使い物になるんかなー。