Cannot install vagrant-vmware-workstation versions 4.0.25 or 5.0.0 on Windows

377 views
Skip to first unread message

Stefan Smith

unread,
Oct 19, 2017, 4:59:35 AM10/19/17
to Vagrant
Hi,

I'm unable to install the latest versions 4.0.25 or 5.0.0 of the vagrant-vmware-workstation plugin. Version 4.0.24 installs without a problem. I'm on Windows 10 in a corporate environment.

Running vagrant plugin install vagrant-vmware-workstation --plugin-version 5.0.0 fails with the following output (username replaced with "xxxx"): 

-----------------

Installing the 'vagrant-vmware-workstation' plugin. This can take a few minutes...
Fetching: vagrant-share-1.1.9.gem (100%)
Fetching: vagrant-vmware-workstation-5.0.0.gem (100%)
Building native extensions.  This could take a while...

Vagrant is installing the VMware plugin which requires
Administrator access. You may be prompted for your password to
complete setup.

Failed to complete install: exec: "U:\\windows\\system32\\wbem\\wmic.exe": file does not exist
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: C:/Users/xxxx/.vagrant.d/gems/2.3.4/gems/vagrant-vmware-workstation-5.0.0/ext/vagrant-vmware-desktop
C:/HashiCorp/Vagrant/embedded/mingw64/bin/ruby.exe -r ./siteconf20171019-11388-1knpft3.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
        --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)

extconf failed, exit code 1

Gem files will remain installed in C:/Users/xxxx/.vagrant.d/gems/2.3.4/gems/vagrant-vmware-workstation-5.0.0 for inspection.
Results logged to C:/Users/xxxx/.vagrant.d/gems/2.3.4/extensions/x64-mingw32/2.3.0/vagrant-vmware-workstation-5.0.0/gem_make.out

-----------------

If I first run SET HOMEDRIVE=C: 
Running vagrant plugin install vagrant-vmware-workstation --plugin-version 5.0.0 does not progress beyond the following output:

-----------------

Installing the 'vagrant-vmware-workstation --version '5.0.0'' plugin. This can take a few minutes...
Fetching: vagrant-vmware-workstation-5.0.0.gem (100%)
Building native extensions.  This could take a while...

Vagrant is installing the VMware plugin which requires
Administrator access. You may be prompted for your password to
complete setup.

-----------------

Analysing the waiting process chain, it is as follows:

vagrant  plugin install vagrant-vmware-workstation --plugin-version 5.0.0
ruby C:\HashiCorp\Vagrant\embedded\gems\gems\vagrant-2.0.0\bin\vagrant plugin install vagrant-vmware-workstation --plugin-version 5.0.0
C:\Windows\system32\cmd.exe /c "C:/HashiCorp/Vagrant/embedded/mingw64/bin/ruby.exe -r ./siteconf20171019-12892-1bui6qc.rb extconf.rb 2>&1"
C:/HashiCorp/Vagrant/embedded/mingw64/bin/ruby.exe  -r ./siteconf20171019-12892-1bui6qc.rb extconf.rb
.\vagrant-vmware-installer_windows_amd64.exe install
C:\windows\system32\wbem\wmic.exe useraccount where "SID like 'S-1-5-%-500'" get name

It seems to be hanging in WMIC.exe. Simply running C:\windows\system32\wbem\wmic.exe useraccount also hangs.

Stef

Alvaro Miranda Aguilera

unread,
Oct 19, 2017, 7:19:18 AM10/19/17
to vagra...@googlegroups.com
hello

for the vmware plugin the best is contact support.

Can you please email sup...@hashicorp.com 

Thanks
Alvaro.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
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 vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/77b2973f-cca5-4594-aec1-2de12cb1e10d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Eric Beach

unread,
Oct 26, 2017, 11:35:18 AM10/26/17
to Vagrant
I get pretty much the same result when trying to install the Workstation plugin.  No response from Support, as of yet. 



PS C
:\> vagrant plugin install vagrant-vmware-workstation
Installing the 'vagrant-vmware-workstation' plugin. This can take a few minutes...
Building native extensions.  This could take a while...


Vagrant is installing the VMware plugin which requires
Administrator access. You may be prompted for your password to
complete setup
.


Failed to complete install: exec: "H:\\windows\\system32\\wbem\\wmic.exe": file does not exist
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
: C:/Users/xxxx/.vagrant.d/gems/2.3.4/gems/vagrant-vmware-workstation-5.0.0/ext/vagrant-vmware-
desktop
C
:/HashiCorp/Vagrant/embedded/mingw64/bin/ruby.exe -r ./siteconf20171026-146968-1oumt80.rb extconf.rb

Alvaro Miranda Aguilera

unread,
Oct 26, 2017, 3:29:55 PM10/26/17
to vagra...@googlegroups.com
Hello Eric

Sorry for the delay there.

A bug has been identified and plugin 5.0.1 should be released shortly.

That will include a fix for the issue you are seeing.

Thanks
Alvaro.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
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 vagrant-up+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Eric Beach

unread,
Oct 26, 2017, 3:46:34 PM10/26/17
to Vagrant
Thank you!
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.



--
Alvaro

Alvaro Miranda Aguilera

unread,
Oct 27, 2017, 12:21:09 PM10/27/17
to vagra...@googlegroups.com
Hello

plugin 5.0.1 has been released.

To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/064764b9-912e-4d24-bac4-26132a06661e%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Eric Beach

unread,
Nov 1, 2017, 11:27:51 AM11/1/17
to Vagrant
The update fixed the previous error, but now it's stuck with a more generic error:

PS C:\> vagrant plugin install vagrant-vmware-workstation --verbose
Installing the 'vagrant-vmware-workstation' plugin. This can take a few minutes...
Building native extensions.  This could take a while...
Waiting for cleanup before exiting...
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: C:/Users/xxxx/.vagrant.d/gems/2.3.4/gems/vagrant-vmware-workstation-5.0.1/ext/vagrant-vmware-desktop
C:/HashiCorp/Vagrant/embedded/mingw64/bin/ruby.exe -r ./siteconf20171101-66244-1phg9rd.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
        --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)
extconf.rb:19:in `system': Interrupt
        from extconf.rb:19:in `<main>'

extconf failed, exit code 1

Gem files will remain installed in C:/Users/xxxx/.vagrant.d/gems/2.3.4/gems/vagrant-vmware-workstation-5.0.1 for inspection.
Results logged to C:/Users/xxxx/.vagrant.d/gems/2.3.4/extensions/x64-mingw32/2.3.0/vagrant-vmware-workstation-5.0.1/gem_make.out 
Reply all
Reply to author
Forward
0 new messages