[bind10-dev] FreeBSD port for BIND 10 available for testing

Dan Mahoney dmahoney at isc.org
Fri Sep 30 23:03:59 UTC 2011



On Fri, 30 Sep 2011, Michael Sinatra wrote:

> On 09/30/11 12:28, Francis Dupont wrote:
> > > ===>   Configuring for botan-1.8.11
> > >    File "./configure.py", line 613
> > >      except KeyError, e:
> > >                     ^
> > > SyntaxError: invalid syntax
> > 
> > =>  there is no mystery: botan requires a python 2 for its configuration
> > and the script is run by a python 3. BTW the fix is easy: hack the botan
> > config to use python 2.

On the botan site, it claims that you can in fact run the configure script 
with python's 2to3 script -- I would suggest filing a ports bug to have 
them do this if the system python is "3", instead of pulling in python2.  
This is probably also a trivial patch for someone more familiar with 
makefiles than myself, to submit with the PR.
 
> I simply installed both python 2.7 and python 3.1 before building the port and
> it compiled fine.  I was able to get BIND10 to build on a FreeBSD 9.0-BETA3
> system using llvm/clang as the compiler.  One of the dependencies (log4cplus)
> wouldn't build under clang, so I "downgraded" to gcc/g++ for that dependency
> only.

The benefits of having python2.7 on a system JUST to run a configure 
script are dubious at best, plus the added complication of having two full 
pythons installed, plus the extra build time.

-Dan



More information about the bind10-users mailing list