- Nov 13, 2019
There is a port for libvirt in /usr/ports on my FreeNAS 11.
sudo MAKE_JOBS_UNSAFE=yes OSVERSION=11 ALLOW_UNSUPPORTED_SYSTEM=yes make Ports Collection support for your FreeBSD version has ended, and no ports are guaranteed to build on this system. Please upgrade to a supported release. ===> License GPLv3 accepted by the user ===> gmake-4.2.1_3 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by gmake-4.2.1_3 for building ===> Extracting for gmake-4.2.1_3 => SHA256 Checksum OK for make-4.2.1.tar.bz2. ===> Patching for gmake-4.2.1_3 ===> Applying FreeBSD patches for gmake-4.2.1_3 ===> gmake-4.2.1_3 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> Configuring for gmake-4.2.1_3 configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for gcc... cc checking whether the C compiler works... no configure: error: in `/usr/ports/devel/gmake/work/make-4.2.1': configure: error: C compiler cannot create executables See `config.log' for more details ===> Script "configure" failed unexpectedly. Please report the problem to tijl@FreeBSD.org [maintainer] and attach the "/usr/ports/devel/gmake/work/make-4.2.1/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make: stopped in /usr/ports/devel/gmake *** Error code 1 Stop. make: stopped in /usr/ports/devel/gmake *** Error code 1 Stop. make: stopped in /usr/ports/devel/libvirt *** Error code 1 Stop. make: stopped in /usr/ports/devel/libvirt