Compilation problems with 9.16.30 {External}

William D. Colburn wcolburn at nrao.edu
Wed Jun 15 19:09:05 UTC 2022


On Wed, Jun 15, 2022 at 08:55:59PM +0200, Ond??ej Surý wrote:
>I believe the main problem might be that you were enforcing C99 with `CC=gcc -std=gnu99`. BIND 9.16 requires C11 compatible compiler. (Well, apart from using system past it???s respective end-of-life.)
>
>When I asked for exact configure invocation (options used), I asked for a reason???

I didn't specify gnu99, but it did come from somewhere.  I invoked
configure and compiled as such ($REVERE was ""):

PKG_CONFIG_PATH=/opt/services/libuv/lib/pkgconfig/:$PKG_CONFIG_PATH \
  ./configure --disable-openssl-version-check \
  --prefix=/opt/services/named/bind-$VERSION --sysconfdir=/etc \
  --localstatedir=/var --disable-ipv6 --with-openssl=yes $REVERE || die failed to configure
PKG_CONFIG_PATH=/opt/services/libuv/lib/pkgconfig/:$PKG_CONFIG_PATH make || die make failed
PKG_CONFIG_PATH=/opt/services/libuv/lib/pkgconfig/:$PKG_CONFIG_PATH \
  make install -e sysconfdir=/opt/services/named/etc -e \
  localstatedir=/opt/services/named/var || die make install failed
rsync -a /opt/services/libuv/lib/ /opt/services/named/bind-$VERSION/lib/

RHEL 6 is barely out of service!  We will probably be running it until
the year 2032 because we have no way to replace it.  We are getting
close to not needing our CP/M machines anymore, and dream of the day
that we can replace all the equipment that can only be
controlled/operated by an Apple []e.

--Schlake
  Sysadmin IV, NRAO
  Work: 575-835-7281 (BACK IN THE OFFICE!)
  Cell: 575-517-5668 (out of work hours)


More information about the bind-users mailing list