[Ironruby-core] Problems compiling IronRuby on Mac Leopard

Ben Aurel ben.aurel at gmail.com
Tue May 6 05:31:13 EDT 2008


Hi
I try to write a little blog article about installing mono and
ironruby on Mac Leopard from the ground up. It's a bit a bumpy road
(especially to get mono build from sources), but I'm almost there.

I'm following these instructions
http://sparcs.kaist.ac.kr/~tinuviel/download/IronRuby/HOWTO

and work with the latest patch:
$ patch -p0 < patch-mono-r94

from here: http://sparcs.kaist.ac.kr/~tinuviel/download/IronRuby/patch-mono-r94

but it doesn't work:
$ rake compile mono=1

rake aborted!
cannot resolve path System.dll
~/mono/compiling/ironruby/rakefile:137
(See full trace by running task with --trace)

(* with --trace see below)

What's needed that the System.dll can be resolved?

Thanks for your help.
Ben


(*)
$ sudo rake compile mono=1 --trace
(~/mono/compiling/ironruby)
** Invoke compile (first_time)
** Invoke happy (first_time)
** Execute happy
** Invoke clean_build (first_time)
** Invoke happy
** Execute clean_build
** Invoke compile_dlr (first_time)
** Invoke clean_build
** Execute compile_dlr
rake aborted!
cannot resolve path System.dll
./context.rb:90:in `resolve_framework_path'
./context.rb:89:in `each'
./context.rb:89:in `resolve_framework_path'
./context.rb:130:in `resolve_framework_path'
./context.rb:405:in `resolve_framework_path'
./context.rb:420:in `references'
./context.rb:418:in `each'
./context.rb:418:in `references'
./context.rb:434:in `compile'
./context.rb:432:in `chdir'
./context.rb:432:in `compile'
/mono/compiling/ironruby/rakefile:137
./context.rb:578:in `instance_eval'
./context.rb:578:in `source_context'
/mono/compiling/ironruby/rakefile:135
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `call'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `execute'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in
`invoke_with_call_chain'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `synchronize'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in
`invoke_with_call_chain'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:518:in
`invoke_prerequisites'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `each'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `send'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `each'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:515:in
`invoke_prerequisites'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:507:in
`invoke_with_call_chain'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `synchronize'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in
`invoke_with_call_chain'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in `invoke'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in `invoke_task'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `each'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in
`standard_exception_handling'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in `top_level'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in `run'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in
`standard_exception_handling'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in `run'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31
/opt/local/bin/rake:16:in `load'
/opt/local/bin/rake:16


More information about the Ironruby-core mailing list