Matthias,
Good day to you!
Used your instructions and successfully compiled libvirt on a Vista machine without a
single error or glitch. Many thanks for your assistance. My challenge now is to connect
to a remote box running Ubuntu hosting two VMs; Ubuntu and Vista. Thanks again...
Tim
-----Original Message-----
From: Matthias Bolte [mailto:matthias.bolte@googlemail.com]
Sent: 27 April 2010 02:26
To: tim.mcleod(a)simulamen.eu
Cc: libvirt-users(a)redhat.com
Subject: Re: [libvirt-users] Libvirt Compilation on MS Vista
Ah, sorry. I've the scripts at hand. I just forgot to post them.
I attached the scripts and added a readme file. I tested this on Windows XP, but it should
work without problem on Windows Vista too.
The scripts could still be improved, for example gathering all relevant files for a
libvirt Windows SDK into a separate directory would be nice.
If you have any problems or questions with/about this scripts please report/ask them.
PS: You'll need to rename setup_msys.bat_ to setup_msys.bat.
Matthias
2010/4/26 Tim McLeod <tim.mcleod(a)simulamen.eu>:
Matthias,
Polite enquiry on the progress of tidying up scripts to automate the MinGW/MSYS setup and
libvirt compilation on Windows, if I may? Not meaning to appear impatient, but I would
like to give my client some indication of when I can meet my deliverables. Many
thanks...
Tim
-----Original Message-----
From: Matthias Bolte [mailto:matthias.bolte@googlemail.com]
Sent: 21 April 2010 08:14
To: tim.mcleod(a)simulamen.eu
Cc: libvirt-users(a)redhat.com
Subject: Re: [libvirt-users] Libvirt Compilation on MS Vista
[Let's keep the list involved]
2010/4/20 Tim McLeod <tim.mcleod(a)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