Open remrem29 opened 9 years ago
Same issue with Ubuntu 14.
I did a little Googling and found a recommendation to install Ruby 1.9.1-dev (apt-get install ruby1.9.1-dev
) and then ran gem install json -v 1.7.7
. I was able to install Json 1.7.7 according to my output, but when I re-ran the autoinstall script, it died on the same error.
Sorry I don't have any great wisdom...I plan on sending the contents of the autosnorby and autosnort log files into da677.
Autosnort will fail on KALI with this error:
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
creating Makefile
make "DESTDIR=" clean
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 ../fbuffer/fbuffer.h:175:20: warning: initialization makes integer from pointer without a cast [enabled by default] make: *\ [generator.o] Error 1
make failed, exit code 2
Gem files will remain installed in /var/www/snorby/vendor/bundle/ruby/2.2.0/gems/json-1.7.7 for inspection. Results logged to /var/www/snorby/vendor/bundle/ruby/2.2.0/extensions/x86_64-linux/2.2.0/json-1.7.7/gem_make.out An error occurred while installing json (1.7.7), and Bundler cannot continue. Make sure that
gem install json -v '1.7.7'
succeeds before bundling.