building on FreeBSD 10
Waitman Gobble
uzimac at da3m0n8t3r.com
Sat Feb 11 19:08:33 UTC 2012
JINMEI Tatuya / $B?@L at C#:H(B <jinmei at isc.org> wrote ..
> At Sat, 11 Feb 2012 09:35:15 -0800 (PST),
> "Waitman Gobble" <uzimac at da3m0n8t3r.com> wrote:
>
> > I'm trying to build ISC BIND 10 on FreeBSD.
> >
> > configure:PACKAGE_STRING='bind10-devel 20120127'
> >
> >
> > It's bombing out complaining about boost warnings.
> >
> >
> > cc1plus: warnings being treated as errors
> > /usr/local/include/boost/numeric/conversion/detail/meta.hpp:30: warning: comparison
> between 'enum mpl_::integral_c<boost::numeric::sign_mixture_enum, unsigned_to_unsigned>::<anonymous>'
> and 'enum mpl_::integral_c<boost::numeric::sign_mixture_enum, signed_to_signed>::<anonymous>'
>
> Where in the build did this happen?
>
> > boost-libs-1.45.0_1
> > (without Boost.Python, requirement not clear in docs or i Missed it..?)
>
> Boost.Python isn't necessary.
>
> > googletest in ports appears to be broken, it's v1.5. looks like 1.6 is available,
> maybe build outside of ports might work.
> > But I think googletest is optional for BIND 10(?)
>
> It's optional. Unless you specify --with-gtest for ./configure
> gootletest related parts will be ignored in build.
>
> There's another dependency in addition to botan, btw: log4cplus.
>
> > p00ntang# uname -a
> > FreeBSD p00ntang.waitman.net 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Sat Feb 4
> 09:08:09 PST 2012 waitman at p00ntang.waitman.net:/usr/obj/usr/src/sys/AXE i386
>
> That seems to be a bleeding edge version of FreeBSD, so there may be
> something specific to that version, but this link may provide some
> hints:
> http://bind10.isc.org/wiki/SystemNotesFreeBSD
>
> ---
> JINMEI, Tatuya
> Internet Systems Consortium, Inc.
--
Hi,
Thanks so much for your reply.
Yes of course, I forgot to put the log3cplus info in my email..
log4cplus-1.0.4
That's what's in current ports.
Here's the (almost) full build log, i think its missing the very beginning, but a bit much to post on list i think?
https://www.uzimac.com/b1o0ut.txt
Maybe I didn't really start from scratch, it could be that make distclean is leaving stuff behind. Could try deleting my whole bind10 directory and re-pulling the source. I guess that would truly be starting from scratch.. :) Also i just pulled boost-trunk from svn, to see if there are changes to
/usr/local/include/boost/numeric/conversion/detail/meta.hpp
/usr/local/include/boost/mpl/aux_/preprocessed/gcc/less.hpp
which will fix those warnings anyhow :) if that's the case I might try building boost from the latest dev snapshot to see what kind of crazy problems that makes!
I did read through that section of building on FreeBSD last night, thank you! I basically followed the FreeBSD-8 guidelines except with some changes. Kind of like this (i was keeping notes but there not yet put together and edited):
install /usr/ports/ports-mgmt/portconf
edit /usr/local/etc/ports.conf
databases/py-sqlite3: PYTHON_VERSION=python3.2
devel/py-elementtree: PYTHON_VERSION=python3.2
devel/py-setproctitle: PYTHON_VERSION=python3.2
databases/py-gdbm: PYTHON_VERSION=python3.2
databases/py-sqlite3: PYTHON_VERSION=python3.2
x11-toolkits/py-tkinter PYTHON_VERSION=python3.2
building with packages can be faster:
setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-current/Latest/
$ pkg_add -r boost-libs
$ pkg_add -r log4cplus
$ pkg_add -r sqlite3
$ pkg_add -r botan
you can install python32 using pkg_add but the problem is with py-sqlite3 i think, it's not clear about what version you are going to get with packages.
so from ports:
/usr/ports/lang/python32
/usr/ports/databases/py-sqlite3
/usr/ports/devel/py-elementtree
/usr/ports/devel/py-setproctitle
/usr/ports/security/botan
{notes need updating !}
Yeah FreeBSD 10.0-CURRENT is kinda new. But seems to be pretty stable, xfce4 is running good. and 802.11a on ath cards works fantastically!
sorry if my webmail client mangled your name.
Thank you.
Waitman Gobble
San Jose California USA
More information about the bind10-users
mailing list