From: Chris C. <cdc...@gm...> - 2007-11-05 16:20:29
|
So today I went to build RubyCocoa on my tiger machine. To be sure, I reinstalled Ruby with --enable-shared and things. When doing the binary installer I got a very generic "Error: Please try again message". I tried building from source and am getting this error message after a lot of processing: saurasaurusrex:~/Desktop/RubyCocoa-0.12.0 cdcarter$ 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/cdcarter/Desktop/RubyCocoa-0.12.0/framework/src/objc/osx_ruby.h ... create /Users/cdcarter/Desktop/RubyCocoa-0.12.0/framework/src/objc/osx_intern.h ... BSROOT="/Users/cdcarter/Desktop/RubyCocoa-0.12.0/framework/bridge-support" CFLAGS="" /usr/local/bin/ruby build.rb Generating BridgeSupport metadata for: CoreFoundation ... Collect metadata (9.581525 seconds) /usr/local/lib/ruby/1.8/rexml/text.rb:292:in `normalize': private method `gsub' called for true:TrueClass (NoMethodError) from /usr/local/lib/ruby/1.8/rexml/element.rb:1082:in `[]=' from /usr/local/lib/ruby/1.8/rexml/element.rb:586:in `add_attribute' from ./gen_bridge_metadata.rb:1435:in `generate_xml_document' from ./gen_bridge_metadata.rb:1419:in `each' from ./gen_bridge_metadata.rb:1419:in `generate_xml_document' from ./gen_bridge_metadata.rb:551:in `xml_document' from ./gen_bridge_metadata.rb:1511:in `generate_xml' from ./gen_bridge_metadata.rb:1511:in `open' from ./gen_bridge_metadata.rb:1511: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/cdcarter/Desktop/RubyCocoa-0.12.0/framework/post-config.rb failed: 'system BSROOT="/Users/cdcarter/Desktop/RubyCocoa-0.12.0/framework/bridge-support" CFLAGS="" /usr/local/bin/ruby build.rb' failed try 'ruby install.rb --help' for usage Building from trunk yields this: saurasaurusrex:~/rubycocoa cdcarter$ 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/cdcarter/rubycocoa/framework/src/objc/osx_ruby.h ... create /Users/cdcarter/rubycocoa/framework/src/objc/osx_intern.h ... BSROOT="/Users/cdcarter/rubycocoa/framework/bridge-support" CFLAGS="" /usr/local/bin/ruby build.rb Generating BridgeSupport metadata for: CoreFoundation ... Collect metadata (13.559733 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/cdcarter/rubycocoa/framework/post-config.rb failed: 'system BSROOT="/Users/cdcarter/rubycocoa/framework/bridge-support" CFLAGS="" /usr/local/bin/ruby build.rb' failed try 'ruby install.rb --help' for usage Any ideas? Am I missing something huge? -- Chris Carter concentrationstudios.com brynmawrcs.com |
From: Eloy D. <elo...@gm...> - 2007-11-05 16:25:30
|
Hi Chris, Please see this mail for the problem: http://lists.sourceforge.jp/mailman/archives/rubycocoa-devel/2007-November/001194.html And a patch from Kimura-san: http://trac.macports.org/projects/macports/ticket/13135 Eloy On 5 nov 2007, at 17:20, Chris Carter wrote: > So today I went to build RubyCocoa on my tiger machine. To be sure, I > reinstalled Ruby with --enable-shared and things. When doing the > binary installer I got a very generic "Error: Please try again > message". I tried building from source and am getting this error > message after a lot of processing: > saurasaurusrex:~/Desktop/RubyCocoa-0.12.0 cdcarter$ 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/cdcarter/Desktop/RubyCocoa-0.12.0/framework/src/objc/ > osx_ruby.h > ... > create /Users/cdcarter/Desktop/RubyCocoa-0.12.0/framework/src/objc/ > osx_intern.h > ... > BSROOT="/Users/cdcarter/Desktop/RubyCocoa-0.12.0/framework/bridge- > support" > CFLAGS="" /usr/local/bin/ruby build.rb > Generating BridgeSupport metadata for: CoreFoundation ... > Collect metadata (9.581525 seconds) > /usr/local/lib/ruby/1.8/rexml/text.rb:292:in `normalize': private > method `gsub' called for true:TrueClass (NoMethodError) > from /usr/local/lib/ruby/1.8/rexml/element.rb:1082:in `[]=' > from /usr/local/lib/ruby/1.8/rexml/element.rb:586:in > `add_attribute' > from ./gen_bridge_metadata.rb:1435:in `generate_xml_document' > from ./gen_bridge_metadata.rb:1419:in `each' > from ./gen_bridge_metadata.rb:1419:in `generate_xml_document' > from ./gen_bridge_metadata.rb:551:in `xml_document' > from ./gen_bridge_metadata.rb:1511:in `generate_xml' > from ./gen_bridge_metadata.rb:1511:in `open' > from ./gen_bridge_metadata.rb:1511: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/cdcarter/Desktop/RubyCocoa-0.12.0/framework/post- > config.rb failed: > 'system BSROOT="/Users/cdcarter/Desktop/RubyCocoa-0.12.0/framework/ > bridge-support" > CFLAGS="" /usr/local/bin/ruby build.rb' failed > try 'ruby install.rb --help' for usage > > Building from trunk yields this: > saurasaurusrex:~/rubycocoa cdcarter$ 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/cdcarter/rubycocoa/framework/src/objc/osx_ruby.h ... > create /Users/cdcarter/rubycocoa/framework/src/objc/osx_intern.h ... > BSROOT="/Users/cdcarter/rubycocoa/framework/bridge-support" CFLAGS="" > /usr/local/bin/ruby build.rb > Generating BridgeSupport metadata for: CoreFoundation ... > Collect metadata (13.559733 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/cdcarter/rubycocoa/framework/post-config.rb failed: > 'system BSROOT="/Users/cdcarter/rubycocoa/framework/bridge-support" > CFLAGS="" /usr/local/bin/ruby build.rb' failed > try 'ruby install.rb --help' for usage > > Any ideas? Am I missing something huge? > > -- > Chris Carter > concentrationstudios.com > brynmawrcs.com > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk |
From: Chris C. <cdc...@gm...> - 2007-11-05 17:01:35
|
On Nov 5, 2007 10:25 AM, Eloy Duran <elo...@gm...> wrote: > Hi Chris, > > Please see this mail for the problem: http://lists.sourceforge.jp/mailman/archives/rubycocoa-devel/2007-November/001194.html > And a patch from Kimura-san: http://trac.macports.org/projects/macports/ticket/13135 > > Eloy Thanks, That worked great for the first step of the build process, but when I go to do ruby install.rb setup, after a lot of compiling, I get this error: Ld /Users/cdcarter/Desktop/RubyCocoa-0.12.0/framework/build/Default/RubyCocoa.framework/Versions/A/RubyCocoa normal i386 cd /Users/cdcarter/Desktop/RubyCocoa-0.12.0/framework /usr/bin/gcc-4.0 -o /Users/cdcarter/Desktop/RubyCocoa-0.12.0/framework/build/Default/RubyCocoa.framework/Versions/A/RubyCocoa -L/Users/cdcarter/Desktop/RubyCocoa-0.12.0/framework/build/Default -L/usr/local/lib -F/Users/cdcarter/Desktop/RubyCocoa-0.12.0/framework/build/Default -filelist /Users/cdcarter/Desktop/RubyCocoa-0.12.0/framework/build/RubyCocoa.build/Default/RubyCocoa.build/Objects-normal/i386/RubyCocoa.LinkFileList -framework Foundation -arch i386 -Wl,-single_module -compatibility_version 1 -current_version 1 -install_name @executable_path/../Frameworks/RubyCocoa.framework/Versions/A/RubyCocoa -dynamiclib -mmacosx-version-min=10.4 -undefined suppress -flat_namespace -lxml2 -L../../misc/libffi -L../misc/libffi -lffi /usr/local/lib/libruby.1.8.6.dylib /usr/bin/libtool: for architecture cputype (16777223) cpusubtype (3) object: /usr/local/lib/libgcc_s.10.4.dylib malformed object (unknown load command 4) ** BUILD FAILED ** setup failed 'system /usr/bin/xcodebuild' failed try 'ruby install.rb --help' for usage -- Chris Carter concentrationstudios.com brynmawrcs.com |
From: Satoshi N. <sna...@in...> - 2007-11-06 11:31:51
|
Hi Chris, > When doing the binary installer I got a very generic > "Error: Please try again message". This is not harmful error. Please ignore it. It's fixed in the trunk. For details, the installer would fail in the post flight script of the installer. It replaces libruby.1.dylib to a symbolic link. If you install the binary distribution twice, it will fail and display the error. But it's no harmful. Because libruby.1.dylib should be already updated. -- Satoshi Nakagawa |