OK. Here are some info on my icu installed, logs.

######################

cd . \
         && CONFIG_FILES=./config/icu-config.1 CONFIG_HEADERS= /bin/sh 
./config.status
config.status: creating ./config/icu-config.1
/bin/sh ./mkinstalldirs /usr/local/share/man/man1
/usr/bin/install -c -m 644 config/icu-config.1 /usr/local/share/man/man1
/usr/bin/install -c -m 644 ./config/mh-darwin
/usr/local/share/icu/4.6/config/mh-darwin
/usr/bin/install -c ./mkinstalldirs /usr/local/share/icu/4.6/mkinstalldirs
/usr/bin/install -c ./install-sh /usr/local/share/icu/4.6/install-sh
/usr/bin/install -c -m 644 ./config/icu-uc.pc ./config/icu-i18n.pc
./config/icu-io.pc ./config/icu-le.pc ./config/icu-lx.pc
/usr/local/lib/pkgconfig/
/usr/bin/install -c -m 644 ./../license.html
/usr/local/share/icu/4.6/license.html
/usr/bin/install -c ./config/icu-config /usr/local/bin/icu-config
/usr/bin/install -c -m 644 ./config/Makefile.inc
/usr/local/lib/icu/4.6/Makefile.inc
/usr/bin/install -c -m 644 ./config/pkgdata.inc
/usr/local/lib/icu/4.6/pkgdata.inc
cd /usr/local/lib/icu/4.6/..; \
            rm -f current && ln -s 4.6 current; \
            rm -f Makefile.inc && ln -s current/Makefile.inc Makefile.inc; \
            rm -f pkgdata.inc && ln -s current/pkgdata.inc pkgdata.inc
/bin/sh ./mkinstalldirs /usr/local/share/man/man1
/usr/bin/install -c -m 644 config/icu-config.1 /usr/local/share/man/man1

###################

And here is the bjam options:

./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

####################

Now, how to do I correct the above inorder to see my icu?

Thanks.

Noli

On 10/12/11, Noli Sicad <[email protected]> wrote:
> 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

Reply via email to