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

2010-10-25 Thread Ruben Kerkhof
On Mon, Oct 25, 2010 at 07:09, Justin Clift jcl...@redhat.com wrote: On 10/25/2010 12:18 PM, Ruben Kerkhof wrote: On Sun, Oct 24, 2010 at 02:46, Justin Clift jcl...@redhat.com wrote: On 10/24/2010 09:33 AM, Ruben Kerkhof wrote: snip None at all, actually. I just started libvirtd on my local

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

2010-10-25 Thread Ruben Kerkhof
On Mon, Oct 25, 2010 at 10:20, Ruben Kerkhof ru...@rubenkerkhof.com wrote: On Mon, Oct 25, 2010 at 07:09, Justin Clift jcl...@redhat.com wrote: On 10/25/2010 12:18 PM, Ruben Kerkhof wrote: On Sun, Oct 24, 2010 at 02:46, Justin Clift jcl...@redhat.com wrote: On 10/24/2010 09:33 AM, Ruben

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

2010-10-25 Thread Daniel P. Berrange
On Mon, Oct 25, 2010 at 10:37:36AM +0200, Ruben Kerkhof wrote: On Mon, Oct 25, 2010 at 10:20, Ruben Kerkhof ru...@rubenkerkhof.com wrote: On Mon, Oct 25, 2010 at 07:09, Justin Clift jcl...@redhat.com wrote: On 10/25/2010 12:18 PM, Ruben Kerkhof wrote: On Sun, Oct 24, 2010 at 02:46, Justin

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

2010-10-25 Thread Ruben Kerkhof
On Mon, Oct 25, 2010 at 10:48, Daniel P. Berrange berra...@redhat.com wrote: NACK, this results in 'path' being a zer-length string, so no data is copied in the next virStrcpyStatic line. The original code is correctly creating a socket in the abstract namespace, ie one which does not appear

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

2010-10-25 Thread Justin Clift
On 10/25/2010 07:20 PM, Ruben Kerkhof wrote: snip I haven't been able to bootstrap a build from libvirt git yet, mainly gettext issues. What are the gettext errors that happen for you? Thinking you'll need to install a newer gettext that the OSX provided one (as Homebrew does), and then make

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

2010-10-25 Thread Eric Blake
On 10/25/2010 05:19 AM, Ruben Kerkhof wrote: On Mon, Oct 25, 2010 at 10:48, Daniel P. Berrangeberra...@redhat.com wrote: NACK, this results in 'path' being a zer-length string, so no data is copied in the next virStrcpyStatic line. The original code is correctly creating a socket in the

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

2010-10-24 Thread Daniel Veillard
On Sat, Oct 23, 2010 at 10:55:16AM +1100, Justin Clift wrote: On 10/23/2010 06:06 AM, Ruben Kerkhof wrote: snip It's getting a bit further, the logs are at http://fpaste.org/DC3R/ It seems to have some problems with libxml2. Daniel, any idea what would cause this libxml2 failure?

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

2010-10-24 Thread Ruben Kerkhof
On Sun, Oct 24, 2010 at 02:46, Justin Clift jcl...@redhat.com wrote: On 10/24/2010 09:33 AM, Ruben Kerkhof wrote: snip None at all, actually. I just started libvirtd on my local mac on which I also have VirtualBox installed. Speaking of which, it would be nice to have a launchctl file for

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

2010-10-24 Thread Justin Clift
On 10/25/2010 12:18 PM, Ruben Kerkhof wrote: On Sun, Oct 24, 2010 at 02:46, Justin Clift jcl...@redhat.com wrote: On 10/24/2010 09:33 AM, Ruben Kerkhof wrote: snip None at all, actually. I just started libvirtd on my local mac on which I also have VirtualBox installed. Speaking of which, it

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

2010-10-23 Thread Ruben Kerkhof
On Sat, Oct 23, 2010 at 20:15, Justin Clift jcl...@redhat.com wrote: On 10/23/2010 06:06 AM, Ruben Kerkhof wrote: snip It seems to have some problems with libxml2. I've also tried with libxml2-2.7.7 installed by brew, but that didn't help Readline has always been a problem on Tiger/Leopard. I

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

2010-10-23 Thread Justin Clift
On 10/24/2010 05:26 AM, Ruben Kerkhof wrote: snip Works great, thanks! Hey, that's good news. :) That means we just need to figure the libxml2 errors out, then we can tweak the libvirt formula so it works on Leopard as well. :) -- libvir-list mailing list libvir-list@redhat.com

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

2010-10-23 Thread Justin Clift
On 10/24/2010 06:49 AM, Ruben Kerkhof wrote: snip That depends_on line in the formula also works for libxml2 :-) Hey, good work. :) Looks like I need to tweak the libvirt formula next. ; As a thought, what sort of connection URL did you use with virsh in your example, and what sort of remote

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

2010-10-23 Thread Justin Clift
On 10/24/2010 07:04 AM, Justin Clift wrote: On 10/24/2010 06:49 AM, Ruben Kerkhof wrote: snip That depends_on line in the formula also works for libxml2 :-) Hey, good work. :) Looks like I need to tweak the libvirt formula next. ; Ruben, would you be ok to test the following code snippet

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

2010-10-23 Thread Justin Clift
On 10/24/2010 09:28 AM, Ruben Kerkhof wrote: snip Yes, this works perfectly. Thanks. Submitted that addition to the Homebrew guys, which hopefully they'll get done soon. Adam V is normally pretty responsive. :) -- libvir-list mailing list libvir-list@redhat.com

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

2010-10-23 Thread Justin Clift
On 10/24/2010 12:05 PM, Justin Clift wrote: On 10/24/2010 09:28 AM, Ruben Kerkhof wrote: snip Yes, this works perfectly. Thanks. Submitted that addition to the Homebrew guys, which hopefully they'll get done soon. Adam V is normally pretty responsive. :) Done. It's now in the main

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

2010-10-22 Thread Justin Clift
On 10/22/2010 05:18 PM, Ruben Kerkhof wrote: snip I thought I'd give it a try, to see how far I get on Leopard (10.5). Hey Ruben, thanks for the attempt. :) Would you be ok to try a slightly updated version of the libvirt formula? If so, you just need to update the libvirt.rb formula file, to

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

2010-10-22 Thread Ruben Kerkhof
On Fri, Oct 22, 2010 at 08:54, Justin Clift jcl...@redhat.com wrote: On 10/22/2010 05:18 PM, Ruben Kerkhof wrote: snip I thought I'd give it a try, to see how far I get on Leopard (10.5). Hey Ruben, thanks for the attempt. :) Would you be ok to try a slightly updated version of the libvirt

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

2010-10-22 Thread Mitchell Hashimoto
On Thu, Oct 21, 2010 at 11:18 PM, Ruben Kerkhof ru...@rubenkerkhof.com wrote: I thought I'd give it a try, to see how far I get on Leopard (10.5). From what I know following this list, I don't think anyone has ever tried to compile for Leopard (10.5) and has focussed exclusively on Snow

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

2010-10-22 Thread Ruben Kerkhof
On Fri, Oct 22, 2010 at 18:19, Mitchell Hashimoto mitchell.hashim...@gmail.com wrote: On Thu, Oct 21, 2010 at 11:18 PM, Ruben Kerkhof ru...@rubenkerkhof.com wrote: I thought I'd give it a try, to see how far I get on Leopard (10.5). From what I know following this list, I don't think

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

2010-10-22 Thread Justin Clift
On 10/23/2010 06:06 AM, Ruben Kerkhof wrote: snip It's getting a bit further, the logs are at http://fpaste.org/DC3R/ It seems to have some problems with libxml2. Daniel, any idea what would cause this libxml2 failure? GEN virt-pki-validate GEN virt-xml-validate.1 GEN

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

2010-10-06 Thread Justin Clift
On 09/22/2010 11:56 PM, Justin Clift wrote: snip As a follow up, our libvirt formula has been pulled into the upstream repository, and is now available on OSX to everyone using Homebrew: http://mxcl.github.com/homebrew/ -- libvir-list mailing list libvir-list@redhat.com

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

2010-09-22 Thread Daniel Veillard
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: http://github.com/justinclift/libvirt It includes the libvirt

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

2010-09-22 Thread Justin Clift
On 09/22/2010 10:52 PM, Daniel Veillard wrote: SNIP If you have time to test it and report success/failure/(etc), please do. I would suggest to put the experimental binaries that you managed to build on libvirt.org ~ftp/libvirt/osx/ , you should have write access to that directory and this

[libvirt] Initial working Mac OS X libvirt client build

2010-09-21 Thread Justin Clift
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: http://github.com/justinclift/libvirt It includes the libvirt text mode client (virsh), and the libvirt development libraries. If

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

2010-09-21 Thread Matthias Bolte
2010/9/21 Daniel P. Berrange berra...@redhat.com: 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: