An Error Occurred While Installing Json 1 8 1 and Bundler Cannot Continue
- Remove From My Forums
-
Question
-
User222629 posted
I am getting the following error while trying to install gem install -v '1.8.3' sys conf: windows 7 64 bit 8 gb Ram
gem install json -v '1.8.3' Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... ERROR: Error installing json: ERROR: Failed to build gem native extension.
current directory: C:/Ruby21/lib/ruby/gems/2.1.0/gems/json-1.8.3/ext/json/ex t/generator C:/Ruby21/bin/ruby.exe -r ./siteconf20160512-48840-1qfw8j8.rb extconf.rb creating Makefile
current directory: C:/Ruby21/lib/ruby/gems/2.1.0/gems/json-1.8.3/ext/json/ext/ge nerator make "DESTDIR=" clean
current directory: C:/Ruby21/lib/ruby/gems/2.1.0/gems/json-1.8.3/ext/json/ext/ge nerator make "DESTDIR=" generating generator-i386-mingw32.def compiling generator.c In file included from c:/Ruby21/include/ruby-2.1.0/ruby.h:33:0, from ../fbuffer/fbuffer.h:5, from generator.c:1: c:/Ruby21/include/ruby-2.1.0/ruby/ruby.h:109:14: error: size of array 'rubychec ksizeofvoidp' is negative In file included from c:/Ruby21/include/ruby-2.1.0/ruby.h:33:0, from ../fbuffer/fbuffer.h:5, from generator.c:1: c:/Ruby21/include/ruby-2.1.0/ruby/ruby.h: In function 'rbobjwbunprotect': c:/Ruby21/include/ruby-2.1.0/ruby/ruby.h:1234:9: warning: cast to pointer from i nteger of different size [-Wint-to-pointer-cast] c:/Ruby21/include/ruby-2.1.0/ruby/ruby.h:1235:6: warning: cast to pointer from i nteger of different size [-Wint-to-pointer-cast] c:/Ruby21/include/ruby-2.1.0/ruby/ruby.h:1238:2: warning: cast to pointer from i nteger of different size [-Wint-to-pointer-cast] c:/Ruby21/include/ruby-2.1.0/ruby/ruby.h: In function 'rbobjwritten': c:/Ruby21/include/ruby-2.1.0/ruby/ruby.h:1253:9: warning: cast to pointer from i nteger of different size [-Wint-to-pointer-cast] c:/Ruby21/include/ruby-2.1.0/ruby/ruby.h: In function 'rbnum2charinline': c:/Ruby21/include/ruby-2.1.0/ruby/ruby.h:1324:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c:/Ruby21/include/ruby-2.1.0/ruby/ruby.h:1324:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c:/Ruby21/include/ruby-2.1.0/ruby/ruby.h:1324:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c:/Ruby21/include/ruby-2.1.0/ruby/ruby.h:1325:9: warning: cast to pointer from i nteger of different size [-Wint-to-pointer-cast] c:/Ruby21/include/ruby-2.1.0/ruby/ruby.h:1325:9: warning: cast to pointer from i nteger of different size [-Wint-to-pointer-cast] c:/Ruby21/include/ruby-2.1.0/ruby/ruby.h:1325:9: warning: cast to pointer from i nteger of different size [-Wint-to-pointer-cast] c:/Ruby21/include/ruby-2.1.0/ruby/ruby.h: In function 'rbclassof': c:/Ruby21/include/ruby-2.1.0/ruby/ruby.h:1642:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c:/Ruby21/include/ruby-2.1.0/ruby/ruby.h: In function 'rbtype': c:/Ruby21/include/ruby-2.1.0/ruby/ruby.h:1659:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] In file included from generator.c:1:0: ../fbuffer/fbuffer.h: In function 'fbufferappendstr': ../fbuffer/fbuffer.h:127:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ../fbuffer/fbuffer.h:127:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ../fbuffer/fbuffer.h:127:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] generator.c: In function 'convertUTF8toJSONASCII': generator.c:129:35: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:129:35: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:129:35: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:130:38: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:130:38: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:130:38: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c: In function 'convertUTF8toJSON': generator.c:227:23: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:227:23: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:227:23: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:228:25: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:228:25: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:228:25: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c: In function 'cStateconfigure': generator.c:553:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:553:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:553:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:554:34: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:554:34: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:554:34: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:561:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:561:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:561:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:562:33: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:562:33: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:562:33: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:569:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:569:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:569:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:570:40: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:570:40: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:570:40: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:577:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:577:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:577:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:578:36: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:578:36: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:578:36: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:585:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:585:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:585:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:586:37: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:586:37: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:586:37: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c: In function 'setstateivars': generator.c:634:21: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:634:21: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:634:21: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:636:24: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:636:24: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:636:24: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c: In function 'generatejsonobject': generator.c:721:20: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:721:20: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:721:20: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c: In function 'generatejsonarray': generator.c:767:20: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:767:20: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:767:20: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c: In function 'isArrayOrObject': generator.c:924:23: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:924:23: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:924:23: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:925:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:925:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:925:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c: In function 'cStateindentset': generator.c:1049:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1049:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1049:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1058:32: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1058:32: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1058:32: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c: In function 'cStatespaceset': generator.c:1087:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1087:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1087:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1096:31: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1096:31: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1096:31: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c: In function 'cStatespacebeforeset': generator.c:1123:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1123:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1123:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1132:38: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1132:38: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1132:38: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c: In function 'cStateobjectnlset': generator.c:1161:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1161:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1161:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1169:35: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1169:35: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1169:35: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c: In function 'cStatearraynlset': generator.c:1196:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1196:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1196:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1204:34: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1204:34: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1204:34: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] make: * [generator.o] Error 1
make failed, exit code 2
Gem files will remain installed in C:/Ruby21/lib/ruby/gems/2.1.0/gems/json-1.8.3 for inspection. Results logged to C:/Ruby21/lib/ruby/gems/2.1.0/extensions/x86-mingw32/2.1.0/jso n-1.8.3/gem_make.out
Answers
-
User222629 posted
@JimBennett said: OK - might have been worth providing that information in your post. A stack of logs is useless without background. Also there is a TestCloud forum on here which might be the best place to start asking this.
How are you creating your UI tests? Calabash I assume?
Yes exactly. I am working on the example code given by xamrin for android ie. Credicard validation
- Marked as answer by Thursday, June 3, 2021 12:00 AM
Source: https://social.msdn.microsoft.com/Forums/en-US/5d3e9cb2-3af0-4924-a3c0-ff739990bc40/an-error-occurred-while-installing-json-183-windows?forum=xamaringeneral
0 Response to "An Error Occurred While Installing Json 1 8 1 and Bundler Cannot Continue"
Post a Comment