-
Notifications
You must be signed in to change notification settings - Fork 572
The "libxml2" package isn't available #539
Comments
experiencing the same issue |
+1. On windows 10 with Vagrant 2.0.4 |
+1 Win10 Vagrant 2.0.4, reinstalled and tried Tried |
I ran
the |
+1. On windows 10 with Vagrant 2.0.3 tryed vagrant plugin expunge --reinstall |
+1. On Windows 10 with Vagrant 2.0.1. |
Had this issue with Windows 10, Vagrant 2.0.3. Fixed it by installing Ruby separately (from https://rubyinstaller.org/downloads/) and RENAMING the ruby.exe and rubyw.exe files under C:\hashicorp\vagrant\embedded\mingw64\bin so Vagrant fell back on the new Ruby version. Guess the Ruby version that comes with Vagrant is lite and doesn't come with libxml2 package |
There are various issues with the latest packages for the AWS plugin running on Windows, but I am now up and running by doing the following, all of which are workarounds and will need to be changed for your install drives but show the cause of the problem:
This allows the libxml2 package definition to be found (the definition was renamed to libxml-2.0 at some point).
%VAGRANT_HOME%\gems\2.4.4\gems\ovirt-engine-sdk-4.2.4\ext\ovirtsdk4c\ov_http_client.c attempts to include it but it is not currently installed with the embedded mingw64.
There is a non-matching redefinition of gettimeofday as indicated by the compiler
Unneeded duplicate mapping. I hope that helps! |
Hi, |
I was also having an issue with vagrant 2.1.1 on Windows 64-bit.
Also, virtual drive V was not defined for me, so I could not determine how to perform step 4, but that did not appear to affect the outcome. |
Sorry for the confusion on my step 4 above! To explain further:
I have updated my comment to include the environment variable. HTH |
My "solution" for this highly frustrating problem was
Some really great answers posted here, really appreciate the effort from the community. But honestly, it's quite surprising there hasn't been any patch or update released for this blocker bug. It clearly seems to be a breaking change and (for me at least) has completely stalled my work. |
Please see #542 for a better option than all of the editing and such shown above. |
Hi, |
@arungbinath I am not sure that solution is complete - please provide additional info so other visitors may benefit:
|
This workaround worked for me:
|
Thanks @rurku , that worked for me!!! |
FWIW, the fog gem was broken out into multiple gems, one per service provider. The right thing to do here is only install fog-aws, rather than the whole fog suite which installs truly unnecessary dependencies, like libvirt. See #542 for proper resolution |
Thanks @rurku , ur solution worked for me as well thanks a lot, struck for a week !,it worked for me! |
Gracias @rurku ,it worked for me!! |
@rurku operative! |
This is not fixed. It was never fixed here. The workaround described above is not a solution. Either merge #542 or fix this issue directly. It is ridiculous that this was closed without ever actually fixing anything. |
Thanks to @rurku (w7, cygwin 2.11.2, Vagrant 2.2.2) this worked for me: For version 0.7.2 of plugin you have to install "fog" before "aws" |
So far, none of the recommend workarounds above have worked for me.
It seems like this issue should be re-opened until a PR is merged in fixing it. |
I followed @bdwyertech's advice and installed his gem. It installed without a hitch. Now to see if it works! C:\Users\rconde\Projects\canned-env-vagrant (AWS -> gitlab) λ vagrant plugin install "C:\Users\rconde\Downloads\vagrant-aws-0.8.0.gem" Installing the 'C:\Users\rconde\Downloads\vagrant-aws-0.8.0.gem' plugin. This can take a few minutes... Fetching: iniparse-1.4.4.gem (100%) Fetching: fog-core-2.1.2.gem (100%) Fetching: fog-aws-3.3.0.gem (100%) Successfully uninstalled dry-inflector-0.1.2 Successfully uninstalled fog-aliyun-0.3.2 Successfully uninstalled fog-atmos-0.1.0 Successfully uninstalled fog-aws-2.0.1 Successfully uninstalled fog-brightbox-0.16.1 Successfully uninstalled fog-cloudatcost-0.1.2 Successfully uninstalled fog-core-1.45.0 Successfully uninstalled fog-digitalocean-0.4.0 Removing console Removing setup Successfully uninstalled fog-dnsimple-1.0.0 Successfully uninstalled fog-dynect-0.0.3 Successfully uninstalled fog-ecloud-0.3.0 Successfully uninstalled fog-google-0.1.0 Successfully uninstalled fog-internet-archive-0.0.1 Successfully uninstalled fog-joyent-0.0.1 Successfully uninstalled fog-local-0.6.0 Successfully uninstalled fog-openstack-0.3.9 Successfully uninstalled xml-simple-1.1.5 Installed the plugin 'vagrant-aws (0.8.0)'! I don't understand why this issue is marked as closed. |
any one able to install vagrant AWS plugin successfully |
I did using @bdwyertech's advice. I was just able to vagrant up a new instance in AWS! |
this worked for me Install fog-ovirt 1.0.1 |
Attempted @comeback2000's fix, but did not working for me. Specifically:
Then Then SSH in And
|
In case this helps anyone, I had the following in a project's Gemfile:
I uninstalled my old Then, I changed It worked. |
Windows 10 with Vagrant 2.2.3. |
This works with me, Thanks! |
Thanks, This solution worked for me !! |
Hi,
': The "libxml2" package isn't available. (RuntimeError)When trying trying to install vagrant-aws pluging, the installation fails on this:
extconf.rb:29:in `
To see why this extension failed to compile, please check the mkmf.log which can be found here:
C:/Users/Sven/.vagrant.d/gems/2.4.3/extensions/x64-mingw32/2.4.0/ovirt-engine-sdk-4.2.4/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in C:/Users/Sven/.vagrant.d/gems/2.4.3/gems/ovirt-engine-sdk-4.2.4 for inspection.
Results logged to C:/Users/Sven/.vagrant.d/gems/2.4.3/extensions/x64-mingw32/2.4.0/ovirt-engine-sdk-4.2.4/gem_make.out
The log file:
`find_executable: checking for xml2-config... -------------------- no
"pkg-config --exists libxml2"`
package configuration for libxml2 is not found
I've tried downloading libxml2 and adding it to the path, without succes. What can i do to resolve this?
This is on Windows 10.
Kind regards,
Sven.
The text was updated successfully, but these errors were encountered: