Hi !
I'm having troubles installing ruby-opengl for mac OS X SL via rubygems.
Here's what I got when I try:
Building native extensions. This could take a while...
ERROR: Error installing ruby-opengl:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby -rubygems /Users/davidjacques/.gem/ruby/1.8/gems/rake-0.8.7/bin/rake
RUBYARCHDIR=/usr/local/lib/ruby/gems/1.8/gems/ruby-opengl-0.60.1/lib
RUBYLIBDIR=/usr/local/lib/ruby/gems/1.8/gems/ruby-opengl-0.60.1/lib
/usr/local/bin/ruby mkrf_conf.rb
(in /usr/local/lib/ruby/gems/1.8/gems/ruby-opengl-0.60.1)
rake
gcc -fno-common -D_XOPEN_SOURCE=1 -fno-common -pipe -fno-common -DRUBY_VERSION=187 -I/usr/local/include
-I/usr/local/lib/ruby/1.8/i686-darwin9.7.0 -I/usr/local/lib/ruby/site_ruby/1.8 -I. -c gl-1.0-1.1.c
(in /usr/local/lib/ruby/gems/1.8/gems/ruby-opengl-0.60.1/ext/gl)
In file included from gl-1.0-1.1.c:18:
../common/common.h: In function ‘load_gl_function’:
../common/common.h:364: warning: ‘NSAddImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:230)
../common/common.h:374: warning: ‘NSLookupSymbolInImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:182)
../common/common.h:380: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:188)
gcc -fno-common -D_XOPEN_SOURCE=1 -fno-common -pipe -fno-common -DRUBY_VERSION=187 -I/usr/local/include
-I/usr/local/lib/ruby/1.8/i686-darwin9.7.0 -I/usr/local/lib/ruby/site_ruby/1.8 -I. -c gl-1.2.c
In file included from gl-1.2.c:18:
../common/common.h: In function ‘load_gl_function’:
../common/common.h:364: warning: ‘NSAddImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:230)
../common/common.h:374: warning: ‘NSLookupSymbolInImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:182)
../common/common.h:380: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:188)
gcc -fno-common -D_XOPEN_SOURCE=1 -fno-common -pipe -fno-common -DRUBY_VERSION=187 -I/usr/local/include
-I/usr/local/lib/ruby/1.8/i686-darwin9.7.0 -I/usr/local/lib/ruby/site_ruby/1.8 -I. -c gl-1.3.c
In file included from gl-1.3.c:16:
../common/common.h: In function ‘load_gl_function’:
../common/common.h:364: warning: ‘NSAddImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:230)
../common/common.h:374: warning: ‘NSLookupSymbolInImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:182)
../common/common.h:380: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:188)
gcc -fno-common -D_XOPEN_SOURCE=1 -fno-common -pipe -fno-common -DRUBY_VERSION=187 -I/usr/local/include
-I/usr/local/lib/ruby/1.8/i686-darwin9.7.0 -I/usr/local/lib/ruby/site_ruby/1.8 -I. -c gl-1.4.c
In file included from gl-1.4.c:16:
../common/common.h: In function ‘load_gl_function’:
../common/common.h:364: warning: ‘NSAddImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:230)
../common/common.h:374: warning: ‘NSLookupSymbolInImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:182)
../common/common.h:380: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:188)
gcc -fno-common -D_XOPEN_SOURCE=1 -fno-common -pipe -fno-common -DRUBY_VERSION=187 -I/usr/local/include
-I/usr/local/lib/ruby/1.8/i686-darwin9.7.0 -I/usr/local/lib/ruby/site_ruby/1.8 -I. -c gl-1.5.c
In file included from gl-1.5.c:16:
../common/common.h: In function ‘load_gl_function’:
../common/common.h:364: warning: ‘NSAddImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:230)
../common/common.h:374: warning: ‘NSLookupSymbolInImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:182)
../common/common.h:380: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:188)
gcc -fno-common -D_XOPEN_SOURCE=1 -fno-common -pipe -fno-common -DRUBY_VERSION=187 -I/usr/local/include
-I/usr/local/lib/ruby/1.8/i686-darwin9.7.0 -I/usr/local/lib/ruby/site_ruby/1.8 -I. -c gl-2.0.c
In file included from gl-2.0.c:16:
../common/common.h: In function ‘load_gl_function’:
../common/common.h:364: warning: ‘NSAddImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:230)
../common/common.h:374: warning: ‘NSLookupSymbolInImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:182)
../common/common.h:380: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:188)
gcc -fno-common -D_XOPEN_SOURCE=1 -fno-common -pipe -fno-common -DRUBY_VERSION=187 -I/usr/local/include
-I/usr/local/lib/ruby/1.8/i686-darwin9.7.0 -I/usr/local/lib/ruby/site_ruby/1.8 -I. -c gl-2.1.c
In file included from gl-2.1.c:16:
../common/common.h: In function ‘load_gl_function’:
../common/common.h:364: warning: ‘NSAddImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:230)
../common/common.h:374: warning: ‘NSLookupSymbolInImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:182)
../common/common.h:380: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:188)
gcc -fno-common -D_XOPEN_SOURCE=1 -fno-common -pipe -fno-common -DRUBY_VERSION=187 -I/usr/local/include
-I/usr/local/lib/ruby/1.8/i686-darwin9.7.0 -I/usr/local/lib/ruby/site_ruby/1.8 -I. -c gl-enums.c
In file included from gl-enums.c:6:
../common/common.h: In function ‘load_gl_function’:
../common/common.h:364: warning: ‘NSAddImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:230)
../common/common.h:374: warning: ‘NSLookupSymbolInImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:182)
../common/common.h:380: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:188)
gcc -fno-common -D_XOPEN_SOURCE=1 -fno-common -pipe -fno-common -DRUBY_VERSION=187 -I/usr/local/include
-I/usr/local/lib/ruby/1.8/i686-darwin9.7.0 -I/usr/local/lib/ruby/site_ruby/1.8 -I. -c gl-error.c
In file included from gl-error.c:16:
../common/common.h: In function ‘load_gl_function’:
../common/common.h:364: warning: ‘NSAddImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:230)
../common/common.h:374: warning: ‘NSLookupSymbolInImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:182)
../common/common.h:380: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:188)
gcc -fno-common -D_XOPEN_SOURCE=1 -fno-common -pipe -fno-common -DRUBY_VERSION=187 -I/usr/local/include
-I/usr/local/lib/ruby/1.8/i686-darwin9.7.0 -I/usr/local/lib/ruby/site_ruby/1.8 -I. -c gl-ext-3dfx.c
In file included from gl-ext-3dfx.c:16:
../common/common.h: In function ‘load_gl_function’:
../common/common.h:364: warning: ‘NSAddImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:230)
../common/common.h:374: warning: ‘NSLookupSymbolInImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:182)
../common/common.h:380: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:188)
gcc -fno-common -D_XOPEN_SOURCE=1 -fno-common -pipe -fno-common -DRUBY_VERSION=187 -I/usr/local/include
-I/usr/local/lib/ruby/1.8/i686-darwin9.7.0 -I/usr/local/lib/ruby/site_ruby/1.8 -I. -c gl-ext-arb.c
In file included from gl-ext-arb.c:16:
../common/common.h: In function ‘load_gl_function’:
../common/common.h:364: warning: ‘NSAddImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:230)
../common/common.h:374: warning: ‘NSLookupSymbolInImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:182)
../common/common.h:380: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:188)
gcc -fno-common -D_XOPEN_SOURCE=1 -fno-common -pipe -fno-common -DRUBY_VERSION=187 -I/usr/local/include
-I/usr/local/lib/ruby/1.8/i686-darwin9.7.0 -I/usr/local/lib/ruby/site_ruby/1.8 -I. -c gl-ext-ati.c
In file included from gl-ext-ati.c:16:
../common/common.h: In function ‘load_gl_function’:
../common/common.h:364: warning: ‘NSAddImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:230)
../common/common.h:374: warning: ‘NSLookupSymbolInImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:182)
../common/common.h:380: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:188)
gcc -fno-common -D_XOPEN_SOURCE=1 -fno-common -pipe -fno-common -DRUBY_VERSION=187 -I/usr/local/include
-I/usr/local/lib/ruby/1.8/i686-darwin9.7.0 -I/usr/local/lib/ruby/site_ruby/1.8 -I. -c gl-ext-ext.c
In file included from gl-ext-ext.c:16:
../common/common.h: In function ‘load_gl_function’:
../common/common.h:364: warning: ‘NSAddImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:230)
../common/common.h:374: warning: ‘NSLookupSymbolInImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:182)
../common/common.h:380: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:188)
gcc -fno-common -D_XOPEN_SOURCE=1 -fno-common -pipe -fno-common -DRUBY_VERSION=187 -I/usr/local/include
-I/usr/local/lib/ruby/1.8/i686-darwin9.7.0 -I/usr/local/lib/ruby/site_ruby/1.8 -I. -c gl-ext-gremedy.c
In file included from gl-ext-gremedy.c:16:
../common/common.h: In function ‘load_gl_function’:
../common/common.h:364: warning: ‘NSAddImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:230)
../common/common.h:374: warning: ‘NSLookupSymbolInImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:182)
../common/common.h:380: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:188)
gcc -fno-common -D_XOPEN_SOURCE=1 -fno-common -pipe -fno-common -DRUBY_VERSION=187 -I/usr/local/include
-I/usr/local/lib/ruby/1.8/i686-darwin9.7.0 -I/usr/local/lib/ruby/site_ruby/1.8 -I. -c gl-ext-nv.c
In file included from gl-ext-nv.c:16:
../common/common.h: In function ‘load_gl_function’:
../common/common.h:364: warning: ‘NSAddImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:230)
../common/common.h:374: warning: ‘NSLookupSymbolInImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:182)
../common/common.h:380: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:188)
gcc -fno-common -D_XOPEN_SOURCE=1 -fno-common -pipe -fno-common -DRUBY_VERSION=187 -I/usr/local/include
-I/usr/local/lib/ruby/1.8/i686-darwin9.7.0 -I/usr/local/lib/ruby/site_ruby/1.8 -I. -c gl.c
In file included from gl.c:18:
../common/common.h: In function ‘load_gl_function’:
../common/common.h:364: warning: ‘NSAddImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:230)
../common/common.h:374: warning: ‘NSLookupSymbolInImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:182)
../common/common.h:380: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:188)
cc -dynamic -bundle -undefined suppress -flat_namespace -framework OpenGL -L/usr/local/lib -o gl.bundle gl-1.0-1.1.o
gl-1.2.o gl-1.3.o gl-1.4.o gl-1.5.o gl-2.0.o gl-2.1.o gl-enums.o gl-error.o gl-ext-3dfx.o gl-ext-arb.o gl-ext-ati.o
gl-ext-ext.o gl-ext-gremedy.o gl-ext-nv.o gl.o -lpthread -ldl -lobjc -lruby
ld: warning: in /usr/local/lib/libruby.dylib, file is not of required architecture
ld: in /usr/local/lib/libxslt.1.dylib, file is not of required architecture
collect2: ld returned 1 exit status
rake aborted!
Command failed with status (1): [cc -dynamic -bundle -undefined suppress -f...]
/usr/local/lib/ruby/gems/1.8/gems/ruby-opengl-0.60.1/ext/gl/Rakefile:34
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [rake...]
(See full trace by running task with --trace)
Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/ruby-opengl-0.60.1 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.8/gems/ruby-opengl-0.60.1/gem_make.out
I looked for people having the same problem, but I didn't find any answer...
If you have the solution, it would be great to help me ! :D
Thanks ! |