[MacRuby-devel] 0.2 available for testing

Stephen Bannasch stephen.bannasch at deanbrook.org
Fri Jun 6 16:14:03 PDT 2008


At 3:20 PM -0700 6/6/08, Laurent Sansonetti wrote:
>On Jun 6, 2008, at 1:57 PM, Stephen Bannasch wrote:

...

> > sudo make install-nodoc
>>
>> ... results in ...
>>
>> installing binary commands
>> installing command scripts
>> installing library scripts
>> installing headers
>> installing manpages
>> installing extension objects
>> installing extension scripts
>> installing Xcode templates
>> installing samples
>> /Users/stephen/dev/MacRuby/src/lib/fileutils.rb:1437:in 
>> `fu_check_options': undefined method `keys' for [493]:NSCFArray 
>> (NoMethodError)
>>	from /Users/stephen/dev/MacRuby/src/lib/fileutils.rb:196:in `mkdir_p'
>>	from ./instruby.rb:156:in `makedirs'
>>	from ./instruby.rb:178:in `block in install_recursive'
>>	from ./instruby.rb:164:in `glob'
>>	from ./instruby.rb:164:in `install_recursive'
>>	from ./instruby.rb:430:in `install_stuff'
>>	from ./instruby.rb:438:in `<main>'
>> make: *** [do-install-nodoc] Error 1
>
>This should be fixed in trunk or testing, a few revisions ago (r257 to 
>be precise).

It compiles and installs now but the crash running CircleView is still there. I'll try your gdb suggestions later.

At 3:19 PM -0700 6/6/08, Laurent Sansonetti wrote:
>Just wondering, regarding your environment, do you have a little 
>amount of memory available at the time you start CircleView? Or, is 
>there a process that uses most of the memory at the same time?

I have 4GB memory and when I tried it with Safe Boot and Shift-down after login there should be a minimal amount of programs running.

There is a serious problem in the install however. I had removed all the macruby installed files in /usr/local/bin and after running the install the executables with the "mac" prefix were installed along with these standard forms:

erb -> ../../..///Library/Frameworks/MacRuby.framework/Versions/Current/usr/bin/erb
gem -> ../../..///Library/Frameworks/MacRuby.framework/Versions/Current/usr/bin/gem
irb -> ../../..///Library/Frameworks/MacRuby.framework/Versions/Current/usr/bin/irb
rake -> ../../..///Library/Frameworks/MacRuby.framework/Versions/Current/usr/bin/rake
rdoc -> ../../..///Library/Frameworks/MacRuby.framework/Versions/Current/usr/bin/rdoc
ri -> ../../..///Library/Frameworks/MacRuby.framework/Versions/Current/usr/bin/ri
ruby -> ../../..///Library/Frameworks/MacRuby.framework/Versions/Current/usr/bin/ruby
testrb -> ../../..///Library/Frameworks/MacRuby.framework/Versions/Current/usr/bin/testrb

That's a problem because now these are found my path first and now shadow the ruby, rake I normally use.

  cd /usr/local/bin
  sudo rm erb gem irb rake rdoc ri ruby

fixed that.

I'd assume that adding this:

  --program-prefix=mac

as a configure parameter would disable installation of the standard named executables.


More information about the MacRuby-devel mailing list