Hello, I'm trying to use vagrant-berkshelf on Windows 7 with Vagrant 1.5.3, ruby 1.9.3 and its devkit.
I used "vagrant plugin install vagrant-berkshelf" but there is the error with celluloid and celluloid-io dependence. So I tried with "vagrant plugin install vagrant-berkshelf --plugin-version 2.0.0.rc3" and it asks me to install dep-selector-libgecode -v '1.0.0': Installing the 'vagrant-berkshelf --version '2.0.0.rc3'' plugin. This can > take a > few minutes... > 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: > An error occurred while installing dep-selector-libgecode (1.0.0), and > Bundler c > annot continue. > Make sure that `gem install dep-selector-libgecode -v '1.0.0'` succeeds > before b > undling. And here is the result of "gem install dep-selector-libgecode -v '1.0.0": Fetching: dep-selector-libgecode-1.0.0.gem (100%) > Temporarily enhancing PATH to include DevKit... > Building native extensions. This could take a while... > ERROR: Error installing dep-selector-libgecode: > ERROR: Failed to build gem native extension. > C:/Ruby193/bin/ruby.exe extconf.rb > checking for the host operating system... Windows > checking whether the C++ compiler works... yes > checking for C++ compiler default output file name... a.exe > checking for suffix of executables... .exe > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking for gcc... gcc > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking for ranlib... ranlib > checking for diff... ok > checking for tar... no > configure: error: In order to compile Gecode, you need the tar tool. > extconf.rb:89:in `block in run': Failed to build gecode library. > (GecodeBuild::B > uildError) > from extconf.rb:88:in `chdir' > from extconf.rb:88:in `run' > from extconf.rb:95:in `<main>' > -> sh > C:/Ruby193/lib/ruby/gems/1.9.1/gems/dep-selector-libgecode-1.0.0/ext/libge > code3/vendor/gecode-3.7.3/configure > --prefix=C:/Ruby193/lib/ruby/gems/1.9.1/gems > /dep-selector-libgecode-1.0.0/lib/dep-selector-libgecode/vendored-gecode > --disab > le-doc-dot --disable-doc-search --disable-doc-tagfile --disable-doc-chm > --disabl > e-doc-docset --disable-qt --disable-examples --disable-flatzinc > --with-host-os=w > indows > > Gem files will remain installed in > C:/Ruby193/lib/ruby/gems/1.9.1/gems/dep-selec > tor-libgecode-1.0.0 for inspection. > Results logged to > C:/Ruby193/lib/ruby/gems/1.9.1/gems/dep-selector-libgecode-1.0 > .0/ext/libgecode3/gem_make.out I also tried with another version: git clone https://github.com/chulkilee/vagrant-berkshelf.git > cd vagrant-berkshelf > git checkout vagrant-1.5 > gem build vagrant-berkshelf.gemspec > vagrant plugin install --plugin-version 1.4.0.dev1 > vagrant-berkshelf-1.4.0.dev1.gem with this error : Installing the 'vagrant-berkshelf-1.4.0.dev1.gem --version '1.4.0.dev1'' > plugin. > This can take a few minutes... > C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/rubygems/ext/builder.rb:62:in > `run' > : ERROR: Failed to build gem native extension. > (Gem::Installer::ExtensionBuildEr > ror) > C:/HashiCorp/Vagrant/embedded/bin/ruby.exe extconf.rb > checking for the host operating system... Windows > checking whether the C++ compiler works... yes > checking for C++ compiler default output file name... a.exe > checking for suffix of executables... .exe > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking for gcc... gcc > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking for ranlib... ranlib > checking for diff... ok > checking for tar... no > configure: error: In order to compile Gecode, you need the tar tool. > extconf.rb:89:in `block in run': Failed to build gecode library. > (GecodeBuild::B > uildError) > from extconf.rb:88:in `chdir' > from extconf.rb:88:in `run' > from extconf.rb:95:in `<main>' > -> sh > C:/Users/Aurelien/.vagrant.d/gems/gems/dep-selector-libgecode-1.0.0/ext/li > bgecode3/vendor/gecode-3.7.3/configure > --prefix=C:/Users/Aurelien/.vagrant.d/gem > s/gems/dep-selector-libgecode-1.0.0/lib/dep-selector-libgecode/vendored-gecode > > - > -disable-doc-dot --disable-doc-search --disable-doc-tagfile > --disable-doc-chm -- > disable-doc-docset --disable-qt --disable-examples --disable-flatzinc > --with-hos > t-os=windows > > Gem files will remain installed in > C:/Users/Aurelien/.vagrant.d/gems/gems/dep-se > lector-libgecode-1.0.0 for inspection. > Results logged to > C:/Users/Aurelien/.vagrant.d/gems/gems/dep-selector-libgecode- > 1.0.0/ext/libgecode3/gem_make.out > from > C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/rubygems/ext/ext_conf_ > builder.rb:39:in `block in build' > from > C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/tempfile.rb:324:in `op > en' > from > C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/rubygems/ext/ext_conf_ > builder.rb:19:in `build' > from > C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/rubygems/installer.rb: > 689:in `block (3 levels) in build_extensions' > from > C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/rubygems/installer.rb: > 688:in `chdir' > from > C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/rubygems/installer.rb: > 688:in `block (2 levels) in build_extensions' > from > C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/rubygems/installer.rb: > 687:in `synchronize' > from > C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/rubygems/installer.rb: > 687:in `block in build_extensions' > from > C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/rubygems/installer.rb: > 662:in `each' > from > C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/rubygems/installer.rb: > 662:in `build_extensions' > from > C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/rubygems/installer.rb: > 227:in `install' > from > C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/rubygems/dependency_in > staller.rb:379:in `block in install' > from > C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/rubygems/dependency_in > staller.rb:339:in `each' > from > C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/rubygems/dependency_in > staller.rb:339:in `each_with_index' > from > C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/rubygems/dependency_in > staller.rb:339:in `install' > from > C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.3/lib/vagrant/b > undler.rb:110:in `block in install_local' > from > C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.3/lib/vagrant/b > undler.rb:254:in `block in with_isolated_gem' > from > C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/rubygems/user_interact > ion.rb:40:in `use_ui' > from > C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.3/lib/vagrant/b > undler.rb:253:in `with_isolated_gem' > from > C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.3/lib/vagrant/b > undler.rb:107:in `install_local' > from > C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.3/lib/vagrant/p > lugin/manager.rb:47:in `install_plugin' > from > C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.3/plugins/comma > nds/plugin/action/install_gem.rb:28:in `call' > from > C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.3/lib/vagrant/a > ction/warden.rb:34:in `call' > from > C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.3/lib/vagrant/a > ction/builder.rb:116:in `call' > from > C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.3/lib/vagrant/a > ction/runner.rb:69:in `block in run' > from > C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.3/lib/vagrant/u > til/busy.rb:19:in `busy' > from > C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.3/lib/vagrant/a > ction/runner.rb:69:in `run' > from > C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.3/plugins/comma > nds/plugin/command/base.rb:14:in `action' > from > C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.3/plugins/comma > nds/plugin/command/install.rb:32:in `block in execute' > from > C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.3/plugins/comma > nds/plugin/command/install.rb:31:in `each' > from > C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.3/plugins/comma > nds/plugin/command/install.rb:31:in `execute' > from > C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.3/plugins/comma > nds/plugin/command/root.rb:56:in `execute' > from > C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.3/lib/vagrant/c > li.rb:42:in `execute' > from > C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.3/lib/vagrant/e > nvironment.rb:248:in `cli' > from > C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.5.3/bin/vagrant:1 > 58:in `<main>' With Vagrant 1.4.3 and "vagrant plugin install vagrant-berkshelf", it is stills the same kind of errors. Thank you for your help ! -- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
