[MacRuby-devel] [ANN] MacRuby 0.4
Rich Morin
rdm at cfcl.com
Mon Mar 9 19:23:11 PDT 2009
At 21:58 +0100 3/9/09, Dömötör Gulyás wrote:
> I've been successfully building the MacRuby framework as a
> 32bit PPC/i386 UB, from trunk, with following command:
> RC_ARCHS="ppc i386" rake macruby
>
> For some reason, the order in which the archs are specified
> 32bit am not sure how well it actually runs, as I don't have
> any reports from PPC users for my app, and it doesn't work in
> Rosetta.
Thanks! I tried the following on my Power Mac G5, getting the
same error output:
% rake clean
...
% setenv RC_ARCHS ppc
% rake
Finally, I broke down and tried your exact recipe:
% bash
bash-3.2$ RC_ARCHS="ppc i386" rake macruby
This ran without complaints (!), so I tried:
% sudo rake install
which also ran without complaints. I then ran:
% cd
% rehash
% which macruby
% macruby -v
MacRuby version 0.4 (ruby 1.9.1) [universal-darwin9.0, ppc]
% macruby -e "p :hello"
:hello
This indicates some level of functionality, so I have modified
http://www.macruby.org/trac/wiki/InstallingMacRuby accordingly.
I then ran:
% rake test
and got:
rake test
(in /Local/_Private/Homes/rdm/Private/Work/MacRuby/MacRuby-0.4)
getting archs from RC_ARCHS!
Warning: your appear to use a PowerPC machine. MacRuby's PPC support
is very basic and may be dropped in a near future. Supported
architectures are Intel 32-bit and 64-bit (i386 and x86_64).
./miniruby rubytest.rb
...
sample/test.rb:system
...
lib/hotcocoa/object_ext.rb:23:
syntax error, unexpected keyword_end, expecting $end
lib/hotcocoa/object_ext.rb
F
...
sample/test.rb:gc
...
not ok system 9 -- ./sample/test.rb:1888:in `<main>'
not ok pack 2 -- ./sample/test.rb:1974:in `<main>'
not ok/test: 856 failed 2
test failed
rake aborted!
Command failed with status (1): [./miniruby rubytest.rb...]
.../MacRuby-0.4/rakefile:701
(See full trace by running task with --trace)
Feel free to contact me offline if there are any other tests I
should run, etc.
-r
--
http://www.cfcl.com/rdm Rich Morin
http://www.cfcl.com/rdm/resume rdm at cfcl.com
http://www.cfcl.com/rdm/weblog +1 650-873-7841
Technical editing and writing, programming, and web development
More information about the MacRuby-devel
mailing list