From: ts Date: 2006-02-26T00:03:05+09:00 Subject: Re: Noob: Building Yarv 0.4.0 >>>>> "R" == Ross Bamford writes: R> (This was with the SVN trunk, which I think is the same as the latest R> snapshot, r475, though I had the same problem on the 0.4.0 version too). Well with yarv-r475 * I can build it with ruby 1.9.0 (2006-02-24) [i686-linux] * with ruby 1.9.0 (2006-02-24) [x86_64-linux] I *must* break a C optimisation to compile it, otherwise it give uln% make gcc -g -O2 -DRUBY_EXPORT -I. -I../yarv-r475 -c ../yarv-r475/array.c [...] gcc main.o libruby-yarv-static.a -lpthread -ldl -lcrypt -lm -o miniruby -g -O2 -DRUBY_EXPORT -rdynamic -Wl,-export-dynamic rbconfig.rb updated /home/ts/ruby/tmp/yarv-r475/lib/fileutils.rb:1503:in `module_eval': syntax error, unexpected $end, expecting kEND (SyntaxError) from /home/ts/ruby/tmp/yarv-r475/lib/fileutils.rb:1503:in `block (1 levels) in ' from /home/ts/ruby/tmp/yarv-r475/lib/fileutils.rb:1502:in `each' from /home/ts/ruby/tmp/yarv-r475/lib/fileutils.rb:1502:in `' from /home/ts/ruby/tmp/yarv-r475/lib/fileutils.rb:1498:in `' from /home/ts/ruby/tmp/yarv-r475/lib/fileutils.rb:85:in `' from /home/ts/ruby/tmp/yarv-r475/lib/mkmf.rb:5:in `require' from /home/ts/ruby/tmp/yarv-r475/lib/mkmf.rb:5:in `' from ../yarv-r475/ext/extmk.rb:32:in `require' from ../yarv-r475/ext/extmk.rb:32:in `
' make: *** [all] Error 1 uln% without the optimisation : uln% ~/local/yarv/bin/ruby-yarv -rsocket -ve 'p Socket' ruby 2.0.0 (Base: Ruby 1.9.0 2006-02-14) [x86_64-linux] YARVCore 0.4.0 Rev: 475 (2006-02-23) [opts: ] Socket uln% Guy Decoux