[MacRuby-devel] Issues running rake to build macruby 0.3

Laurent Sansonetti lsansonetti at apple.com
Sun Sep 7 12:55:31 PDT 2008


Hi Ryan,

On Sep 7, 2008, at 11:38 AM, Ryan Richards wrote:

> This may be an elementary question, however I couldnt find the answer
> on the wiki.
>
> I installed macruby 0.2 via installer pkg i believe. I have been
> trying to build 0.3 using the instructions given but i get a strange
> error. I am almost certain i am missing some dependencies or using the
> incorrect ruby version.

This is strange, in theory Leopard contains all the prerequisites.

> Here is what i get:
>
> {macruby-testing} % rake --trace
> (in /usr/local/src/macruby-testing)
> ** Invoke default (first_time)
> ** Invoke all (first_time)
> ** Invoke macruby (first_time)
> ** Invoke macruby:build (first_time)
> ** Invoke macruby:dylib (first_time)
> ** Invoke rbconfig (first_time)
> ** Invoke miniruby (first_time)
> ** Invoke objects (first_time)
> ** Invoke config_h (first_time)
> ** Execute config_h
> ** Execute objects
> /usr/bin/ruby tool/compile_prelude.rb prelude.rb miniprelude.c.new
> rake aborted!

Could you run this line manually and see what's going on?

/usr/bin/ruby tool/compile_prelude.rb prelude.rb miniprelude.c.new

Also, did you replace /usr/bin/ruby?

Laurent


More information about the MacRuby-devel mailing list