[libvirt-users] Libvirt Compilation on MS Vista

Matthias Bolte matthias.bolte at googlemail.com
Wed Apr 21 14:13:53 UTC 2010


[Let's keep the list involved]

2010/4/20 Tim McLeod <tim.mcleod at simulamen.eu>:
> Matthias,
>
> Thank you for the swift response.  Now, the current state is the result of following the instructions found a la Web in the attached 'print to PDF' file.  Situation as follows:
>
> 1.  MinGW.  MinGW-5.1.4.exe installed without error; no issues.
> 2.  MSYS.  Failed to locate the executable MSYS-1.0.11-2004.04.30-1.exe, but MSYS-1.0.11.exe did install without error.
> 3.  msysDTK.  msysDTK-1.0.1.exe installed without error; no issues.
> 4.  GTK.  gtk-dev-2.12.9-win32-2.exe installed without error; no issues.
> 5.  M4.  Failed to locate compressed file m4-1.4.7-MSYS.tar.bz2, used m4-1.4.13-1-msys-1.0.11-bin.tar.lzma instead.  Did not understand instruction to extract to the 'root' folder but instead replaced the original M4.exe found in C:\MSYS\1.0\bin with the M4.exe found in the lzma file.
> 6.  Autoconf.  Failed to 'make' source found in autoconf-2.62.tar.gz due to a '[m4sugar.m4f] Error 1' error, but following a reference found on the Web to this error not occurring in autoconf-2.52.tar.gz, successfully 'made' and installed this version.  When moving on to step 7, Automake, compilation failed since autoconf 2.6 or newer was required.  However, autoconf-2.60.tar.gz failed with the 'm4sugar.m4f' error in the same way as v2.62.
>
> Brick wall; sore head!  As I'm sure you have guessed my background is MS Windows rather than Linux so I am finding these. Probably minor issues to you, extremely daunting and frustrating to me.  I am encouraged that you have successfully compiled a Windows Libvirt client, hope you can point me in the right direction.  Many thanks...
>
> Tim
>

Okay, so the problem is setting up a working MinGW/MSYS environment.
You used the instructions posted here:
https://www.redhat.com/archives/libvir-list/2008-June/msg00145.html

I didn't try that, but I wrote a set of scripts to automate the
MinGW/MSYS setup and libvirt compliation on Windows. I'll clean them
up a bit and post them, so you can try to use them.

Probably we should also improve http://libvirt.org/windows.html with
more details.

Matthias




More information about the libvirt-users mailing list