Re: [libvirt] Compilation error (storageRegister)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 22, 2008 at 10:40:10PM +0200, Stefan de Konink wrote:
> Stefan de Konink schreef:
> >./configure --prefix=/usr --with-xen --without-sasl --without-avahi 
> >--without-test --without-libvirtd --sysconfdir=/etc --localstatedir=/var 
> >--without-qemu --without-storage-lvm --without-storage-iscsi
> 
> I guess the without-libvirtd 'breaks' it.

Try adding this patch

diff -r 38363cc93ee3 src/libvirt.c
--- a/src/libvirt.c	Thu May 22 16:37:08 2008 -0400
+++ b/src/libvirt.c	Thu May 22 16:48:56 2008 -0400
@@ -284,7 +284,9 @@
 #ifdef WITH_LXC
     if (lxcRegister() == -1) return -1;
 #endif
+#ifdef WITH_LIBVIRTD
     if (storageRegister() == -1) return -1;
+#endif
 #ifdef WITH_REMOTE
     if (remoteRegister () == -1) return -1;
 #endif


Dan
-- 
|: Red Hat, Engineering, Boston   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]