[bind10-dev] how to build boost libraries on FreeBSD and MacOS X

Jelte Jansen jelte at isc.org
Tue Mar 23 11:15:01 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/23/2010 11:55 AM, zhanglikun wrote:
>>
>> but it fails on linker errors if you do ./configure --without-boost-system
>>
>> I'm not sure what should be the behaviour here, fail at configure? not
>> build xfrout? (with warning) or can this be done in any way without it?
> 
> 
> Try to do like this one(it works on my machine.):
> ./configure --with-pythonpath=/usr/local/bin/python3.1 --with-boost-lib=/usr/local/lib/ --with-boost-system --with-boost-python
> 
> --with-pythonpath is mostly important, if you have installed several python version.
> 

that's not my problem, I can get it to compile, in fact with all default
options it compiles just fine, at least on my system.

What I'm asking here is what configure should do if you specify
- --without-boost-lib or --without-boost-system

Currently it'll fail during build (for --without-boost-lib because it
naively included 'libno' now, and for --without-boost-system it'll fail
with unresolved symbols), which is certainly wrong.

Are we making boost libs mandatory? If so, should we remove all
non-boostlib usage from the source? (while i'm wary of having this
run-time dependency added, esp. on something as changeable as boost, i'd
love to get all the ifdefs out if they're not absolutely completely
necessary)

Jelte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuoorQACgkQ4nZCKsdOncVVcgCgh3OkVXJznDXdp7N7DzImm4EP
W8AAnRuHfGrpnpRTVjXZvqNLjf6zQzKe
=xn9Y
-----END PGP SIGNATURE-----



More information about the bind10-dev mailing list