virt-manager: Basic compile environment for Windows (Cygwin)
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
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools