pablo platt
2013-Jan-29 02:03 UTC
[libvirt-users] Fail to build libvirt-sandbox under ubuntu 12.10
I'm trying to build libvirt-sandbox under ubuntu 12.10 sudo apt-get install git build-essential lxc libvirt-bin libvirt-glib-1.0 libglib2.0-0 libglib2.0-dev gtk-doc-tools libxml2-dev libselinux-dev git clone git://libvirt.org/libvirt-sandbox.git cd libvirt-sandbox sudo ./autobuild The error I'm getting: make[2]: Entering directory `/home/user/libvirt-sandbox/build/bin' CC virt_sandbox-virt-sandbox.o CCLD virt-sandbox CC virt_sandbox_service_util-virt-sandbox-service-util.o make[2]: *** No rule to make target `container.c', needed by `virt_sandbox_service_util-container.o'. Stop. Am I doing something wrong? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130129/1eeca6cf/attachment.htm>
Daniel P. Berrange
2013-Jan-29 10:15 UTC
[libvirt-users] Fail to build libvirt-sandbox under ubuntu 12.10
On Tue, Jan 29, 2013 at 04:03:08AM +0200, pablo platt wrote:> I'm trying to build libvirt-sandbox under ubuntu 12.10 > > sudo apt-get install git build-essential lxc libvirt-bin libvirt-glib-1.0 > libglib2.0-0 libglib2.0-dev gtk-doc-tools libxml2-dev libselinux-dev > git clone git://libvirt.org/libvirt-sandbox.git > cd libvirt-sandbox > sudo ./autobuild > > The error I'm getting: > make[2]: Entering directory `/home/user/libvirt-sandbox/build/bin' > CC virt_sandbox-virt-sandbox.o > CCLD virt-sandbox > CC virt_sandbox_service_util-virt-sandbox-service-util.o > make[2]: *** No rule to make target `container.c', needed by > `virt_sandbox_service_util-container.o'. Stop. > > Am I doing something wrong?Looks like Dan added a bogus line to the Makefile - i've deleted it now and pushed the fix. So update your GIT checkout. Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|