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 |