1.9.0-2はOSXでコンパイルが通らないよー
Rubyのコアな人たちがRuby1.9を使ってバグ報告クレクレと言うので
そんなに言うんじゃ使ってみなきゃなーなんて思って
触ってみることにしました。
結論
コンパイルが通りません
エラーメッセージ
http://svn.ruby-lang.org/repos/ruby/tags/v1_9_0_2
をcoして落としました。
んで、autoconf、./configure、make
と実行すると、
compiling readline gcc -I. -I../../.ext/include/i686-darwin8.11.1 -I../.././include -I../.././ext/readline -DRUBY_EXTCONF_H=\"extconf.h\" -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -g -Wall -Wno-parentheses -pipe -fno-common -o readline.o -c readline.c readline.c: In function ‘filename_completion_proc_call’: readline.c:671: warning: implicit declaration of function ‘completion_matches’ readline.c:672: error: ‘filename_completion_function’ undeclared (first use in this function) readline.c:672: error: (Each undeclared identifier is reported only once readline.c:672: error: for each function it appears in.) readline.c:672: warning: assignment makes pointer from integer without a cast readline.c: In function ‘username_completion_proc_call’: readline.c:697: error: ‘username_completion_function’ undeclared (first use in this function) readline.c:697: warning: assignment makes pointer from integer without a cast make[1]: *** [readline.o] Error 1 make: *** [all] Error 1
うーん。中田さんに聞いてみたらRuby-1.8はコンパイルできる?と聞かれたので
やってみたところ、1.8.6は問題なくコンパイルできました。
うーん、おかしいなぁと思ってグダグダやっていて、
いろいろやってみよう作戦になりました。
んで、ホデルに戻って来て、そーだsnapshotではどうなる?
と思ってやってみたけど、エラーは同じ。
中田さんにログをくださいと言われたけど、ログってどうやれば出て来るの?
明日直接聞くことにしようかな。おやすみなさい。