Allright, I finally got it compiled. I used the boost version 1.42 from svn
repository and this worked fine.
As soon as I got it running, I ll post a "HowTo Install on Suse Linux
Enterprise 10.2"...

Thanks a lot for your help so far!

On Thu, Jan 7, 2010 at 4:22 PM, Dane Springmeyer <[email protected]> wrote:

> This one is a Boost 1.41 bug, that can be fixed with a single small patch
> to a boost header file (and you likely don't need to recompile boost
> afterword).
>
> See this email for the patch:
> http://www.mail-archive.com/[email protected]/msg01909.html
>
> It can also be seen in use on this page:
> http://trac.mapnik.org/wiki/Mapnik2
>
> Dane
>
>
>
> On Jan 7, 2010, at 5:13 AM, Dom Lehr wrote:
>
> I fixed my previous issue by installing boost-devel, unfortunately, I get
> the following now:
>
>
> scons: Building targets ...
> g++ -o plugins/input/shape/shape.os -c -DHAVE_LIBXML2 -DHAVE_PYCAIRO -ansi
> -Wall -pthread -ftemplate-depth-200 -DLINUX -DBOOST_SPIRIT_THREADSAFE
> -DMAPNIK_THREADSAFE -DSVN_REVISION=1514 -O2 -finline-functions -Wno-inline
> -DNDEBUG -DSHAPE_MEMORY_MAPPED_FILE -fPIC -Iagg/include -Iinclude -I.
> -I/usr/include -I/usr/local/include -I/usr/include/unicode
> -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/pycairo
> -I/usr/include/cairo -I/usr/X11R6/include -I/usr/include/libpng12
> plugins/input/shape/shape.cpp
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:43: error:
> redefinition of ‘class boost::iostreams::mapped_file_base’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:43: error:
> previous definition of ‘class boost::iostreams::mapped_file_base’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:78: error:
> redefinition of ‘struct boost::iostreams::detail::mapped_file_params_base’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:78: error:
> previous definition of ‘struct
> boost::iostreams::detail::mapped_file_params_base’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:105: error:
> redefinition of ‘struct boost::iostreams::basic_mapped_file_params<Path>’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:107: error:
> previous definition of ‘struct
> boost::iostreams::basic_mapped_file_params<Path>’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:145: error:
> redefinition of ‘class boost::iostreams::mapped_file_source’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:145: error:
> previous definition of ‘class boost::iostreams::mapped_file_source’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:219: error:
> redefinition of ‘class boost::iostreams::mapped_file’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:219: error:
> previous definition of ‘class boost::iostreams::mapped_file’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:322: error:
> redefinition of ‘class boost::iostreams::mapped_file_sink’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:322: error:
> previous definition of ‘class boost::iostreams::mapped_file_sink’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:382: error:
> redefinition of
> ‘boost::iostreams::mapped_file_source::mapped_file_source(const
> boost::iostreams::basic_mapped_file_params<Path>&)’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:382: error:
> ‘boost::iostreams::mapped_file_source::mapped_file_source(const
> boost::iostreams::basic_mapped_file_params<Path>&)’ previously declared here
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:387: error:
> redefinition of
> ‘boost::iostreams::mapped_file_source::mapped_file_source(const Path&,
> size_t, intmax_t)’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:387: error:
> ‘boost::iostreams::mapped_file_source::mapped_file_source(const Path&,
> size_t, intmax_t)’ previously declared here
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:391: error:
> redefinition of ‘void boost::iostreams::mapped_file_source::open(const
> boost::iostreams::basic_mapped_file_params<Path>&)’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:391: error: ‘void
> boost::iostreams::mapped_file_source::open(const
> boost::iostreams::basic_mapped_file_params<Path>&)’ previously declared here
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:407: error:
> redefinition of ‘void boost::iostreams::mapped_file_source::open(const
> Path&, size_t, intmax_t)’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:407: error: ‘void
> boost::iostreams::mapped_file_source::open(const Path&, size_t, intmax_t)’
> previously declared here
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:418: error:
> redefinition of ‘boost::iostreams::mapped_file::mapped_file(const
> boost::iostreams::basic_mapped_file_params<Path>&)’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:418: error:
> ‘boost::iostreams::mapped_file::mapped_file(const
> boost::iostreams::basic_mapped_file_params<Path>&)’ previously declared here
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:424: error:
> redefinition of ‘boost::iostreams::mapped_file::mapped_file(const Path&,
> boost::iostreams::mapped_file_base::mapmode, size_t,
> boost::iostreams::stream_offset)’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:424: error:
> ‘boost::iostreams::mapped_file::mapped_file(const Path&,
> boost::iostreams::mapped_file_base::mapmode, size_t,
> boost::iostreams::stream_offset)’ previously declared here
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:430: error:
> redefinition of ‘boost::iostreams::mapped_file::mapped_file(const Path&,
> std::_Ios_Openmode, size_t, boost::iostreams::stream_offset)’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:430: error:
> ‘boost::iostreams::mapped_file::mapped_file(const Path&, std::_Ios_Openmode,
> size_t, boost::iostreams::stream_offset)’ previously declared here
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:434: error:
> redefinition of ‘void boost::iostreams::mapped_file::open(const
> boost::iostreams::basic_mapped_file_params<Path>&)’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:434: error: ‘void
> boost::iostreams::mapped_file::open(const
> boost::iostreams::basic_mapped_file_params<Path>&)’ previously declared here
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:440: error:
> redefinition of ‘void boost::iostreams::mapped_file::open(const Path&,
> boost::iostreams::mapped_file_base::mapmode, size_t,
> boost::iostreams::stream_offset)’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:440: error: ‘void
> boost::iostreams::mapped_file::open(const Path&,
> boost::iostreams::mapped_file_base::mapmode, size_t,
> boost::iostreams::stream_offset)’ previously declared here
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:452: error:
> redefinition of ‘void boost::iostreams::mapped_file::open(const Path&,
> std::_Ios_Openmode, size_t, boost::iostreams::stream_offset)’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:452: error: ‘void
> boost::iostreams::mapped_file::open(const Path&, std::_Ios_Openmode, size_t,
> boost::iostreams::stream_offset)’ previously declared here
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:461: error:
> redefinition of ‘char* boost::iostreams::mapped_file::data() const’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:461: error:
> ‘char* boost::iostreams::mapped_file::data() const’ previously defined here
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:467: error:
> redefinition of ‘boost::iostreams::mapped_file_sink::mapped_file_sink(const
> boost::iostreams::basic_mapped_file_params<Path>&)’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:467: error:
> ‘boost::iostreams::mapped_file_sink::mapped_file_sink(const
> boost::iostreams::basic_mapped_file_params<Path>&)’ previously declared here
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:473: error:
> redefinition of ‘boost::iostreams::mapped_file_sink::mapped_file_sink(const
> Path&, size_t, intmax_t, boost::iostreams::mapped_file_base::mapmode)’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:473: error:
> ‘boost::iostreams::mapped_file_sink::mapped_file_sink(const Path&, size_t,
> intmax_t, boost::iostreams::mapped_file_base::mapmode)’ previously declared
> here
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:477: error:
> redefinition of ‘void boost::iostreams::mapped_file_sink::open(const
> boost::iostreams::basic_mapped_file_params<Path>&)’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:477: error: ‘void
> boost::iostreams::mapped_file_sink::open(const
> boost::iostreams::basic_mapped_file_params<Path>&)’ previously declared here
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:494: error:
> redefinition of ‘void boost::iostreams::mapped_file_sink::open(const Path&,
> size_t, intmax_t, boost::iostreams::mapped_file_base::mapmode)’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:494: error: ‘void
> boost::iostreams::mapped_file_sink::open(const Path&, size_t, intmax_t,
> boost::iostreams::mapped_file_base::mapmode)’ previously declared here
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:506: error:
> redefinition of ‘struct
> boost::iostreams::operations<boost::iostreams::mapped_file_source>’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:508: error:
> previous definition of ‘struct
> boost::iostreams::operations<boost::iostreams::mapped_file_source>’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:518: error:
> redefinition of ‘struct
> boost::iostreams::operations<boost::iostreams::mapped_file>’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:520: error:
> previous definition of ‘struct
> boost::iostreams::operations<boost::iostreams::mapped_file>’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:534: error:
> redefinition of ‘struct
> boost::iostreams::operations<boost::iostreams::mapped_file_sink>’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:536: error:
> previous definition of ‘struct
> boost::iostreams::operations<boost::iostreams::mapped_file_sink>’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp: In function
> ‘boost::iostreams::mapped_file_base::mapmode
> boost::iostreams::operator|(boost::iostreams::mapped_file_base::mapmode,
> boost::iostreams::mapped_file_base::mapmode)’:
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:547: error:
> redefinition of ‘boost::iostreams::mapped_file_base::mapmode
> boost::iostreams::operator|(boost::iostreams::mapped_file_base::mapmode,
> boost::iostreams::mapped_file_base::mapmode)’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:547: error:
> ‘boost::iostreams::mapped_file_base::mapmode
> boost::iostreams::operator|(boost::iostreams::mapped_file_base::mapmode,
> boost::iostreams::mapped_file_base::mapmode)’ previously defined here
> /usr/local/include/boost/iostreams/device/mapped_file.hpp: In function
> ‘boost::iostreams::mapped_file_base::mapmode
> boost::iostreams::operator&(boost::iostreams::mapped_file_base::mapmode,
> boost::iostreams::mapped_file_base::mapmode)’:
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:554: error:
> redefinition of ‘boost::iostreams::mapped_file_base::mapmode
> boost::iostreams::operator&(boost::iostreams::mapped_file_base::mapmode,
> boost::iostreams::mapped_file_base::mapmode)’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:554: error:
> ‘boost::iostreams::mapped_file_base::mapmode
> boost::iostreams::operator&(boost::iostreams::mapped_file_base::mapmode,
> boost::iostreams::mapped_file_base::mapmode)’ previously defined here
> /usr/local/include/boost/iostreams/device/mapped_file.hpp: In function
> ‘boost::iostreams::mapped_file_base::mapmode
> boost::iostreams::operator^(boost::iostreams::mapped_file_base::mapmode,
> boost::iostreams::mapped_file_base::mapmode)’:
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:561: error:
> redefinition of ‘boost::iostreams::mapped_file_base::mapmode
> boost::iostreams::operator^(boost::iostreams::mapped_file_base::mapmode,
> boost::iostreams::mapped_file_base::mapmode)’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:561: error:
> ‘boost::iostreams::mapped_file_base::mapmode
> boost::iostreams::operator^(boost::iostreams::mapped_file_base::mapmode,
> boost::iostreams::mapped_file_base::mapmode)’ previously defined here
> /usr/local/include/boost/iostreams/device/mapped_file.hpp: In function
> ‘boost::iostreams::mapped_file_base::mapmode
> boost::iostreams::operator~(boost::iostreams::mapped_file_base::mapmode)’:
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:568: error:
> redefinition of ‘boost::iostreams::mapped_file_base::mapmode
> boost::iostreams::operator~(boost::iostreams::mapped_file_base::mapmode)’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:568: error:
> ‘boost::iostreams::mapped_file_base::mapmode
> boost::iostreams::operator~(boost::iostreams::mapped_file_base::mapmode)’
> previously defined here
> /usr/local/include/boost/iostreams/device/mapped_file.hpp: In function
> ‘boost::iostreams::mapped_file_base::mapmode
> boost::iostreams::operator|=(boost::iostreams::mapped_file_base::mapmode&,
> boost::iostreams::mapped_file_base::mapmode)’:
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:574: error:
> redefinition of ‘boost::iostreams::mapped_file_base::mapmode
> boost::iostreams::operator|=(boost::iostreams::mapped_file_base::mapmode&,
> boost::iostreams::mapped_file_base::mapmode)’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:574: error:
> ‘boost::iostreams::mapped_file_base::mapmode
> boost::iostreams::operator|=(boost::iostreams::mapped_file_base::mapmode&,
> boost::iostreams::mapped_file_base::mapmode)’ previously defined here
> /usr/local/include/boost/iostreams/device/mapped_file.hpp: In function
> ‘boost::iostreams::mapped_file_base::mapmode
> boost::iostreams::operator&=(boost::iostreams::mapped_file_base::mapmode&,
> boost::iostreams::mapped_file_base::mapmode)’:
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:580: error:
> redefinition of ‘boost::iostreams::mapped_file_base::mapmode
> boost::iostreams::operator&=(boost::iostreams::mapped_file_base::mapmode&,
> boost::iostreams::mapped_file_base::mapmode)’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:580: error:
> ‘boost::iostreams::mapped_file_base::mapmode
> boost::iostreams::operator&=(boost::iostreams::mapped_file_base::mapmode&,
> boost::iostreams::mapped_file_base::mapmode)’ previously defined here
> /usr/local/include/boost/iostreams/device/mapped_file.hpp: In function
> ‘boost::iostreams::mapped_file_base::mapmode
> boost::iostreams::operator^=(boost::iostreams::mapped_file_base::mapmode&,
> boost::iostreams::mapped_file_base::mapmode)’:
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:586: error:
> redefinition of ‘boost::iostreams::mapped_file_base::mapmode
> boost::iostreams::operator^=(boost::iostreams::mapped_file_base::mapmode&,
> boost::iostreams::mapped_file_base::mapmode)’
> /usr/local/include/boost/iostreams/device/mapped_file.hpp:586: error:
> ‘boost::iostreams::mapped_file_base::mapmode
> boost::iostreams::operator^=(boost::iostreams::mapped_file_base::mapmode&,
> boost::iostreams::mapped_file_base::mapmode)’ previously defined here
> scons: *** [plugins/input/shape/shape.os] Error 1
> scons: building terminated because of errors.
>
>
> Thanks again for all this help!
>
> Dom
>
> On Thu, Jan 7, 2010 at 1:20 PM, Dom Lehr <[email protected]>wrote:
>
>> It would have been too nice...
>>
>> I got another error:
>> bindings/python/mapnik_polygon_symbolizer.os -Lagg -Lsrc -L/usr/lib64
>> -L/usr/local/lib64 -L/usr/local/lib64 -L/usr/local/lib -lmapnik -lpng -ljpeg
>> -lboost_python
>> /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
>> cannot find -lboost_python
>> collect2: ld returned 1 exit status
>> scons: *** [bindings/python/_mapnik.so] Error 1
>> scons: building terminated because of errors.
>>
>> I installed boost 1.41 from the rpm package and installed Python version
>> 2.4. It seems to me as if there's a library file missing, but I'm not really
>> "big" with these things, so I honestly have no clue what to do with this
>> error...
>>
>> Thanks in advance!
>>
>> Dom
>>
>>
>>
>> On Thu, Jan 7, 2010 at 12:49 PM, Dom Lehr <[email protected]>wrote:
>>
>>> got it! Thanks... I ll post my "install HowTo" when I m done, cuz there's
>>> still one missing for Suse Linux at the official webpage...
>>>
>>>
>>> On Thu, Jan 7, 2010 at 12:07 PM, Artem Pavlenko <[email protected]>wrote:
>>>
>>>> You can get source from :
>>>> http://icu-project.org/download/4.2.html#ICU4C
>>>>
>>>> Regards,
>>>> Artem
>>>>
>>>> 2010/1/7 Dom Lehr <[email protected]>:
>>>> > Hi Artem,
>>>> >
>>>> > that s what I thought too. I'm running Suse Linux Enterprise Server
>>>> 10.2 and
>>>> > I can't find ICU library version 4.2 for this specific version. Any
>>>> ideas?
>>>> >
>>>> > thanks!
>>>> >
>>>> > On Thu, Jan 7, 2010 at 12:00 PM, Artem Pavlenko <[email protected]>
>>>> wrote:
>>>> >>
>>>> >> Hi Dom,
>>>> >>
>>>> >> 2010/1/7 Dom Lehr <[email protected]>:
>>>> >> > Hey guys,
>>>> >> >
>>>> >> > I'm down to one error while compiling Mapnik. This is it:
>>>> >> >
>>>> >> > src/expression_string.cpp: In member function ‘void
>>>> >> > mapnik::expression_string::operator()(const
>>>> mapnik::regex_match_node&)
>>>> >> > const’:
>>>> >> > src/expression_string.cpp:79: error: ‘fromUTF32’ is not a member of
>>>> >> > ‘icu_3_4::UnicodeString’
>>>> >>
>>>> >> Looks like you need to update ICU library, I'm using 4.2 on OS X.
>>>> >> What platform are you using, it should be straight forward to compile
>>>> >> from source :
>>>> >>
>>>> >> ./configure
>>>> >> make && make installl
>>>> >>
>>>> >> >
>>>> >> > Thanks,
>>>> >> >
>>>> >> > Dom
>>>> >> >
>>>> >> Regards,
>>>> >> Artem
>>>> >>
>>>> >> >
>>>> >> > _______________________________________________
>>>> >> > 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
>
>
>
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to