Hi, I am trying to compile mapnik for Mac OS X 10.6.4. But before that I need to compile icu and boost with icu.
I did icu. It went fine. Then, boost 1.46.1 could not find icu (see errors below). http://trac.mapnik.org/wiki/Mapnik2 How do I fix this? This one does not work. sudo ./bjam --with-regex toolset=gcc -sHAVE_ICU=1 -sICU_PATH=/usr/local -a install I did not proceed to compile mapnik 2 yet. Waiting for some advice. Thanks. Noli ################################ localhost:boost_1_46_1 noli$ ./bjam --with-thread --with-filesystem --with-iostreams --with-python --with-regex -sHAVE_ICU=1 -sICU_PATH=/usr/local --with-program_options --with-system link=shared toolset=gcc stage ...found 66 targets... ...updating 8 targets... common.mkdir bin.v2 common.mkdir bin.v2/libs common.mkdir bin.v2/libs/regex common.mkdir bin.v2/libs/regex/build common.mkdir bin.v2/libs/regex/build/gcc common.mkdir bin.v2/libs/regex/build/gcc/debug gcc.compile.c++ bin.v2/libs/regex/build/gcc/debug/has_icu_test.o /bin/sh: line 1: -ftemplate-depth-128: command not found -ftemplate-depth-128 -O0 -fno-inline -Wall -pedantic -g -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_HAS_ICU=1 -I"." -I"/usr/local/include" -c -o "bin.v2/libs/regex/build/gcc/debug/has_icu_test.o" "libs/regex/build/has_icu_test.cpp" ...failed gcc.compile.c++ bin.v2/libs/regex/build/gcc/debug/has_icu_test.o... ...skipped <pbin.v2/libs/regex/build/gcc/debug>has_icu for lack of <pbin.v2/libs/regex/build/gcc/debug>has_icu_test.o... ...failed updating 1 target... ...skipped 1 target... ...updated 6 targets... Performing configuration checks - has_icu builds : no Component configuration: - date_time : not building - filesystem : building - graph : not building - graph_parallel : not building - iostreams : building - math : not building - mpi : not building - program_options : building - python : building - random : not building - regex : building - serialization : not building - signals : not building - system : building - test : not building - thread : building - wave : not building ...patience... ...patience... ...found 2590 targets... ...updating 125 targets... common.mkdir stage common.mkdir stage/lib common.mkdir bin.v2/libs/python common.mkdir bin.v2/libs/python/build common.mkdir bin.v2/libs/python/build/gcc common.mkdir bin.v2/libs/python/build/gcc/release common.mkdir bin.v2/libs/python/build/gcc/release/threading-multi gcc.compile.c++ bin.v2/libs/python/build/gcc/release/threading-multi/numeric.o /bin/sh: line 1: -ftemplate-depth-128: command not found -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DNDEBUG -I"." -I"/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6" -c -o "bin.v2/libs/python/build/gcc/release/threading-multi/numeric.o" "libs/python/src/numeric.cpp" ...failed gcc.compile.c++ bin.v2/libs/python/build/gcc/release/threading-multi/numeric.o... gcc.compile.c++ bin.v2/libs/python/build/gcc/release/threading-multi/list.o /bin/sh: line 1: -ftemplate-depth-128: command not found -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DNDEBUG -I"." -I"/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6" -c -o "bin.v2/libs/python/build/gcc/release/threading-multi/list.o" "libs/python/src/list.cpp" ...failed gcc.compile.c++ bin.v2/libs/python/build/gcc/release/threading-multi/list.o... gcc.compile.c++ bin.v2/libs/python/build/gcc/release/threading-multi/long.o /bin/sh: line 1: -ftemplate-depth-128: command not found _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

