id summary reporter owner description type status milestone component version severity resolution keywords cc 2437 regex library build failure on FreeBSD machines pisymbol@… John Maddock "In boost/libs/regex/build/Jamfile.v2, if ICU is installed in /usr/local/include we fail to set the BOOST_REGEX_ICU_OPTS and ICU_SEARCH_OPTS which breaks the build. The above code is assuming gcc will look at /usr/local/include and /usr/local/lib as during compilation which is NOT true at least on FreeBSD. I've suggested to remove the /usr/local/include but it seems this may break some Linux builds. Instead the following patch will allow regex lib to build properly: --- Jamfile.v2 2008-10-26 12:28:06.000000000 -0400 +++ Jamfile.v2.patch 2008-10-26 12:26:57.000000000 -0400 @@ -185,6 +185,7 @@ if $(gHAS_ICU) { BOOST_REGEX_ICU_OPTS = ""freebsd:/usr/local/include"" ; + ICU_SEARCH_OPTS = ""freebsd:/$(ICU_PATH)/lib"" ; BOOST_REGEX_ICU_OPTS += ""BOOST_HAS_ICU=1"" ; if $(ICU_PATH) " Bugs closed Boost 1.37.0 regex Boost Development Trunk Problem fixed