[Rubycocoa-devel 395] Re: release

Back to archive index

Fujimoto Hisa hisa****@fobj*****
Tue Oct 17 17:26:33 JST 2006


On 2006/10/17, at 9:14, Laurent Sansonetti wrote:
>> BTW, I tried to build the apple-unstable branch on the OSX 10.4
>> (tiger), and it's failed. The current of BridgeSupport depends on the
>> new objective-c runtime API?
>>
>> it needed to fix a bit in "framework/src/objc/BridgeSupport.m" like
>> the following. And then it failed.
>>
>> Index: BridgeSupport.m
>> ===================================================================
>> --- BridgeSupport.m	(revision 1138)
>> +++ BridgeSupport.m	(working copy)
>> @@ -14,7 +14,7 @@
>> #import <dlfcn.h>
>> #import <st.h>
>> #import <env.h>
>> -#import <objc/runtime.h>
>> +#import <objc/objc-runtime.h>
>> #import "ocdata_conv.h"
>> #import "ffi.h"
>> #import "RBRuntime.h" // for DLOG
>>
>
> Mmh, I didn't try to compile it with Tiger since some time. But
> BridgeSupport should work in Tiger. I will fix the build ASAP (as the
> developer preview should build on Tiger :)).
>
> How did it fail? Do you have a backtrace or something?

the issue is in compiling of BridgeSupport.m, not runtime. 1st, objc/ 
runtime.h cannot found...

   $ ruby install.rb setup
   install.rb: entering setup phase...
   make -f Makefile.rubycocoa
   make: Nothing to be done for `all'.
   ---> framework
   /usr/bin/xcodebuild
     (snip snip snip ...)
   CompileC build/RubyCocoa.build/Default/RubyCocoa.build/Objects- 
normal/i386/BridgeSupport.o /Users/hisa/proj/rubyosx/rubycocoa/ 
svnwork/branches/apple-unstable/src/framework/src/objc/ 
BridgeSupport.m normal i386 objective-c com.apple.compilers.gcc.4_0
     (snip)
   /Users/hisa/proj/rubyosx/rubycocoa/svnwork/branches/apple-unstable/ 
src/framework/src/objc/BridgeSupport.m:17:25: error: objc/runtime.h:  
No such file or directory
     (snip)
   ** BUILD FAILED **
   setup failed
   'system /usr/bin/xcodebuild' failed
   try 'ruby install.rb --help' for usage


So replace it with objc/objc-runtime.h, and go...

   ruby install.rb setup
   install.rb: entering setup phase...
   make -f Makefile.rubycocoa
   make: Nothing to be done for `all'.
   ---> framework
   /usr/bin/xcodebuild
   === BUILDING NATIVE TARGET RubyCocoa WITH THE DEFAULT  
CONFIGURATION (Default) ===

   Checking Dependencies...

   CompileC build/RubyCocoa.build/Default/RubyCocoa.build/Objects- 
normal/i386/BridgeSupport.o /Users/hisa/proj/rubyosx/rubycocoa/ 
svnwork/branches/apple-unstable/src/framework/src/objc/ 
BridgeSupport.m normal i386 objective-c com.apple.compilers.gcc.4_0
       cd /Users/hisa/proj/rubyosx/rubycocoa/svnwork/branches/apple- 
unstable/src/framework
       /usr/bin/gcc-4.0 -x objective-c -arch i386 -pipe -Wno- 
trigraphs -fpascal-strings -fasm-blocks -g -Os -fmessage-length=0 - 
mmacosx-version-min=10.3 -I/Users/hisa/proj/rubyosx/rubycocoa/svnwork/ 
branches/apple-unstable/src/framework/build/RubyCocoa.build/Default/ 
RubyCocoa.build/RubyCocoa.hmap -Wmost -Wno-four-char-constants -Wno- 
unknown-pragmas -F/Users/hisa/proj/rubyosx/rubycocoa/svnwork/branches/ 
apple-unstable/src/framework/build/Default -I/Users/hisa/proj/rubyosx/ 
rubycocoa/svnwork/branches/apple-unstable/src/framework/build/Default/ 
include -I/opt/lib/ruby/1.8/i686-darwin8.7.1 -I/Users/hisa/proj/ 
rubyosx/rubycocoa/svnwork/branches/apple-unstable/src/framework/build/ 
RubyCocoa.build/Default/RubyCocoa.build/DerivedSources -fno-common -g  
-fobjc-exceptions -I/usr/include/libxml2 -DHAS_LIBXML2 -I../../misc/ 
libffi/include -I../misc/libffi/include -DMACOSX -c /Users/hisa/proj/ 
rubyosx/rubycocoa/svnwork/branches/apple-unstable/src/framework/src/ 
objc/BridgeSupport.m -o /Users/hisa/proj/rubyosx/rubycocoa/svnwork/ 
branches/apple-unstable/src/framework/build/RubyCocoa.build/Default/ 
RubyCocoa.build/Objects-normal/i386/BridgeSupport.o
   /Users/hisa/proj/rubyosx/rubycocoa/svnwork/branches/apple-unstable/ 
src/framework/src/objc/BridgeSupport.m: In function  
'bridge_support_type_to_octype':
   /Users/hisa/proj/rubyosx/rubycocoa/svnwork/branches/apple-unstable/ 
src/framework/src/objc/BridgeSupport.m:190: error: '_C_LNG_LNG'  
undeclared (first use in this function)
   /Users/hisa/proj/rubyosx/rubycocoa/svnwork/branches/apple-unstable/ 
src/framework/src/objc/BridgeSupport.m:190: error: (Each undeclared  
identifier is reported only once
   /Users/hisa/proj/rubyosx/rubycocoa/svnwork/branches/apple-unstable/ 
src/framework/src/objc/BridgeSupport.m:190: error: for each function  
it appears in.)
   /Users/hisa/proj/rubyosx/rubycocoa/svnwork/branches/apple-unstable/ 
src/framework/src/objc/BridgeSupport.m:191: error: '_C_ULNG_LNG'  
undeclared (first use in this function)
   /Users/hisa/proj/rubyosx/rubycocoa/svnwork/branches/apple-unstable/ 
src/framework/src/objc/BridgeSupport.m:195: error: '_C_BOOL'  
undeclared (first use in this function)
   /Users/hisa/proj/rubyosx/rubycocoa/svnwork/branches/apple-unstable/ 
src/framework/src/objc/BridgeSupport.m:200: error: '_C_ATOM'  
undeclared (first use in this function)
   /Users/hisa/proj/rubyosx/rubycocoa/svnwork/branches/apple-unstable/ 
src/framework/src/objc/BridgeSupport.m:207: error: '_C_VECTOR'  
undeclared (first use in this function)
   /Users/hisa/proj/rubyosx/rubycocoa/svnwork/branches/apple-unstable/ 
src/framework/src/objc/BridgeSupport.m:208: error: '_C_CONST'  
undeclared (first use in this function)
   /Users/hisa/proj/rubyosx/rubycocoa/svnwork/branches/apple-unstable/ 
src/framework/src/objc/BridgeSupport.m: In function  
'ffi_type_for_octype':
   /Users/hisa/proj/rubyosx/rubycocoa/svnwork/branches/apple-unstable/ 
src/framework/src/objc/BridgeSupport.m:298: error: '_C_BOOL'  
undeclared (first use in this function)
   /Users/hisa/proj/rubyosx/rubycocoa/svnwork/branches/apple-unstable/ 
src/framework/src/objc/BridgeSupport.m:313: error: '_C_LNG_LNG'  
undeclared (first use in this function)
   /Users/hisa/proj/rubyosx/rubycocoa/svnwork/branches/apple-unstable/ 
src/framework/src/objc/BridgeSupport.m:316: error: '_C_ULNG_LNG'  
undeclared (first use in this function)
   /Users/hisa/proj/rubyosx/rubycocoa/svnwork/branches/apple-unstable/ 
src/framework/src/objc/BridgeSupport.m: In function  
'bridge_support_dispatcher':
   /Users/hisa/proj/rubyosx/rubycocoa/svnwork/branches/apple-unstable/ 
src/framework/src/objc/BridgeSupport.m:471: warning: passing argument  
2 of 'nsresult_to_rbresult' discards qualifiers from pointer target type
   ** BUILD FAILED **
   setup failed
   'system /usr/bin/xcodebuild' failed
   try 'ruby install.rb --help' for usage

   Compilation exited abnormally with code 1 at Tue Oct 17 17:17:58




More information about the Rubycocoa-devel mailing list
Back to archive index