brian hammond
bhamm****@yahoo*****
Sat Feb 17 12:52:34 JST 2007
OK I've wiped out what I had and started afresh. $ svn co \ https://rubycocoa.svn.sourceforge.net/svnroot/rubycocoa/branches/apple-unstable/src \ rubycocoa-unstable ... Checked out revision 1562. $ cd rubycocoa-unstable $ ruby install.rb config --build-universal $ ruby install.rb setup $ sudo ruby install.rb install $ cd /Developer/Examples/RubyCocoa $ mkdir ~/Desktop/RC $ sudo ruby buildall.rb ~/Desktop/RC Running SimpleApp causes the following crash report. I ran across a fairly old and vague blog post about needing to install RubyCocoa from DarwinPorts if I am using Ruby from DP. I *am* using Ruby from DP. Could this be causing the issue? Sorry I don't know why this would at this point... -Brian Host Name: ??? Date/Time: 2007-02-16 22:50:31.920 -0500 OS Version: 10.4.8 (Build 8L2127) Report Version: 4 Command: SimpleApp Path: /Users/bhammond/Desktop/RC/SimpleApp.app/Contents/MacOS/SimpleApp Parent: WindowServer [107] Version: ??? (0.1) PID: 10553 Thread: 0 Exception: EXC_BAD_INSTRUCTION (0x0002) Code[0]: 0x0000000d Code[1]: 0x00000000 Thread 0 Crashed: 0 com.apple.CoreFoundation 0x9082aae6 _CFReadBytesFromFile + 76 1 com.apple.CoreFoundation 0x9082a4cf CFURLCreateDataAndPropertiesFromResource + 284 2 com.apple.CoreFoundation 0x9081c503 _CFBundleCopyInfoDictionaryInDirectoryWithVersion + 1170 3 com.apple.CoreFoundation 0x9081c064 CFBundleGetInfoDictionary + 55 4 com.apple.CoreFoundation 0x90813775 _CFBundleCreate + 751 5 com.apple.Foundation 0x925dd856 -[NSBundle _cfBundle] + 209 6 com.apple.Foundation 0x92615cb6 -[NSBundle isLoaded] + 50 7 libffi-2.1.dylib 0x00005e87 .LCFI1 + 20 8 libffi-2.1.dylib 0x00005c36 ffi_call + 236 (ffi_darwin.c:252) 9 com.apple.rubycocoa 0x0002e26b rb_ffi_dispatch + 579 10 com.apple.rubycocoa 0x000201ea objcptr_cptr + 1465 11 com.apple.rubycocoa 0x000209c0 objcptr_cptr + 3471 12 libruby.dylib 0x0056230d call_cfunc + 212 13 libruby.dylib 0x005619a9 rb_call0 + 1098 14 libruby.dylib 0x0056297d rb_call + 561 ----- Original Message ---- From: Laurent Sansonetti <lsans****@apple*****> To: rubyc****@lists***** Sent: Friday, February 16, 2007 6:51:13 PM Subject: [Rubycocoa-devel 742] Re: known issue? Hey Brian, Are you sure you are using the latest SVN version? Normally RubyCocoa shouldn't look for "encoding" attributes anymore. Looks like you have an old RubyCocoa but the updated BridgeSupport files. Laurent On Feb 17, 2007, at 12:37 AM, brian hammond wrote: > Hello! > > I'm trying RubyCocoa out (why haven't I heard of this project > before? Wow!) on an Intel MacBook Pro running 10.4.8. > > I checked out unstable from svn and did: > > $ ruby install.rb config --build-universal > $ ruby install.rb setup > $ sudo ruby install.rb install > > [all goes well] > > $ cd /Developer/Examples/RubyCocoa > $ mkdir ~/Desktop/RC > $ sudo ruby buildall.rb ~/Desktop/RC > > [most go well... dies at Voodoopad something or other] > > I tried any of the built examples. None launch. > > Console.app shows me the same thing for each one: > > /Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/objc/ > oc_import.rb:98:in > `load_bridge_support_file': expected attribute `encoding' for element > `struct' (RuntimeError) > from /Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/ > objc/oc_import.rb:98:in `__load_bridge_support_file__' > from /Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/ > objc/oc_import.rb:130:in `load_bridge_support_signatures' > from /Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/ > objc/oc_import.rb:130:in `each' > from /Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/ > objc/oc_import.rb:130:in `load_bridge_support_signatures' > from /Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/ > objc/oc_import.rb:171 > from /Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/ > objc/oc_all.rb:8:in `require' > from /Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/ > objc/oc_all.rb:8 > from /Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/ > objc/foundation.rb:7:in `require' > from /Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/ > objc/foundation.rb:7 > from /Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/ > objc/cocoa.rb:7:in `require' > from /Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/ > objc/cocoa.rb:7 > from /Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/ > cocoa.rb:7:in `require' > from /Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/ > cocoa.rb:7 > from /Users/bhammond/Desktop/RC/TypingTutor.app/Contents/ > Resources/rb_main.rb:5:in `require' > from /Users/bhammond/Desktop/RC/TypingTutor.app/Contents/ > Resources/rb_main.rb:5 > > > Am I doing something wrong? Is this a known issue? > > I'm just itching to play around with the latest. Thanks! > > > > - Brian > > > > > > ____________________________________________________________________________________ > Don't pick lemons. > See all the new 2007 cars at Yahoo! Autos. > http://autos.yahoo.com/new_cars.html > _______________________________________________ > Rubycocoa-devel mailing list > Rubyc****@lists***** > http://lists.sourceforge.jp/mailman/listinfo/rubycocoa-devel _______________________________________________ Rubycocoa-devel mailing list Rubyc****@lists***** http://lists.sourceforge.jp/mailman/listinfo/rubycocoa-devel ____________________________________________________________________________________ Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=list&sid=396546091