Bugzilla – Bug 1381
Moving `boost`-related configuration to main wscript
Last modified: 2013-04-26 17:56:19 EDT
There is a problem when two different modules require different boost libs. Right now, openflow module checks for boost and requires "signals" and "filesystem" libraries. I have a custom module that needs another boost libraries and it is impossible to specify them without totally disabling the openflow module. The attached patch solves the problem by moving boost checking to the main wscript.
Created attachment 1346 [details] patch
The proposed patch is not totally satisfactory imho. The problem is that, if I understood it right, boost will be checked against all the boost libs required by both modules. Hence if just a subsets is present, no boost-dependent module will be built, even if its requirements are met. In other words: OpenFlow needs Boost's "signals" and "filesystem" Your module requires Boost's "iostreams" and "regex" If just ONE of those is missing, neither OpenFlow or your module will be built. Not really a nice behaviour, isn't it ? I do agree we need a fix, however the Boost check should be more flexible. T.
*** This bug has been marked as a duplicate of bug 1562 ***