[prev in list] [next in list] [prev in thread] [next in thread]
List: bind-users
Subject: Re: BIND 9.9.4 compile error
From: Carl Byington <carl () byington ! org>
Date: 2013-09-23 14:52:54
Message-ID: 1379947974.7698.4.camel () ns ! five-ten-sg ! com
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, 2013-09-23 at 12:03 +0800, ShanyiWan wrote:
> [root@localhost bind-9.9.4]# uname -a
> Linux localhost.localdomain 2.6.18-274.el5PAE #1 SMP Fri Jul 22
> 05:34:36 EDT 2011 i686 i686 i386 GNU/Linux
> [root@localhost bind-9.9.4]# lsb_release -a
> LSB Version: :core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graph
> ics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
> Distributor ID: CentOS
> Description: CentOS release 5.9 (Final)
> -Wpointer-arith -fno-strict-aliasing -c os.c
> os.c:166: error: expected ')' before 'caps'
> os.c: In function 'linux_initialprivs':
> os.c:242: error: 'cap_t' undeclared (first use in this function)
> os.c:242: error: (Each undeclared identifier is reported only once
I fixed that in my rpm http://www.five-ten-sg.com/mapper/bind with the
attached patch.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
iEYEARECAAYFAlJAVV8ACgkQL6j7milTFsH6cQCfZd9rCry+FaqI9aYkrJxED3wo
NG0AniimedFgqIrUSN+rEn+BL4Y4TUc3
=QA/q
-----END PGP SIGNATURE-----
["centos5.capability.patch" (centos5.capability.patch)]
--- configure.in 2013-09-04 22:09:08.000000000 -0700
+++ configure.in.new 2013-09-20 11:15:58.588539698 -0700
@@ -2548,12 +2548,7 @@
[ --disable-linux-caps disable linux capabilities])
case "$enable_linux_caps" in
yes|'')
- AC_CHECK_HEADERS(linux/types.h)
- AC_CHECK_HEADERS([linux/capability.h sys/capability.h], [], [],
- [#ifdef HAVE_LINUX_TYPES_H
- #include <linux/types.h>
- #endif
- ])
+ AC_CHECK_HEADERS([linux/types.h linux/capability.h sys/capability.h])
AC_CHECK_LIB(cap, cap_set_proc)
;;
no)
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic