Re: [libvirt-users] Sys::Virt integration into other event loops

2014-03-17 Thread Scott Wiersdorf
On Mar 14, 2014, at 9:32 AM, Daniel P. Berrange wrote: > - Register and run your own event loop impl by calling the method > Sys::Virt::Event::register(), passing in a custom subclass of > the Sys::Virt::Event class. This is what you should do to integrate > with existing event loop impls li

Re: [libvirt-users] Sys::Virt integration into other event loops

2014-03-14 Thread Scott Wiersdorf
On Mar 14, 2014, at 9:32 AM, Daniel P. Berrange wrote: > - Register and run your own event loop impl by calling the method > Sys::Virt::Event::register(), passing in a custom subclass of > the Sys::Virt::Event class. This is what you should do to integrate > with existing event loop impls li

Re: [libvirt-users] Sys::Virt integration into other event loops

2014-03-14 Thread Daniel P. Berrange
On Fri, Mar 14, 2014 at 09:01:22AM -0600, Scott Wiersdorf wrote: > Hi all, > > I’m trying to integrate Perl’s Sys::Virt into an already existing AnyEvent > program. > > I’m accustomed to writing things like this: > > use EV; > use AnyEvent; > use AnyEvent::Handle; > my $h = AnyEvent::Handle->ne

[libvirt-users] Sys::Virt integration into other event loops

2014-03-14 Thread Scott Wiersdorf
Hi all, I’m trying to integrate Perl’s Sys::Virt into an already existing AnyEvent program. I’m accustomed to writing things like this: use EV; use AnyEvent; use AnyEvent::Handle; my $h = AnyEvent::Handle->new(fh => $fh, …); $h->on_read(sub { … }); EV::run; ## start the event loop I can add

Re: [libvirt-users] Sys::Virt

2012-02-28 Thread Evaggelos Balaskas
Again, thanks for any help # gcc --version gcc (GCC) 4.6.2 20120120 (prerelease) Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Evaggelos Balas

Re: [libvirt-users] Sys::Virt

2012-02-28 Thread Alex Jia
On 02/27/2012 11:55 PM, Evaggelos Balaskas wrote: Hi Alex, thanks for your reply, i've tried git but ... /usr/bin/perl "-Iblib/arch" "-Iblib/lib" perl-Sys-Virt.spec.PL perl-Sys-Virt.spec make: *** [perl-Sys-Virt.spec] Segmentation fault make: *** Deleting file `perl-Sys-Virt.spec' I haven't a

Re: [libvirt-users] Sys::Virt

2012-02-27 Thread Evaggelos Balaskas
This is my strace of make Evaggelos Balaskas - Unix System Engineer http://gr.linkedin.com/in/evaggelosbalaskas libvirt-perl.git.strace.gz Description: GNU Zip compressed data ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.c

Re: [libvirt-users] Sys::Virt

2012-02-27 Thread Evaggelos Balaskas
Hi Alex, thanks for your reply, i've tried git but ... /usr/bin/perl "-Iblib/arch" "-Iblib/lib" perl-Sys-Virt.spec.PL perl-Sys-Virt.spec make: *** [perl-Sys-Virt.spec] Segmentation fault make: *** Deleting file `perl-Sys-Virt.spec' Archlinux: # uname -a Linux mylaptop 3.2.7-1-ARCH #1 SMP PREEMP

Re: [libvirt-users] Sys::Virt

2012-02-26 Thread Alex Jia
l.git % perl Makefile.PL % make - Original Message - From: "Evaggelos Balaskas" To: libvirt-users@redhat.com Sent: Sunday, February 26, 2012 12:59:30 AM Subject: [libvirt-users] Sys::Virt Can anyone help me: $ perl Makefile.PL Checking if your kit is complete... Looks good W

[libvirt-users] Sys::Virt

2012-02-25 Thread Evaggelos Balaskas
Can anyone help me: $ perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Sys::Virt Writing MYMETA.yml and MYMETA.json $ make /usr/bin/perl "-Iblib/arch" "-Iblib/lib" perl-Sys-Virt.spec.PL perl-Sys-Virt.spec make: *** [perl-Sys-Virt.spec] Segmentation fault make: