Boost C++ Libraries: Ticket #12132: ubuntu 64 bit icu detaction fails https://svn.boost.org/trac10/ticket/12132 <p> bootstrap.sh code regarding icu presence looks like this </p> <pre class="wiki"> $ECHO -n "Unicode/ICU support for Boost.Regex?... " 295 if test "x$flag_icu" != xno; then 296 if test "x$ICU_ROOT" = x; then 297 COMMON_ICU_PATHS="/usr /usr/local /sw" 298 for p in $COMMON_ICU_PATHS; do 299 if test -r $p/include/unicode/utypes.h; then 300 ICU_ROOT=$p </pre><p> however on my 64 bit ubuntu 15.10 utypes.h is located here </p> <pre class="wiki">konst@konst:~/work/DUP/petra-one/boost/boost_1_60_0&gt; locate utypes.h /usr/include/x86_64-linux-gnu/unicode/utypes.h </pre><p> it even doesn't have a form of $p/include/unicode/utypes.h and thus it is not possible to provide path to icu manually </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12132 Trac 1.4.3 John Maddock Mon, 16 May 2016 17:44:10 GMT component changed; owner set https://svn.boost.org/trac10/ticket/12132#comment:1 https://svn.boost.org/trac10/ticket/12132#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">John Maddock</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">regex</span> </li> </ul> Ticket John Maddock Thu, 09 Jun 2016 10:17:19 GMT <link>https://svn.boost.org/trac10/ticket/12132#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12132#comment:2</guid> <description> <p> That's where that file is for me on Ubuntu and the build finds it just fine. </p> <p> Can you: </p> <p> cd into libs/regex/build run ../../../b2 --reconfigure toolset=gcc </p> <p> At this point you should see: </p> <ul><li>has_icu builds - yes </li></ul><p> near the start of the compilation, if not, then go to the file: </p> <p> boost-root/bin.v2/config.log </p> <p> which will contain the actual error messages from the failed configuration. My guess is that utypes.h is not in your compilers search paths for some reason, but we'll see... </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Tue, 14 Jun 2016 22:43:33 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/12132#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12132#comment:3</guid> <description> <p> This way it works. However this not the default action. </p> <pre class="wiki">konst@misha:~/work/boost_1_60_0$ ./bootstrap.sh --with-icu Building Boost.Build engine with toolset gcc... tools/build/src/engine/bin.linuxx86_64/b2 Detecting Python version... 2.7 Detecting Python root... /usr Unicode/ICU support for Boost.Regex?... not found. Generating Boost.Build configuration in project-config.jam... Bootstrapping is done. To build, run: ./b2 To adjust configuration, edit 'project-config.jam'. Further information: - Command line help: ./b2 --help - Getting started guide: http://www.boost.org/more/getting_started/unix-variants.html - Boost.Build documentation: http://www.boost.org/build/doc/html/index.html konst@misha:~/work/boost_1_60_0$ cd libs/regex/build ; ../../../b2 --reconfigure toolset=gcc Performing configuration checks - 32-bit : no - 64-bit : yes - arm : no - mips1 : no - power : no - sparc : no - x86 : yes - symlinks supported : yes - has_icu builds : yes ...patience... ...found 600 targets... ...updating 18 targets... gcc.compile.c++ ../../../bin.v2/libs/regex/build/gcc-4.9.2/debug/c_regex_traits.o gcc.compile.c++ ../../../bin.v2/libs/regex/build/gcc-4.9.2/debug/cpp_regex_traits.o </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Tue, 23 Jan 2018 21:33:16 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/12132#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12132#comment:4</guid> <description> <p> Same problem here on Linux Mint; detection fails during bootstrap, but --reconfigure works </p> </description> <category>Ticket</category> </item> </channel> </rss>