-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Trivial - P5
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
This may be an obscure chain of tools, but I'm having trouble
installing bson_ext when using macruby .9. I'm wondering if there is
a fix. The transcript of the install and errors are given below.
Thanks
$ sudo /usr/local/bin/macgem install bson_ext
Building native extensions. This could take a while...
ERROR: Error installing bson_ext:
ERROR: Failed to build gem native extension.
/Library/Frameworks/MacRuby.framework/Versions/0.9/usr/bin/macruby
extconf.rb
checking for asprintf()... yes
checking for ruby/st.h... yes
checking for ruby/regex.h... yes
checking for ruby/encoding.h... yes
creating Makefile
make
/usr/bin/gcc -I. -I/Library/Frameworks/MacRuby.framework/Versions/0.9/
usr/include/ruby-1.9.2/universal-darwin10.0 -I/Library/Frameworks/
MacRuby.framework/Versions/0.9/usr/include/ruby-1.9.2/ruby/backward -I/
Library/Frameworks/MacRuby.framework/Versions/0.9/usr/include/
ruby-1.9.2 -I. -DHAVE_ASPRINTF -DHAVE_RUBY_ST_H -DHAVE_RUBY_REGEX_H -
DHAVE_RUBY_ENCODING_H -fno-common -arch i386 -arch x86_64 -
fexceptions -fno-common -pipe -O3 -g -Wall -arch i386 -arch x86_64 -o
buffer.o -c buffer.c
/usr/bin/gcc -I. -I/Library/Frameworks/MacRuby.framework/Versions/0.9/
usr/include/ruby-1.9.2/universal-darwin10.0 -I/Library/Frameworks/
MacRuby.framework/Versions/0.9/usr/include/ruby-1.9.2/ruby/backward -I/
Library/Frameworks/MacRuby.framework/Versions/0.9/usr/include/
ruby-1.9.2 -I. -DHAVE_ASPRINTF -DHAVE_RUBY_ST_H -DHAVE_RUBY_REGEX_H -
DHAVE_RUBY_ENCODING_H -fno-common -arch i386 -arch x86_64 -
fexceptions -fno-common -pipe -O3 -g -Wall -arch i386 -arch x86_64 -o
cbson.o -c cbson.c
cbson.c: In function 'write_utf8':
cbson.c:114: warning: pointer targets in passing argument 1 of
'check_string' differ in signedness
cbson.c: In function 'pack_extra':
cbson.c:209: warning: cast from pointer to integer of different size
cbson.c: In function 'write_element':
cbson.c:220: warning: cast to pointer from integer of different size
cbson.c:312: warning: unused variable 'values'
cbson.c:482: warning: implicit declaration of function 'RREGEXP'
cbson.c:482: error: invalid type argument of '->'
cbson.c:482: error: invalid type argument of '->'
cbson.c:483: error: invalid type argument of '->'
cbson.c: In function 'write_utf8':
cbson.c:114: warning: pointer targets in passing argument 1 of
'check_string' differ in signedness
cbson.c: In function 'write_element':
cbson.c:312: warning: unused variable 'values'
cbson.c:482: warning: implicit declaration of function 'RREGEXP'
cbson.c:482: error: invalid type argument of '->'
cbson.c:482: error: invalid type argument of '->'
cbson.c:483: error: invalid type argument of '->'
lipo: can't open input file: /var/tmp//ccWQvjU0.out (No such file or
directory)
make: *** [cbson.o] Error 1