Inlcude libidn2 as standard
After performing a clean install of OpenIndiana hipster onto a pair of SSD and importing my old user home zpool, I attempted to build BIND-9.12.3-P1, initially I had to perform a pkg install of geoip but the Bind build failed because of a missing idn2 file.
After downloading libidn2-2.2.0.tar.gz from here https://ftp.gnu.org/gnu/libidn/, I built it using CC=gcc CFLAGS='-m64 -O3' ./configure --prefix=/opt/gnu which allowed Bind 9.12.3-P1 to be built with
CC=gcc CXX=g++ F77=gfortran FC=gfortran CFLAGS='-m64 -O3' CXXFLAGS=-m64 FFLAGS=-m64 FCFLAGS=-m64 LDFLAGS=-m64 PKG_CONFIG_PATH=/usr/lib/pkgconfig ./configure --prefix=/usr --mandir=/usr/share/man --bindir=/usr/sbin --libdir=/usr/lib/dns --enable-static=no --with-libtool --sbindir=/usr/sbin --sysconfdir=/etc --localstatedir=/var --with-openssl --enable-threads=yes --enable-devpoll=yes --disable-openssl-version-check --enable-fixed-rrset --with-pkcs11 --with-libxml2=/usr --enable-seccomp --enable-ipv6 --enable-querytrace --with-geoip --with-dlopen=no --with-lmdb=no --enable-dnsrps --with-gost=no --with-libidn2=/opt/gnu
Updated by Michal Nowak almost 2 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
- Tags deleted (
library/libidn2 is likely already present on your system,
From what I've seen in in BIND 9.11
--with-libidn2=path is done incorrectly, putting
CFLAGS is enough to fix it.
I encourage you to update OI-shipped BIND 9.10 to 9.11 or 9.14 instead of building your own.
Otherwise I don't see any action item in here.