LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   Libvirt 'make install' not creating directories (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/libvirt-make-install-not-creating-directories-4175461142/)

lllux 05-08-2013 07:30 AM

Libvirt 'make install' not creating directories
 
My appologies for I'm sure this is a simple question for those with a small ammount of knowledge I do not possess.

I installed libvirt via apt-get and it created the directories /var/lib/libvirt and /etc/libvirt, however this was a rather outdated version of libvirt and I needed the plan 9 support of the newer versions. I got the latest release tarball and built and installed libvirt from this (as here http://libvirt.org/compiling.html) however these directories were not created. I could easily create them again, but (re)creating their contents could be more of a challenge.

Am I missing an installation step? Did I miss some ./configure option? or are the contents of these folders non consequential?

Thanks.

John VV 05-08-2013 08:58 PM

if "./configure" ( and any options that you need like --prefix=/usr) completed without errors

then if "make" ( or if a i5 or i7 cpu "make -j4 " ) ran without errors

then you need to be root to run "make install "

lllux 05-08-2013 10:59 PM

Quote:

Originally Posted by John VV (Post 4947512)
if "./configure" ( and any options that you need like --prefix=/usr) completed without errors

then if "make" ( or if a i5 or i7 cpu "make -j4 " ) ran without errors

then you need to be root to run "make install "

This is what I did, I tried ./configure (no options) and ./configure --prefix=/usr/local (which I think is the default location) both had the same effect (as you would expect).

Note the the binaries for the program seem correctly compiled and have been moved in both cases to /usr/local/bin so I dont think its a privileges error.

Thanks for the reply.

lllux 05-09-2013 03:43 AM

I installed from git and the directories were created, marked as solved!


All times are GMT -5. The time now is 01:48 AM.