Linux Archive

Linux Archive (
-   Fedora/Linux Management Tools (
-   -   virt-manager: Basic compile environment for Windows (Cygwin) (

"Richard W.M. Jones" 11-29-2007 06:53 PM

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:

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

After applying the patch attached below to the Mercurial version of
virt-manager, you can do:



Emerging Technologies, Red Hat -
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

All times are GMT. The time now is 10:40 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.