Skip to content

Instantly share code, notes, and snippets.

@bakkdoor
Created October 31, 2010 15:01
Show Gist options
  • Save bakkdoor/656685 to your computer and use it in GitHub Desktop.
Save bakkdoor/656685 to your computer and use it in GitHub Desktop.
rbx-head > bakkdoor:~/projekte/fancy/fancy-lang[dev]> gem install bson_ext
Building native extensions. This could take a while...
ERROR: Error installing bson_ext:
ERROR: Failed to build gem native extension.
/home/bakkdoor/.rvm/rubies/rbx-head/bin/rbx extconf.rb
checking for asprintf()... yes
checking for ruby/st.h... no
checking for st.h... yes
checking for ruby/regex.h... no
checking for regex.h... yes
checking for ruby/encoding.h... no
creating Makefile
make
gcc -I. -I. -I/home/bakkdoor/.rvm/rubies/rbx-head/include -I. -DHAVE_ASPRINTF -DHAVE_ST_H -DHAVE_REGEX_H -fPIC -ggdb3 -O2 -fPIC -c cbson.c
cbson.c: In function ‘write_element’:
cbson.c:476: error: ‘RE_OPTION_IGNORECASE’ undeclared (first use in this function)
cbson.c:476: error: (Each undeclared identifier is reported only once
cbson.c:476: error: for each function it appears in.)
cbson.c:480: error: ‘RE_OPTION_MULTILINE’ undeclared (first use in this function)
cbson.c:484: error: ‘RE_OPTION_EXTENDED’ undeclared (first use in this function)
cbson.c: In function ‘write_doc’:
cbson.c:576: warning: initialization discards qualifiers from pointer target type
cbson.c: In function ‘get_value’:
cbson.c:742: error: ‘RE_OPTION_IGNORECASE’ undeclared (first use in this function)
cbson.c:745: error: ‘RE_OPTION_MULTILINE’ undeclared (first use in this function)
cbson.c:748: error: ‘RE_OPTION_EXTENDED’ undeclared (first use in this function)
make: *** [cbson.o] Fehler 1
Gem files will remain installed in /home/bakkdoor/.rvm/gems/rbx-head/gems/bson_ext-1.1.1 for inspection.
Results logged to /home/bakkdoor/.rvm/gems/rbx-head/gems/bson_ext-1.1.1/ext/cbson/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment