0
respostas

Error ao instalar o plugin do vagrant-aws

Boa noite,

Ao tentar realizar a instalação do plugin vagrant-aws, apararece o seguinte erro:

Installing the 'vagrant-aws' plugin. This can take a few minutes... Building native extensions. This could take a while... Vagrant failed to properly resolve required dependencies. These errors can commonly be caused by misconfigured plugin installations or transient network issues. The reported error is:

ERROR: Failed to build gem native extension.

current directory: C:/Users/lasma/.vagrant.d/gems/2.7.4/gems/ovirt-engine-sdk-4.4.1/ext/ovirtsdk4c

C:/HashiCorp/Vagrant/embedded/mingw64/bin/ruby.exe -I C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.7.0 -r ./siteconf20220324-7616-1v6u6og.rb extconf.rb checking for xml2-config... no

  • 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 --without-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=C:/HashiCorp/Vagrant/embedded/mingw64/bin/$(RUBY_BASE_NAME) --with-libxml2-config --without-libxml2-config --with-pkg-config --without-pkg-config extconf.rb:29:in `

': The "libxml2" package isn't available. (RuntimeError)

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

C:/Users/lasma/.vagrant.d/gems/2.7.4/extensions/x64-mingw32/2.7.0/ovirt-engine-sdk-4.4.1/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in C:/Users/lasma/.vagrant.d/gems/2.7.4/gems/ovirt-engine-sdk-4.4.1 for inspection. Results logged to C:/Users/lasma/.vagrant.d/gems/2.7.4/extensions/x64-mingw32/2.7.0/ovirt-engine-sdk-4.4.1/gem_make.out

****Infelizmente, não consegui resolver. Alguém me ajuda, por favor?