-
-
Save anonymous/ccb53c74be52838891896fe6f579bdbc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Using sqlite3 1.3.9 | |
Installing yajl-ruby 1.2.1 with native extensions | |
Using yard 0.8.7.4 | |
Gem::Ext::BuildError: ERROR: Failed to build gem native extension. | |
current directory: /usr/local/rvm/gems/ruby-2.4.0/gems/json-1.8.1/ext/json/ext/generator | |
/usr/local/rvm/rubies/ruby-2.4.0/bin/ruby -r ./siteconf20170426-10969-1wj0fui.rb extconf.rb | |
creating Makefile | |
current directory: /usr/local/rvm/gems/ruby-2.4.0/gems/json-1.8.1/ext/json/ext/generator | |
make "DESTDIR=" clean | |
current directory: /usr/local/rvm/gems/ruby-2.4.0/gems/json-1.8.1/ext/json/ext/generator | |
make "DESTDIR=" | |
compiling generator.c | |
In file included from generator.c:1:0: | |
../fbuffer/fbuffer.h: In function ‘fbuffer_to_s’: | |
../fbuffer/fbuffer.h:175:47: error: macro "rb_str_new" requires 2 arguments, but only 1 given | |
VALUE result = rb_str_new(FBUFFER_PAIR(fb)); | |
^ | |
../fbuffer/fbuffer.h:175:20: warning: initialization makes integer from pointer without a cast [enabled by default] | |
VALUE result = rb_str_new(FBUFFER_PAIR(fb)); | |
^ | |
generator.c: In function ‘generate_json’: | |
generator.c:840:25: error: ‘rb_cFixnum’ undeclared (first use in this function) | |
} else if (klass == rb_cFixnum) { | |
^ | |
generator.c:840:25: note: each undeclared identifier is reported only once for each function it appears in | |
generator.c:842:25: error: ‘rb_cBignum’ undeclared (first use in this function) | |
} else if (klass == rb_cBignum) { | |
^ | |
generator.c: At top level: | |
cc1: warning: unrecognized command line option "-Wno-self-assign" [enabled by default] | |
cc1: warning: unrecognized command line option "-Wno-constant-logical-operand" [enabled by default] | |
cc1: warning: unrecognized command line option "-Wno-parentheses-equality" [enabled by default] | |
cc1: warning: unrecognized command line option "-Wno-tautological-compare" [enabled by default] | |
make: *** [generator.o] Error 1 | |
make failed, exit code 2 | |
Gem files will remain installed in /usr/local/rvm/gems/ruby-2.4.0/gems/json-1.8.1 for inspection. | |
Results logged to /usr/local/rvm/gems/ruby-2.4.0/extensions/x86_64-linux/2.4.0/json-1.8.1/gem_make.out | |
An error occurred while installing json (1.8.1), and Bundler cannot continue. | |
Make sure that `gem install json -v '1.8.1'` succeeds before bundling. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment