mitchellh / vagrant-aws

Use Vagrant to manage your EC2 and VPC instances.
MIT License
2.61k stars 574 forks source link

Plugin fail to install, because zlib is missing #482

Open kenorb opened 8 years ago

kenorb commented 8 years ago

Vagrant 1.8.1 on Ubuntu 16.04 LTS

# vagrant plugin install vagrant-aws
Installing the 'vagrant-aws' plugin. This can take a few minutes...
...
    current directory: /root/.vagrant.d/gems/gems/nokogiri-1.6.8/ext/nokogiri
/usr/bin/ruby2.3 -r ./siteconf20160710-28609-xe3cn1.rb extconf.rb
Using pkg-config version 1.1.7
checking if the C compiler accepts ... yes
Building nokogiri using packaged libraries.
Using mini_portile version 2.1.0
checking for gzdopen() in -lz... no
zlib is missing; necessary for building libxml2
*** extconf.rb failed ***

Installing libz-dev package solves the problem (sudo apt-get install libz-dev).

I think vagrant-aws plugin should have this dependency somewhere added?