« Der VfL im UEFA Cup! | Main | Argh! Wasted two hours on stupid bug. »

Failed to build RubyCocoa by hand

Aden:/Volumes/Source/src/Ruby/rubycocoa-0.4.0 nat$ ruby install.rb setup
/Volumes/Source/src/Ruby/rubycocoa-0.4.0/metaconfig:7: warning: don't put space before argument parentheses
/Volumes/Source/src/Ruby/rubycocoa-0.4.0/metaconfig:9: warning: don't put space before argument parentheses
install.rb: entering setup phase...
---> framework
pbxbuild
setup failed
'system pbxbuild' failed
try 'ruby install.rb --help' for usage

Curiously, this isn't working with XCode. Or maybe a good sign :) So I replaced pbxbuild with xcodebuild in install.rb. But the next problem, was right around the corner:

CompileC /Library/Developer/BuildArea/RubyCocoa.build/RubyCocoa.build/Objects-normal/ppc/rb_NSGraphicsContext.o
/usr/bin/gcc-3.3 -c -F/Volumes/Source/src/Ruby/rubycocoa-0.4.0/framework/build -I/Volumes/Source/src/Ruby/rubycocoa-0.4.0/framework/build/include -I/usr/local/lib/ruby/1.8/powerpc-darwin -Isrc/objc/cocoa -arch ppc -fno-common -fpascal-strings -Os -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -g -Wp,-header-mapfile,/Library/Developer/BuildArea/RubyCocoa.build/RubyCocoa.build/RubyCocoa.hmap "-fno-common" src/objc/cocoa/rb_NSGraphicsContext.m -o /Library/Developer/BuildArea/RubyCocoa.build/RubyCocoa.build/Objects-normal/ppc/rb_NSGraphicsContext.o
src/objc/cocoa/rb_NSGraphics.m: In function `init_NSGraphics': src/objc/cocoa/rb_NSGraphics.m:1483: error: `NSAlphaEqualToData' undeclared (first use in this function)
src/objc/cocoa/rb_NSGraphics.m:1483: error: (Each undeclared identifier is reported only once
src/objc/cocoa/rb_NSGraphics.m:1483: error: for each function it appears in.)
src/objc/cocoa/rb_NSGraphics.m:1484: error: `NSAlphaAlwaysOne' undeclared (first use in this function)
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h: At top level:
src/objc/cocoa/rb_NSGraphics.m:8: warning: `VA_MAX' defined but not used
...failed CompileC /Library/Developer/BuildArea/RubyCocoa.build/RubyCocoa.build/Objects-normal/ppc/rb_NSGraphics.o ...
** BUILD FAILED **
setup failed

Maybe I should have used the CVS version. Anyway I will discontinue my exploration of RubyCocoa for now. None of the two demo applications I downloaded worked. The build process is obsolete and hosed. Last framework update was one year ago. The project has all the signs of being abandoned.

Chances are just too good that more problems will appear around the corner.

About

This page contains a single entry from the blog posted on May 23, 2004 1:39 PM.

The previous post in this blog was Der VfL im UEFA Cup!.

The next post in this blog is Argh! Wasted two hours on stupid bug..

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.34