Hi Richard,

To build mapnik2 you need ICU support in boost_regex. For details see :
http://trac.mapnik.org/wiki/Mapnik2

Artem

On 5 July 2011 13:28, Richard Duivenvoorde <[email protected]> wrote:
> Hi All,
>
> trying to build Mapnik2 on RHEL6 here
>
> (Mapnik 0.7.1 compiled/runs ok (though I had to copy stuff from
> /usr/local/lib64 to /usr/local/lib))
>
> Compiling Mapnik2 stops with the following error:
>
> g++ -o tests/cpp_tests/font_registration_test
> tests/cpp_tests/font_registration_test.o -Lagg -Lsrc -L/usr/local/lib
> -L/usr/local/lib64 -L/usr/lib64 -L/usr/pgsql-8.4/lib
> -lboost_filesystem-mt -lboost_regex-mt -lmapnik2 -lboost_system-mt
> src/libmapnik2.so: undefined reference to
> `boost::re_detail::icu_regex_traits_implementation::do_transform(int
> const*, int const*, icu_46::Collator const*) const'
> collect2: ld returned 1 exit status
> scons: *** [tests/cpp_tests/font_registration_test] Error 1
>
> First I configure with:
> python scons/scons.py configure INPUT_PLUGINS=all OPTIMIZATION=3
>
> but after this error I cleaned up and tried:
> python scons/scons.py configure INPUT_PLUGINS=all OPTIMIZATION=3
> SYSTEM_FONTS=/usr/share/fonts/
>
> with same error.
>
> Any ideas / tips?
>
> Regards,
>
> Richard Duivenvoorde
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users
>
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to