[libvirt-users] How to proceed after Libvirt compilation? [Problem]

I'm using Ubuntu 10.10. At first I installed Libvirt from repositories. Due to problems I removed it and then I installed from sources this way: # ./configure --prefix=$HOME/usr # make # make install # ldconfig The installation gone well. I added the users to libvirtd and rebooted. When I type virsh I receive from system a message saying virsh is not installed and instructing to install from repository. Someone know what should I do or where I can find it? Thanks in advance. __ *Lucas Arbiza* email: lucas.arbiza@gmail.com Twitter: http://twitter.com/lucasarbiza Facebook: http://www.facebook.com/lucas.arbiza Google Profile: http://www.google.com/profiles/lucas.arbiza <http://www.google.com/profiles/lucas.arbiza>LinkedIn: http://br.linkedin.com/in/lucasarbiza

On 10/01/2011, at 9:43 PM, Lucas Arbiza wrote:
I'm using Ubuntu 10.10.
At first I installed Libvirt from repositories. Due to problems I removed it and then I installed from sources this way:
# ./configure --prefix=$HOME/usr # make # make install # ldconfig
The installation gone well. I added the users to libvirtd and rebooted.
When I type virsh I receive from system a message saying virsh is not installed and instructing to install from repository.
Someone know what should I do or where I can find it?
Hi Lucas, It *sounds* like this might be a simple one to solve (hopefully). :) If you take a look in the $HOME/usr/bin/ directory, is there a "virsh" command there? If so, then it just means you're missing this directory from the PATH statement, so virsh isn't being found. If it's not there, something didn't go right with the "make install" step. Might be a permissions problem. (Of the two, it sounds more like it's the first one, a PATH problem.) Does that help? Regards and best wishes, Justin Clift

Thanks, Justin, you are right. I solved that with: # ./configure --prefix=/usr Even compiling from source I got the same problems I had installing from repositories. I'm trying with older releases. This compiling problem was fixed, thanks. __ *Lucas Arbiza*

On 11/01/2011, at 1:31 PM, Lucas Arbiza wrote: Thanks, Justin, you are right.
I solved that with:
# ./configure --prefix=/usr
Even compiling from source I got the same problems I had installing from repositories.
I'm trying with older releases.
This compiling problem was fixed, thanks.
No worries. If you're compiling on a RHEL or Fedora based system, you can do "make rpm". It creates a set of libvirt rpm, which you can then install to replace or upgrade the ones already on the system. Hope that's useful. :) Regards and best wishes, Justin Clift
participants (2)
-
Justin Clift
-
Lucas Arbiza