[et-mgmt-tools] [PATCH] virt-manager: Basic compile environment for Windows (Cygwin)
Richard W.M. Jones
rjones at redhat.com
Thu Nov 29 19:53:20 UTC 2007
The attached patch just fixes a few basic compile environment problems
for virt-manager under Windows (Cygwin). It doesn't actually run after
this, but it does at least compile without any errors.
(1) Added a package check for cairo.
(2) Add cairo CFLAGS and LIBS.
(3) Include <cairo.h>, which is needed because the code uses 'cairo_t'.
Goodness knows how this works under Linux.
(4) Make scrollkeeper optional - it's a PITA to compile it under Cygwin,
and it seems to be only needed for the help menus.
- - -
Note that to use this you will first need to follow my instructions for
compiling libvirt for Windows:
http://libvirt.org/windows.html
Then you will need to install urlgrabber and virtinst from source (both
compile fine).
Then you should install the Cygwin packages 'atk-devel', 'cairo' and
'glitz'.
After applying the patch attached below to the Mercurial version of
virt-manager, you can do:
autoreconf
./configure
make
Rich.
--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: virt-manager-windows-basic-compile.patch
Type: text/x-patch
Size: 2659 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20071129/6d21a7c4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20071129/6d21a7c4/attachment-0001.bin>
More information about the et-mgmt-tools
mailing list