LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 05-08-2013, 06:30 AM   #1
lllux
LQ Newbie
 
Registered: Apr 2013
Posts: 11

Rep: Reputation: Disabled
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.

Last edited by lllux; 05-09-2013 at 02:43 AM.
 
Old 05-08-2013, 07:58 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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 "
 
Old 05-08-2013, 09:59 PM   #3
lllux
LQ Newbie
 
Registered: Apr 2013
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
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.
 
Old 05-09-2013, 02:43 AM   #4
lllux
LQ Newbie
 
Registered: Apr 2013
Posts: 11

Original Poster
Rep: Reputation: Disabled
I installed from git and the directories were created, marked as solved!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] some problemS about developing with libvirt onXCP,can not connect to xen hypervisor code penguin Linux - Virtualization and Cloud 0 05-23-2012 11:00 PM
I have 2 problems with the instalation wicho_the_one Fedora - Installation 6 01-28-2006 11:45 AM
mozilla instalation problems kostian Debian 3 04-03-2005 05:18 PM
nvidia instalation problems / Sblive driver problems Colonel-1990 Linux - Software 13 02-14-2005 05:48 PM
RH 7.2 instalation minor problems ... havitush99 Linux - Software 2 02-22-2002 11:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 09:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration