Apache OpenOffice (AOO) Bugzilla – Issue 125363
Configure script should have option to specify boost path
Last modified: 2014-08-06 23:45:26 UTC
Currently configure search for boost headers only in /usr/include. It should have option to allow specifying arbitrary location (e.g. /usr/g++/include).
configure.in does not seem to specify the base path as /usr/include. It looks more that all include paths are searched for one that contains boost/shared_ptr.hpp (configure.in:4594). If that is true then it might be sufficient to adapt the include path. But making the boost include path configurable would not be a bad idea.
If I just add -I/usr/g++/include to CPPFLAGS , this breaks icu build as it finds icu headers in /usr/g++/include (as reported in https://issues.apache.org/ooo/show_bug.cgi?id=125371 icu build is not safe in presence of icu on the build system - it tries to use system headers/libraries while building/linking new icu version).
(In reply to Andre from comment #1) > configure.in does not seem to specify the base path as /usr/include. It > looks more that all include paths are searched for one that contains > boost/shared_ptr.hpp (configure.in:4594). If that is true then it might be > sufficient to adapt the include path. > > But making the boost include path configurable would not be a bad idea. It would be an excellent idea! I had a lot of problems with using local boost as well and finally gave up on this. I tried adding to the include path but still had problems. Should we change this one to confirmed?