[Boost-bugs] [Boost C++ Libraries] #6529: Build process ignores --with-icu path on some icu tests?

Subject: [Boost-bugs] [Boost C++ Libraries] #6529: Build process ignores --with-icu path on some icu tests?
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-02-06 21:19:57


#6529: Build process ignores --with-icu path on some icu tests?
---------------------------------+------------------------------------------
 Reporter: hashashin@… | Owner: vladimir_prus
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: build
  Version: Boost 1.49.0 | Severity: Showstopper
 Keywords: build, icu |
---------------------------------+------------------------------------------
 When bootstrap.sh --with-icu=/usr/local/Cellar/icu4c/1.8.1.1, I get in the
 logs:


 1) when testing 'has_icu'

 darwin.compile.c++
 bin.v2/libs/regex/build/darwin-4.2.1/debug/has_icu_test.o

     "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -pedantic -g
 -dynamic -no-cpp-precomp -gdwarf-2 -fexceptions -fPIC
 -DBOOST_ALL_NO_LIB=1 -DBOOST_HAS_ICU=1 -I"."
 -I"/usr/local/Cellar/icu4c/1.8.1.1/include" -c -o
 "bin.v2/libs/regex/build/darwin-4.2.1/debug/has_icu_test.o"
 "libs/regex/build/has_icu_test.cpp"

 Note the -I flag with my icu path.

 2) Later, in the same config.log, I see:

 darwin.compile.c++
 bin.v2/libs/locale/build/darwin-4.2.1/debug/has_icu_obj.o

     "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -dynamic -no-cpp-
 precomp -gdwarf-2 -fexceptions -fPIC -DBOOST_ALL_NO_LIB=1 -I"." -c -o
 "bin.v2/libs/locale/build/darwin-4.2.1/debug/has_icu_obj.o"
 "libs/locale/src/../build/has_icu_test.cpp"

 libs/locale/src/../build/has_icu_test.cpp:12:30: error:
 unicode/uversion.h: No such file or directory

 Note that in this g++ line there is no -I flag with my icu path.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6529>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:08 UTC