winnfsd / vagrant-winnfsd

Manage and adds support for NFS for Vagrant on Windows.
Other
566 stars 62 forks source link

WIndows 7 64bit fails on install #43

Open lasselehtinen opened 9 years ago

lasselehtinen commented 9 years ago

When trying to install the plugin, I get the following error. I guess it is because I did not install Vagrant to the default location (C:\Hashicorp\Vagrant) and something does not handle the parenthesis well? I get the following error:

C:\Users\lasleh>vagrant plugin install vagrant-winnfsd
Installing the 'vagrant-winnfsd' 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 json (1.8.2), and Bundler cannot continue.
Make sure that `gem install json -v '1.8.2'` succeeds before bundling.

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

    "C:/Program Files (x86)/Vagrant/embedded/bin/ruby.exe" extconf.rb
creating Makefile

make "DESTDIR="
generating generator-i386-mingw32.def
/bin/sh: -c: line 0: syntax error near unexpected token `x86'
/bin/sh: -c: line 0: `/C/Program\ Files\ (x86)/Vagrant/embedded/bin/ruby -e "puts 'EXPORTS', 'Init_generator'"  > generator-i386-mingw32.def'
make: *** [generator-i386-mingw32.def] Error 2

Gem files will remain installed in C:/Users/lasleh/.vagrant.d/gems/gems/json-1.8.2 for inspection.
Results logged to C:/Users/lasleh/.vagrant.d/gems/gems/json-1.8.2/ext/json/ext/generator/gem_make.out
lasselehtinen commented 9 years ago

I removed Vagrant and re-installed to the default location "C:\HashiCorp\Vagrant" and the plugin installs just fine. But I think it might be worthwhile to look at it anyway.

Schwankenson commented 9 years ago

@lasselehtinen: This worked for me too, thank you!