[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] Initial working Mac OS X libvirt client build

On 09/22/2010 03:07 AM, Daniel P. Berrange wrote:
On Tue, Sep 21, 2010 at 04:37:26PM +1000, Justin Clift wrote:
Hi all,

This is for anyone using the Homebrew package management system on Mac
OS X. :)

A first working (but still experimental) libvirt formula is online:


If this is intended to be rnu with proper release tarballs,
then you should change autogen.sh to ./configure, so you avoid
needing automake/autoconf/etc on OS-X.

Very good point.  When 0.8.5 is out, we should be able to do this.

As long as we get the minor compilation nits fixed upstream first,
which is being worked on.

Also, does libvirtd not actually work ? If QEMU itself builds on
OS-X, then in theory it ought to be possible to  build libvirtd
and manage it.

So far, the configure script dies when it detects there's no
device-mapper/devel package installed.  Might be able to work around
this by disabling options on the configure line, but didn't try it.

Getting the daemon working would be useful.  We'd be able to manage
(at least) VirtualBox instances running on OS X that way.

Do you need a depends_on for  libxml2&  portablexdr too ?

Not for libxml2, as the version that comes with OS X works. (tried it
both ways). Didn't think to look for portablexdr, but will check that out. :)

What's the situation with Python on OS-X ? Any liklihood of python
bindings working  ?

Python comes with OS X "out of the box". Running version 10.6.4 of
Mac OS X (latest release) here, and it includes Python 2.6.4.

So, I think we'll be in good shape. :)

If you add curl + xmlrpc-c then the ESX driver ought to work. If
there's a virtualbox port to OS-X that driver should work too.
I'd be interest to see what configure prints as the summary for
features it enabled...

By default, pretty much everything is set to "no" from the configure
output by default.  (./configure --without-libvirt)

Didn't put any effort into getting things running other than the
basic client layer, but can try things out without too much hassle.


Regards and best wishes,

Justin Clift

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]