bind10 configure fails to find botan library

JINMEI Tatuya / 神明達哉 jinmei at isc.org
Wed Nov 30 23:17:58 UTC 2011


At Wed, 30 Nov 2011 18:20:29 +0000,
"Spain, Dr. Jeffry A." <spainj at countryday.net> wrote:

> I have one other question with regard to configure. Here's what I'm using at the moment:
> ./configure \
> 	--prefix=/usr \
> 	--sysconfdir=/etc/bind10 \
> 	--localstatedir=/var \
> 	'CFLAGS=-O2 -fno-strict-aliasing' \
> 	'LDFLAGS=-Wl,-Bsymbolic-functions'
> 
> The CFLAGS and LDFLAGS parameters are what the Ubuntu package maintainers use with their bind9 packages. Are any of these necessary or helpful for building bind10?

First off, I suspect CFLAGS will be mostly ignored because we use C++.
If you want to customize compiler flags, it should be specified in
CXXFLAGS.

As for -O2, you don't have to specify it by hand because for g++ we
use it by default (in configure).

As for -fno-strict-aliasing, it's probably harmless, but I'd
personally not specify it.  In general we are trying to be much more
type safer than BIND 9 (partly because C++ generally requires so), so
the code should be basically strict-aliasing clean.  If compile fails
due to breaking strict-aliasing rule, that's probably a bug to be
fixed.

As for -Bsymbolic-functions, that probably doesn't matter much.  My
understanding is that it's basically for performance improvement, but
BIND 10 itself is not yet at performance optimization phase (we are
more focusing on correctness and clarity right now), and many parts of
the code are still less efficient.  So this level of optimization
would probably have marginal effect in terms of overall performance.

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.



More information about the bind10-users mailing list