Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ribamar-santarosa/02a441d8d6f4dfa555ab57993553c2c7 to your computer and use it in GitHub Desktop.
Save ribamar-santarosa/02a441d8d6f4dfa555ab57993553c2c7 to your computer and use it in GitHub Desktop.
out.vagrant.plugin.install.vagrant-libvirt
Installing the 'vagrant-libvirt' plugin. This can take a few minutes...
Building native extensions. This could take a while...
Building native extensions. This could take a while...
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/ribamar/.vagrant.d/gems/2.4.2/gems/ruby-libvirt-0.7.0/ext/libvirt
/opt/vagrant/embedded/bin/ruby -r ./siteconf20171219-22266-nuqqmh.rb extconf.rb
*** 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)
--with-libvirt-include
--without-libvirt-include
--with-libvirt-lib
--without-libvirt-lib
--with-libvirt-config
--without-libvirt-config
--with-pkg-config
--without-pkg-config
extconf.rb:73:in `<main>': libvirt library not found in default locations (RuntimeError)
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/home/ribamar/.vagrant.d/gems/2.4.2/extensions/x86_64-linux/2.4.0/ruby-libvirt-0.7.0/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /home/ribamar/.vagrant.d/gems/2.4.2/gems/ruby-libvirt-0.7.0 for inspection.
Results logged to /home/ribamar/.vagrant.d/gems/2.4.2/extensions/x86_64-linux/2.4.0/ruby-libvirt-0.7.0/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment