Weird, I deleted the empty makefile in ext/json/ext/parser and it seemed to go from there (although now with the macruby I built and installed things complain about ot finding stringio ?).
I also noticed rake clean doesn't clean up the generated Makefiles.
So, anyway, it builds now, but the generated macruby/macirb/etc are completely broken.

Running macirb generates this:
/Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.0/ irb/notifier.rb:114:in `initialize': wrong number of arguments(2 for 0) (ArgumentError) from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/ 1.9.0/irb/notifier.rb:114:in `initialize' from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/ 1.9.0/irb/notifier.rb:86:in `new' from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/ 1.9.0/irb/notifier.rb:86:in `def_notifier' from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/ 1.9.0/irb/slex.rb:24:in `<class:SLex>' from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/ 1.9.0/irb/slex.rb:16:in `<module:IRB>' from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/ 1.9.0/irb/slex.rb:15:in `<top (required)>' from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/ 1.9.0/irb/ruby-lex.rb:13:in `require' from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/ 1.9.0/irb/ruby-lex.rb:13:in `<top (required)>' from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/ 1.9.0/irb.rb:18:in `require' from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/ 1.9.0/irb.rb:18:in `<top (required)>'
        from /usr/local/bin/macirb:9:in `require'
        from /usr/local/bin/macirb:9:in `<main>'

Finally, I just blew the whole tree away, fetched again and ran sudo rake (even though this was all in a directory off my ~ directory) then sudo rake install and it seems fine now. It looks like the build itself doesn't work correctly unless rake is one via sudo. :\

On Nov 24, 2008, at 9:45 PM, Michael Winterstein wrote:


On Nov 24, 2008, at 4:38 PM, Patrick Bennett wrote:

No one? I check out a clean copy of macruby, it fails to build (just running rake like it says), and NO ONE replies? :(

I did have a similar problem. I did things similarly - installed first using the 0.3 binary, and then built from the trunk. This worked at least once, but failed sometime last week (I don't know if it was r749 exactly, or if that's just when I tried it.) It also didn't work with r754. I'm on a MBP as well, using 10.5.5.

Then today I tried using 'macrake' instead of 'rake' and it worked. Since you did things similarly to me and should have macrake installed, you could try it.

I was getting a different error, though (apparently an infinite loop).

-Michael
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to