building on FreeBSD 10

Waitman Gobble uzimac at da3m0n8t3r.com
Wed Feb 15 17:16:58 UTC 2012


Jeremy C. Reed <jreed at isc.org> wrote ..
> On Tue, 14 Feb 2012, Waitman Gobble wrote:
> 
> > It is clear that building on CentOS 5.7 is not possible with the 
> > distribution, however is a possibility with some customization and 
> > source installs outside of the available system packages. Python3.1+ 
> > is a big worry on CentOS because it can potentially break and 
> > obliterate the package manager if not done carefully.
> 
> What errors?
> 
> What are the boost package versions in use?
> 
> We use CentOS 5.3 in our build/test farm. Within next month or so we 
> should be adding the latest Red Hat release to our build farm too.
> 
> > Anywhow, perhaps the issue is truly a documentation issue, or best 
> > left that way, the bind10-guide.txt states GCC 3.4.3+ when I think 
> > maybe it is better to say 4.3.(?) + Perhaps a typo.. dunno. Otherwise 
> 
> We do use GCC 3.4.3 in our build farm:
> 
> g++ (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
> 
> (We use several GCC versions.)

Hi,

Sorry, I'm totally not trying to be a pain and totally not trying to drag it out :). The intention was to be helpful.

The version of boost for CentOS 5.7 is 
# yum info boost | grep Version
Version    : 1.33.1
# yum info boost-devel | grep Version
Version    : 1.33.1
(Which does not meet the requirements listed in the guide.)

other info.
# uname -a
Linux p.umatar.com 2.6.18-274.18.1.el5 #1 SMP Thu Feb 9 12:45:44 EST 2012 x86_64 x86_64 x86_64 GNU/Linux

# yum info gcc | grep Version
Version    : 4.1.2
# yum info botan | grep Version
Version    : 1.8.13
# yum info sqlite | grep Version
Version    : 3.3.6


There is a log4c package but i think log4cplus is different, that would be built from source.


Of course, one can download and install newer boost, gcc, Python3, etc in order to build bind10. 
btw, The issue I described previously with python3 - Installing Python3 within /usr on CentOS5.7 can possibly 
torch yum/et al package manager. That's what I understand the reason as to why there is no 'official'
Python3 package available for CentOS 5.x... 

I have one production CentOS 5.7 server that is totally stock and another CentOS 5.7 dev/messing around 
server that is very 'custom' running gcc 4.6.2, with many other components updated.. the 'custom' version will 
build bind10 without any trouble. But the process of bootstrapping gcc4.1 to a source build of gcc 4.6.2 
is hmmmmm kind of long and complicated. :) 5.7 is possibly not optimal however best (IMHO) overall option 
available from the hardware vendor when I set the machines up a couple of months ago.

I have not recently used gcc 3.4.3, but only based on what I can find online and my own experiences, any 
version of gcc less than 4.3 is *possibly (And maybe likely) going to cause at least one warning when compiling 
software which uses boost libraries. With -Werror set in the bind10 makefile it will stop the build at 
the first warning. There is an 'accepted' way of muting the couple of warnings coming out of boost 
for restrictive -Werror builds, which is described in my previous email. The other option is to 
remove -Werror from the makefile. But getting down to the nitty-gritty, building something 
which causes warnings is probably not totally sane, at least in theory, it's better not to 
have warnings.

-- 
Waitman Gobble
San Jose California USA


More information about the bind10-users mailing list