Eloy Duran
eloy.****@gmail*****
Sun Oct 28 23:14:20 JST 2007
done rev2099. On 28 okt 2007, at 15:04, Laurent Sansonetti wrote: > Pass `--gen-bridge-support no' to install.rb. > > # No need to generate the bridge support files, because there exist in > the system now. > > Laurent > > On Oct 28, 2007, at 1:21 PM, Eloy Duran wrote: > >> Hey guys, >> >> Builing on Leopard with --build-universal fails as can be seen below. >> The Rakefile also uses this flag. >> Building only for native arch works perfectly. >> >> Cheers, >> Eloy >> >> >> >> eloys-computer:rc_usr_1.8.6 eloy$ ruby install.rb config --build- >> universal >> 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/eloy/Documents/DEVELOPMENT/RubyCocoa/src/rc_usr_1.8.6/ >> framework/src/objc/osx_ruby.h ... >> create /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/src/rc_usr_1.8.6/ >> framework/src/objc/osx_intern.h ... >> BSROOT="/Users/eloy/Documents/DEVELOPMENT/RubyCocoa/src/rc_usr_1.8.6/ >> framework/bridge-support" CFLAGS="-arch ppc -arch i386 -isysroot / >> Developer/SDKs/MacOSX10.4u.sdk" /System/Library/Frameworks/ >> Ruby.framework/Versions/1.8/usr/bin/ruby build.rb >> Generating BridgeSupport metadata for: CoreFoundation ... >> Collect metadata (15.494323 seconds) >> Write final metadata (186.355234 seconds) >> Validate XML (0.030872 seconds) >> In file included from /System/Library/Frameworks/IOKit.framework/ >> Headers/IOKitLib.h:51, >> from /System/Library/Frameworks/ >> DiskArbitration.framework/Headers/DADisk.h:28, >> from /System/Library/Frameworks/ >> CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ >> Files.h: >> 62, >> from /System/Library/Frameworks/ >> CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ >> Components.h:32, >> from /System/Library/Frameworks/ >> CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ >> CarbonCore.h:85, >> from /System/Library/Frameworks/ >> CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20, >> from /System/Library/Frameworks/ >> CoreServices.framework/Headers/CoreServices.h:21, >> from /System/Library/Frameworks/ >> ApplicationServices.framework/Headers/ApplicationServices.h:20, >> from /System/Library/Frameworks/Foundation.framework/ >> Headers/NSAppleEventDescriptor.h:8, >> from /System/Library/Frameworks/Foundation.framework/ >> Headers/Foundation.h:107, >> from /var/folders/Rb/RbRluB5GGtaEe1Y2zjF07++++TI/- >> Tmp-/src-0-9088.h:1, >> from <command line>:1: >> /System/Library/Frameworks/IOKit.framework/Headers/ >> OSMessageNotification.h:85: error: ‘io_user_reference_t’ undeclared >> here (not in a function) >> /System/Library/Frameworks/IOKit.framework/Headers/ >> OSMessageNotification.h:87: error: syntax error before >> ‘OSAsyncReference64’ >> /System/Library/Frameworks/IOKit.framework/Headers/ >> OSMessageNotification.h:87: warning: data definition has no type or >> storage class >> /System/Library/Frameworks/IOKit.framework/Headers/ >> OSMessageNotification.h:92: error: syntax error before >> ‘OSAsyncReference64’ >> /System/Library/Frameworks/IOKit.framework/Headers/ >> OSMessageNotification.h:92: warning: no semicolon at end of struct or >> union >> /System/Library/Frameworks/IOKit.framework/Headers/ >> OSMessageNotification.h:99: error: syntax error before ‘}’ token >> /System/Library/Frameworks/IOKit.framework/Headers/ >> OSMessageNotification.h:103: error: syntax error before >> ‘io_user_reference_t’ >> /System/Library/Frameworks/IOKit.framework/Headers/ >> OSMessageNotification.h:103: warning: no semicolon at end of struct >> or >> union >> In file included from /System/Library/Frameworks/IOKit.framework/ >> Headers/IOKitLib.h:51, >> from /System/Library/Frameworks/ >> DiskArbitration.framework/Headers/DADisk.h:28, >> from /System/Library/Frameworks/ >> CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ >> Files.h: >> 62, >> from /System/Library/Frameworks/ >> CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ >> Components.h:32, >> from /System/Library/Frameworks/ >> CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ >> CarbonCore.h:85, >> from /System/Library/Frameworks/ >> CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20, >> from /System/Library/Frameworks/ >> CoreServices.framework/Headers/CoreServices.h:21, >> from /System/Library/Frameworks/ >> ApplicationServices.framework/Headers/ApplicationServices.h:20, >> from /System/Library/Frameworks/Foundation.framework/ >> Headers/NSAppleEventDescriptor.h:8, >> from /System/Library/Frameworks/Foundation.framework/ >> Headers/Foundation.h:107, >> from /var/folders/Rb/RbRluB5GGtaEe1Y2zjF07++++TI/- >> Tmp-/src-0-9088.h:1, >> from <command line>:1: >> /System/Library/Frameworks/IOKit.framework/Headers/ >> OSMessageNotification.h:85: error: ‘io_user_reference_t’ undeclared >> here (not in a function) >> /System/Library/Frameworks/IOKit.framework/Headers/ >> OSMessageNotification.h:87: error: syntax error before >> ‘OSAsyncReference64’ >> /System/Library/Frameworks/IOKit.framework/Headers/ >> OSMessageNotification.h:87: warning: data definition has no type or >> storage class >> /System/Library/Frameworks/IOKit.framework/Headers/ >> OSMessageNotification.h:92: error: syntax error before >> ‘OSAsyncReference64’ >> /System/Library/Frameworks/IOKit.framework/Headers/ >> OSMessageNotification.h:92: warning: no semicolon at end of struct or >> union >> /System/Library/Frameworks/IOKit.framework/Headers/ >> OSMessageNotification.h:99: error: syntax error before ‘}’ token >> /System/Library/Frameworks/IOKit.framework/Headers/ >> OSMessageNotification.h:103: error: syntax error before >> ‘io_user_reference_t’ >> /System/Library/Frameworks/IOKit.framework/Headers/ >> OSMessageNotification.h:103: warning: no semicolon at end of struct >> or >> union >> lipo: can't figure out the architecture type of: /var/folders/Rb/ >> RbRluB5GGtaEe1Y2zjF07++++TI/-Tmp-//ccDMedfN.out >> ./gen_bridge_metadata.rb:1232:in `generate_dylib': Can't compile >> dylib >> source file '/var/folders/Rb/RbRluB5GGtaEe1Y2zjF07++++TI/-Tmp-/ >> src-0-9088.m' (RuntimeError) >> Line was: gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/ >> MacOSX10.4u.sdk /var/folders/Rb/RbRluB5GGtaEe1Y2zjF07++++TI/-Tmp-/ >> src-0-9088.m -o /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/src/ >> rc_usr_1.8.6/framework/bridge-support/CoreFoundation.dylib -F"/ >> System/ >> Library/Frameworks" -framework CoreFoundation -framework >> Foundation - >> include /var/folders/Rb/RbRluB5GGtaEe1Y2zjF07++++TI/-Tmp-/ >> src-0-9088.h -dynamiclib -O3 -current_version 0.9 - >> compatibility_version 0.9 from ./gen_bridge_metadata.rb:540:in >> `write' >> from build.rb:122 >> from build.rb:50:in `measure' >> from build.rb:119 >> from build.rb:62:in `each' >> from build.rb:62 >> config failed >> hook /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/src/rc_usr_1.8.6/ >> framework/post-config.rb failed: >> 'system BSROOT="/Users/eloy/Documents/DEVELOPMENT/RubyCocoa/src/ >> rc_usr_1.8.6/framework/bridge-support" CFLAGS="-arch ppc -arch i386 - >> isysroot /Developer/SDKs/MacOSX10.4u.sdk" /System/Library/Frameworks/ >> Ruby.framework/Versions/1.8/usr/bin/ruby build.rb' failed >> try 'ruby install.rb --help' for usage >> >> _______________________________________________ >> 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