tce-load -i compiletc lvm2-dev libnl-dev udev-lib-dev libssh2-dev avahi-dev curl-dev dbus-dev fuse-dev libxml2-dev perl5 qemu cyrus-sasl-dev libyajl-dev libtirpc-dev ftp://libvirt.org/libvirt/libvirt-1.3.5.tar.gz cd libvirt-1.3.5 edit configure for ac_lib in '' ncursesw curses termcap termlib; do edit gnulib/lib/fseeko.c #if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ edit nss/libvirt_nss.c:245 (res_use_inet6 () ? AF_INET6 : AF_INET) QEMU_BRIDGE_HELPER="/usr/local/lib/qemu/qemu-bridge-helper" CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --libexecdir=/usr/local/lib/libvirt --with-qemu-group=staff --without-pm-utils --with-readline find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make nss/libvirt_nss.c: In function '_nss_libvirt_gethostbyname_r': nss/libvirt_nss.c:245:31: error: 'RES_USE_INET6' undeclared (first use in this function) 245 | int af = ((_res.options & RES_USE_INET6) ? AF_INET6 : AF_INET); remote/remote_protocol.c: In function 'xdr_remote_node_get_cells_free_memory_ret': ./util/virxdrdefs.h:28:24: error: 'xdr_u_int64_t' undeclared (first use in this function); did you mean 'xdr_uint64_t'? # define xdr_uint64_t xdr_u_int64_t ^ sudo make install configure: Configuration summary configure: ===================== configure: configure: Drivers configure: configure: Xen: no configure: QEMU: yes configure: UML: yes configure: OpenVZ: yes configure: VMware: yes configure: VBox: yes configure: XenAPI: no configure: xenlight: no configure: LXC: yes configure: PHYP: yes configure: ESX: yes configure: Hyper-V: no configure: vz: no configure: Bhyve: no configure: Test: yes configure: Remote: yes configure: Network: yes configure: Libvirtd: yes configure: Interface: yes configure: macvtap: yes configure: virtport: yes configure: configure: Storage Drivers configure: configure: Dir: yes configure: FS: no configure: NetFS: no configure: LVM: no configure: iSCSI: no configure: SCSI: yes configure: mpath: yes configure: Disk: no configure: RBD: no configure: Sheepdog: no configure: Gluster: no configure: ZFS: no configure: configure: Security Drivers configure: configure: SELinux: no () configure: AppArmor: no (install profiles: no) configure: configure: Driver Loadable Modules configure: configure: dlopen: -ldl configure: configure: Libraries configure: configure: apparmor: no configure: attr: no configure: audit: no configure: avahi: yes (CFLAGS='-D_REENTRANT -I/usr/local/include' LIBS='-L/usr/local/lib -lavahi-common -lavahi-client') configure: blkid: yes (CFLAGS='-I/usr/include/blkid' LIBS='-lblkid') configure: capng: no configure: curl: yes (CFLAGS='-DCURL_DISABLE_TYPECHECK -I/usr/local/include' LIBS='-L/usr/local/lib -lcurl') configure: dbus: yes (CFLAGS='-I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include' LIBS='-L/usr/local/lib -ldbus-1') configure: fuse: yes (CFLAGS='-D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse' LIBS='-L/usr/local/lib -lfuse -pthread') configure: glusterfs: no configure: hal: no configure: netcf: no configure: numactl: no configure: openwsman: no configure: pciaccess: yes (CFLAGS='-I/usr/local/include' LIBS='-L/usr/local/lib -lpciaccess') configure: readline: yes (CFLAGS='' LIBS='-lreadline') configure: sanlock: no configure: sasl: yes (CFLAGS='' LIBS='-lsasl2') configure: selinux: no configure: ssh2: yes (CFLAGS='-I/usr/local/include' LIBS='-L/usr/local/lib -lssh2') configure: systemd_daemon: no configure: udev: yes (CFLAGS='-I/usr/local/include' LIBS='-L/usr/local/lib -ludev -lrt') configure: wireshark_dissector: no configure: nss: yes configure: yajl: yes (CFLAGS='' LIBS='-lyajl') configure: libxml: -I/usr/local/include/libxml2 -L/usr/local/lib -lxml2 configure: dlopen: -ldl configure: openwsman: no configure: gnutls: -I/usr/local/include -I/usr/local/include/p11-kit-1 -L/usr/local/lib -lgnutls configure: firewalld: yes configure: polkit: /usr/local/bin/pkcheck (version 1) configure: xen: no configure: xenapi: no configure: xenlight: no configure: pcap: no configure: nl: -I/usr/local/include/libnl3 -I/usr/local/include/libnl3 -L/usr/local/lib -lnl-3 -L/usr/local/lib -lnl-route-3 -lnl-3 configure: mscom: no configure: xdr: configure: rbd: no configure: pm-utils: no configure: configure: Test suite configure: configure: Coverage: no configure: Alloc OOM: no configure: configure: Miscellaneous configure: configure: Debug: yes configure: Use -Werror: no configure: Warning Flags: -W -Waddress -Waggressive-loop-optimizations -Wall -Wattributes -Wbad-function-cast -Wbool-compare -Wbuiltin-macro-redefined -Wcast-align -Wchar-subscripts -Wchkp -Wclobbered -Wcomment -Wcomments -Wcoverage-mismatch -Wcpp -Wdate-time -Wdeprecated-declarations -Wdesignated-init -Wdisabled-optimization -Wdiscarded-array-qualifiers -Wdiscarded-qualifiers -Wdiv-by-zero -Wdouble-promotion -Wduplicated-cond -Wempty-body -Wendif-labels -Wextra -Wformat-contains-nul -Wformat-extra-args -Wformat-security -Wformat-y2k -Wformat-zero-length -Wframe-address -Wfree-nonheap-object -Whsa -Wignored-attributes -Wignored-qualifiers -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types -Winit-self -Winline -Wint-conversion -Wint-to-pointer-cast -Winvalid-memory-model -Winvalid-pch -Wjump-misses-init -Wlogical-not-parentheses -Wlogical-op -Wmain -Wmaybe-uninitialized -Wmemset-transposed-args -Wmisleading-indentation -Wmissing-braces -Wmissing-declarations -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-parameter-type -Wmissing-prototypes -Wmultichar -Wnarrowing -Wnested-externs -Wnonnull -Wnonnull-compare -Wnull-dereference -Wodr -Wold-style-declaration -Wold-style-definition -Wopenmp-simd -Woverflow -Woverride-init -Wpacked-bitfield-compat -Wparentheses -Wpointer-arith -Wpointer-sign -Wpointer-to-int-cast -Wpragmas -Wreturn-local-addr -Wreturn-type -Wscalar-storage-order -Wsequence-point -Wshadow -Wshift-count-negative -Wshift-count-overflow -Wshift-negative-value -Wsizeof-array-argument -Wsizeof-pointer-memaccess -Wstrict-aliasing -Wstrict-prototypes -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsuggest-final-methods -Wsuggest-final-types -Wswitch -Wswitch-bool -Wsync-nand -Wtautological-compare -Wtrampolines -Wtrigraphs -Wtype-limits -Wuninitialized -Wunknown-pragmas -Wunused -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function -Wunused-label -Wunused-local-typedefs -Wunused-parameter -Wunused-result -Wunused-value -Wunused-variable -Wvarargs -Wvariadic-macros -Wvector-operation-performance -Wvolatile-register-var -Wwrite-strings -Warray-bounds=2 -Wnormalized=nfc -Wshift-overflow=2 -Wunused-const-variable=2 -Wno-sign-compare -Wjump-misses-init -Wno-format-nonliteral -Wframe-larger-than=4096 -fstack-protector-strong -fexceptions -fasynchronous-unwind-tables -fipa-pure-const -Wno-suggest-attribute=pure -Wno-suggest-attribute=const configure: DTrace: no configure: numad: no configure: XML Catalog: /etc/xml/catalog configure: Init script: none configure: Char device locks: /var/lock configure: Default Editor: vi configure: Loader/NVRAM: configure: virt-login-shell: yes configure: virt-host-validate: yes configure: configure: Developer Tools configure: configure: Wireshark dissector: no configure: configure: Privileges configure: configure: QEMU: root:staff configure: