From: Eloy D. <elo...@gm...> - 2007-11-27 09:05:52
|
Hi Stephen, I'm sorry it was such a difficult task to install it, so I'm glad you were able to fix them. Your compiled list of solutions is very nice. I've put the part about the rexml patch on: http://rubycocoa.sourceforge.net/GettingStarted And I'll try to make some points clearer on the rucola website. Cheers, Eloy On 27 nov 2007, at 00:12, Stephen Bannasch wrote: > I've got ruby-1.8.6-p111 installed in /usr/local and have had a > number of troubles installing rubycocoa and rucola. > > I did solve them but thought a short narrative might be helpful for > somebody else with similar issues (and perhaps also for adding to the > documentation online which describes how to get started). > > I'm on macos 10.4.11 using rubygems version 0.9.5. > > I saw the announcement about rucola and thought -- "That sounds cool, > I'd like to try that!" > > $ sudo gem install rucola > > failed installing rubynode -- the latest rubygems installs > dependencies automatically so the fact that the error occurred > installing rubynode might be so obvious. > > Checking the page for the rubynode gem showed the problem (so did the > error message). Setting an environment variable before installing > rubynode got it installed: > > $ RUBY_SOURCE_DIR="/Users/stephen/dev/ruby/src/ruby-1.8.6-p111" sudo > gem install rubynode > Building native extensions. This could take a while... > Successfully installed rubynode-0.1.3 > 1 gem installed > > Then installing rucola worked. > > $ sudo gem install rucola > Successfully installed rucola-0.0.2 > 1 gem installed > Installing ri documentation for rucola-0.0.2... > Installing RDoc documentation for rucola-0.0.2... > > But after making a new rubycocoa app with rucola and trying to run it > I got this error: > > rake aborted! > no such file to load -- osx/cocoa > > Ooops, rubycocoa wasn't just a gem dependency! > > So first I downloaded the dmg and ran it -- when that didn't help > (probably installed for the original ruby that came with tiger) I > first tried the svn version and then the 0.13 tgz. With both of these > options my ruby prefix is set correctly but I get this error in the > config phase: > > $ ruby install.rb config > install.rb: entering config phase... > create ext/rubycocoa/extconf.rb > create framework/GeneratedConfig.xcconfig > create framework/src/objc/Version.h > create tests/Makefile > ---> framework > create /Users/stephen/dev/ruby/src/rubycocoa/framework/src/objc/ > osx_ruby.h ... > create > /Users/stephen/dev/ruby/src/rubycocoa/framework/src/objc/osx_intern.h > ... > BSROOT="/Users/stephen/dev/ruby/src/rubycocoa/framework/bridge- > support" > CFLAGS="" /usr/local/bin/ruby build.rb > Generating BridgeSupport metadata for: CoreFoundation ... > Collect metadata (20.65495 seconds) > /usr/local/lib/ruby/1.8/rexml/document.rb:186:in `write': undefined > local variable or method `transitive' for <UNDEFINED> ... > </>:REXML::Document (NameError) > from ./gen_bridge_metadata.rb:1516:in `generate_xml' > from ./gen_bridge_metadata.rb:1516:in `open' > from ./gen_bridge_metadata.rb:1516:in `generate_xml' > from ./gen_bridge_metadata.rb:542:in `write' > from build.rb:106 > from build.rb:50:in `measure' > from build.rb:104 > from build.rb:62:in `each' > from build.rb:62 > config failed > hook /Users/stephen/dev/ruby/src/rubycocoa/framework/post-config.rb > failed: > 'system > BSROOT="/Users/stephen/dev/ruby/src/rubycocoa/framework/bridge- > support" > CFLAGS="" /usr/local/bin/ruby build.rb' failed > > OK, I subscribed to the mailing list and also searched the list > archives and found the rexml bug and applied the patch in this > message: > > http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-dev/32040 > > then rubycocoa built successfully and I got back to superalloy's > screencast and saw my own version of the first Leecher window as I'm > following along -- now I'm finally back to to the part where I'm > saying ... > > "That's cool!" > > ... > > -- > - Stephen Bannasch > Concord Consortium, http://www.concord.org > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk |