Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Erro na instalação do plugin vagrant-aws

Pessoal, não consigo de jeito algum instalar o plugin no meu linux (distro MInt 19.1). Toda vez que rodo o comando aparece o erro abaixo:

*Bundler, the underlying system Vagrant uses to install plugins, reported an error. The error is shown below. These errors are usually caused by misconfigured plugin installations or transient network issues. The error from Bundler is:

ERROR: Failed to build gem native extension.

current directory: /home/orlando/.vagrant.d/gems/2.4.4/gems/nokogiri-1.10.1/ext/nokogiri

/opt/vagrant/embedded/bin/ruby -r ./siteconf20190131-10010-huafvi.rb extconf.rb checking if the C compiler accepts ... * extconf.rb failed * Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.

Provided configuration options: --with-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/opt/vagrant/embedded/bin/$(RUBY_BASE_NAME) --help --clean /opt/vagrant/embedded/lib/ruby/2.4.0/mkmf.rb:457:in try_do': The compiler failed to generate an executable file. (RuntimeError) You have to install development tools first. from /opt/vagrant/embedded/lib/ruby/2.4.0/mkmf.rb:572:inblock in try_compile' from /opt/vagrant/embedded/lib/ruby/2.4.0/mkmf.rb:523:in with_werror' from /opt/vagrant/embedded/lib/ruby/2.4.0/mkmf.rb:572:intry_compile' from extconf.rb:138:in nokogiri_try_compile' from extconf.rb:162:inblock in add_cflags' from /opt/vagrant/embedded/lib/ruby/2.4.0/mkmf.rb:630:in with_cflags' from extconf.rb:161:inadd_cflags' from extconf.rb:416:in `

'

To see why this extension failed to compile, please check the mkmf.log which can be found here:

/home/orlando/.vagrant.d/gems/2.4.4/extensions/x86_64-linux/2.4.0/nokogiri-1.10.1/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /home/orlando/.vagrant.d/gems/2.4.4/gems/nokogiri-1.10.1 for inspection. Results logged to /home/orlando/.vagrant.d/gems/2.4.4/extensions/x86_64-linux/2.4.0/nokogiri-1.10.1/gem_make.out*

Alguém sabe dizer o que tá pegando?

1 resposta
solução!

Acabei resolvendo o problema instalando na mão uma dependência do aws, chamada nokogiri, usando as instruções nesta página:

https://nokogiri.org/tutorials/installing_nokogiri.html