BIND9 and DLZ

Josh Miller joshua at itsecureadmin.com
Thu Sep 2 00:02:12 UTC 2010


On 09/01/2010 03:26 PM, Scott Haneda wrote:
> You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
> + aclocal -I m4 --force
> configure.in:2772: warning: underquoted definition of NOM_PATH_FILE
>   run info '(automake)Extending aclocal'
>   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
> contrib/dlz/config.dlz.in:38: warning: underquoted definition of DLZ_ADD_DRIVER
> + autoconf -f
> configure.in:287: error: possibly undefined macro: AC_C_FLEXIBLE_ARRAY_MEMBER
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> error: Bad exit status from /var/tmp/rpm-tmp.45014 (%build)
>
>
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.45014 (%build)

It looks like this version of Bind is expecting a newer version of 
autoconf and expects new macros defined, like 
AC_C_FLEXIBLE_ARRAY_MEMBER, which was introduced in autoconf 2.61.
(re:  http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS)

I was able to get past this error by commenting out this macro in the 
configure.in file within the archive.

ie:
1. pushd /usr/src/redhat/SOURCES/
2. tar xzvf bind-9.7.1-P2.tar.gz
3. vi bind-9.7.1-P2/configure.in
4. Comment out line 285 with a #
5. remove old archive:  rm -rf bind-9.7.1-P2.tar.gz
6. archive the new version:  tar czvf bind-9.7.1-P2.tar.gz bind-9.7.1-P2
7. re-run rpmbuild command

After this, I successfully created the RPMs.

Thanks,
-- 
Josh Miller, RHCE/VCP
Seattle, WA
Linux Solutions Provider
Website:  http://itsecureadmin.com/



More information about the bind-users mailing list