From: Yvon T. <yvo...@gm...> - 2007-08-09 09:51:50
|
i've tried to install latest rubycocoa from dmg on my iMac G5 PPC and the installer refused to install the stuff (universal) why ??? i've also try from tgz getting the following error : ~/work/RubyCocoa/RubyCocoa-0.11.1%> ruby install.rb --help Usage: ruby install.rb <global option> ruby install.rb [<global options>] <task> [<task options>] Global options: -q,--quiet suppress message outputs --verbose output messages verbosely -h,--help print this message -v,--version print version and quit --copyright print copyright and quit Tasks: config saves your configurations show shows current configuration setup compiles extention or else test tests framework doc generate documentation install installs files package make binary package into a dmg clean does `make clean' for each extention Options for config: --prefix=path path prefix of target environment [/opt/local] --install-prefix=path path prefix to install [$prefix] --std-ruby=path the directory for standard ruby libraries [$install-prefix/lib/ruby/1.8] --site-ruby=path the directory for non-standard ruby libraries [$install-prefix/lib/ruby/site_ruby/1.8] --bin-dir=path the directory for commands [$install-prefix/bin] --rb-dir=path the directory for ruby scripts [$site-ruby] --so-dir=path the directory for ruby extentions [$install-prefix/lib/ruby/site_ruby/1.8/powerpc-darwin8.9.0] --data-dir=path the directory for shared data [$install-prefix/share] --ruby-path=path path to set to #! line [/opt/local/bin/ruby] --ruby-prog=name the ruby program using for installation [/opt/local/bin/ruby] --make-prog=name the make program to compile ruby extentions [make] --without-ext does not compile/install ruby extentions [no] --install-root=path path to the root directory for Frameworks and "ProjectBuilder Extras" [] --frameworks=path path to the directory for installing RubyCocoa.framework [/Library/Frameworks] --xcode-extras=path path to the directory for "Xcode Extras" [/Library/Application Support/Apple/Developer Tools] --examples=path path to the directory for Examples [/Developer/Examples] --documentation=path path to the directory for Documentation [/Developer/Documentation] --gen-bridge-support yes, generate bridge metadata files [yes] --build-as-embeddable yes, build the framework as embeddable (with INSTALL_PATH pointing to the current application's Frameworks directory) [yes] --ruby-header-dir=path path to the ruby header directory [/opt/local/lib/ruby/1.8/powerpc-darwin8.9.0] --libruby-path=path path to the libruby file [/opt/local/lib/libruby.1.8.6.dylib] --ri-dir=path the directory for ri files [/opt/local/share/ri/1.8/site] --build-universal yes, build universal binary (requires Xcode 2.1 or later and SDK) [no] --macosx-deployment-target=version target Mac OS X version [10.4] --rubycocoa-version=name RubyCocoa version [0.11.1] --rubycocoa-version-short=name RubyCocoa version short [0.11.1] --rubycocoa-release-date=name RubyCocoa release date [2007-06-04] --rubycocoa-svn-revision=name RubyCocoa subversion revision number [1814] --rubycocoa-framework-version=name RubyCocoa Framework version name [A] --rbconfig=path your rbconfig.rb to load [running ruby's] Options for install: --no-harm only display what to do if given [off] ~/work/RubyCocoa/RubyCocoa-0.11.1%> ruby install.rb config --prefix=/opt/local install.rb: entering config phase... create ext/rubycocoa/extconf.rb create framework/GeneratedConfig.xcconfig create framework/src/objc/Version.h ---> framework create /Users/yt/work/RubyCocoa/RubyCocoa-0.11.1/framework/src/objc/osx_ruby.h ... create /Users/yt/work/RubyCocoa/RubyCocoa-0.11.1/framework/src/objc/osx_intern.h ... BSROOT="/Users/yt/work/RubyCocoa/RubyCocoa-0.11.1/framework/bridge-support" CFLAGS="" /opt/local/bin/ruby build.rb Generating BridgeSupport metadata for: CoreFoundation ... ./gen_bridge_metadata.rb:1795:in `compile_and_execute_code': Can't compile C code... aborting (RuntimeError) command was: gcc /tmp/src-0-1573.m -o /tmp/bin-0-1573 -F"/System/Library/Frameworks" -framework CoreFoundation -framework Foundation -include /tmp/src-0-1573.h 2>/tmp/log-0-1573 /tmp/src-0-1573.m:7: error: cannot find interface declaration for NSObject, superclass of __MyClass from ./gen_bridge_metadata.rb:1103:in `collect_structs_encoding' from ./gen_bridge_metadata.rb:525:in `collect' from build.rb:101 from build.rb:50:in `measure' from build.rb:101 from build.rb:62:in `each' from build.rb:62 config failed hook /Users/yt/work/RubyCocoa/RubyCocoa-0.11.1/framework/post-config.rbfailed: 'system BSROOT="/Users/yt/work/RubyCocoa/RubyCocoa-0.11.1/framework/bridge-support" CFLAGS="" /opt/local/bin/ruby build.rb' failed try 'ruby install.rb --help' for usage ~/work/RubyCocoa/RubyCocoa-0.11.1%> which ruby /opt/local/bin/ruby ~/work/RubyCocoa/RubyCocoa-0.11.1%> what is the prob ??? i have a well running ruby from MacPort under /opt/local... any idae ??? -- yvon |
From: Laurent S. <lau...@gm...> - 2007-08-09 10:20:13
|
On 8/9/07, Yvon Thoraval <yvo...@gm...> wrote: > i've tried to install latest rubycocoa from dmg on my iMac G5 PPC and the > installer refused to install the stuff (universal) why ??? Which version of Mac OS X do you use? Since you run PPC, did you install the universal SDK from the developer tools? Also, did you try the 0.11.1p1 installer? > i've also try from tgz getting the following error : > > /tmp/src-0-1573.m :7: error: cannot find interface declaration for NSObject, This is extremely weird. Looks like your Foundation framework is broken. Did you modify your system before? This is the first time I hear about such an issue. Laurent |
From: Yvon T. <yvo...@gm...> - 2007-08-09 13:31:25
|
2007/8/9, Laurent Sansonetti <lau...@gm...>: > > On 8/9/07, Yvon Thoraval <yvo...@gm...> wrote: > > i've tried to install latest rubycocoa from dmg on my iMac G5 PPC and > the > > installer refused to install the stuff (universal) why ??? > > Which version of Mac OS X do you use? I'm using the latest 10.4.10 Since you run PPC, did you > install the universal SDK from the developer tools? NO, i don't think so. need i to do that ? Also, did you try the 0.11.1p1 installer? no the 0.11, I'll try asap with the p1 one . > i've also try from tgz getting the following error : > > > > /tmp/src-0-1573.m :7: error: cannot find interface declaration for > NSObject, > > This is extremely weird. Looks like your Foundation framework is broken. > > Did you modify your system before? This is the first time I hear about > such an issue. No i didn't modify the system at all even it's a "fresh" install dating " to 5 months, fresh install means even having delete all the contents of my hard disk ;-) Thanks for your help ! Yvon Laurent > > ------------------------------------------------------------------------- > 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 > -- yvon |
From: Yvon T. <yvo...@gm...> - 2007-08-10 09:20:33
|
2007/8/9, Laurent Sansonetti <lau...@gm...>: > > > Also, did you try the 0.11.1p1 installer? i've tried it yesterday eve aznd everything works well right now ! thanks for your help. -- yvon |