Re: C API example

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

 



On 07/01/2010 11:12 AM, steven765@xxxxxxxxx wrote:
Trying to build the hellolibvirt example.  I get the project to
compile okay but when I try to run it I get:

Unable to connect to '/usr/local/var/run/libvirt/libivrt-sock

Given libvirt --status says it's in /var/run/libvirt/libvirt-sock
that makes sense.  How do I make the git version run with my local
copy?

At the moment (still learning things), this works for me:

  $ ./configure --prefix=/
  $ make

I don't (!) do "make install" afterwards though, as that would likely install over the top of system provided things.

It does let me connect to the libvirtd daemon using the newly compiled virsh (shell utility) though:

  $ sudo tools/virsh

Hope that helps. :)

Regards and best wishes,

Justin Clift

--
Salasaga  -  Open Source eLearning IDE
              http://www.salasaga.org


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux