<div dir="ltr"><div>Hello,</div><div><br></div><div>I am currently working on Redhat 6 - Kernel 2.6.32-358.el6.x86_64. It has by default libvirt 0.10.2. </div><div><br></div><div>I wanted version 1.2.7. So I downloaded this and libvirt-1.2.7.tar.gz and I followed the following steps:</div><div><br></div><div>1. ./configure (with its default settings) </div><div>2. make</div><div>3. make install</div><div><br></div><div><br></div><div>Currently, the installation is in: /usr/local </div><div><br></div><div>and the source tree is in /export/home/libvirt.</div><div><br></div><div><br></div><div>I stopped the previously installed daemon so that the new one takes effect.</div><div><br></div><div>I launched the daemon from /export/home/libvirt/daemon/libvirtd -d.</div><div><br></div><div>However every time I launch the C++ code, this message appears:</div><div><div><br></div><div>libvir: XML-RPC error : Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory</div><div>Failed to open connection to qemu:///system</div></div><div><br></div><div>My questions are:</div><div><br></div><div>1. How can I launch the daemon from the source tree? It does not behave as it should when it is launched from /etc/init.d</div><div>2. How can any application e.g. virt-manager look at the new paths of the newly installed libvirt?</div><div>3. How can I get libvirt to work from the source tree as if it was originally installed in Redhat?</div><div><br></div><div><br></div><div>Thanks</div><div>Marina</div><div><br></div></div>