Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora/Linux Management Tools (http://www.linux-archive.org/fedora-linux-management-tools/)
-   -   virt-manager: Basic compile environment for Windows (Cygwin) (http://www.linux-archive.org/fedora-linux-management-tools/8579-virt-manager-basic-compile-environment-windows-cygwin.html)

"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:


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


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.