Well the ICU libs are used for the unicode crap, which is why I m not 100%
sure if your error aren't related to ICU as well.. Anyways, I m not a pro...
;-)

Since these are plenty of boost related issues, check if you got all the
boost lib files in whatever path you tell scons. The bjam stuff has some
weird behavior (at least on my computer), on my end it didn t compile all
the needed stuff besides the stuff you told it as options (--with ....). So
try running bjam again (like this ./bjam toolset=gcc -sNO_BZIP2=1
-sHAVE_ICU=1-sICU_PATH=/usr/local/ -a instal) after you did the previous
command..

Otherwise I have no clue...

On Sun, Jan 17, 2010 at 4:40 PM, Michael Friis <[email protected]> wrote:

> Thanks for the response.
>
> > I assume your are running Ubuntu.. What version? I had some issues on
> SLES
> > 10 64 bit, that looked kinda familiar.
> Ubuntu 9.10 x86
>
> >  Try compiling it with boost version 1.42. So far I know that was an
> error
> > with boost version 1.41, where did you get version 1.41 source from?
> > Anyways, svn co http://svn.boost.org/svn/boost/trunk boost-trunk will
> give
> > you the latest version which works fine. Make sure you compile all
> > neccessary dependencies (modules)... something like
> > "./bjam --with-regex --with-iostreams --with-filesystem --with-thread
> > --with-python=/usr/lib64/python2.5 toolset=gcc -sNO_BZIP2=1 -sHAVE_ICU=1
> > -sICU_PATH=/usr/local/ -a install" should do. You gotta change the paths
> > tho...
> Done, except for the python stuff (I run 2.6).
>
> > Additionally, check you ICU (unicode) version. I'm running 4.2.x and
> > encountered issues with the previous version.
> I'm running 4.3.3. ICU issues also results in different errors, I think.
>
> The compile gets further with boost 1.42, but oddly exits with a
> similar-looking error (both mapnik trunk and 0.7):
> g++ -o utils/shapeindex/shapeindex utils/shapeindex/shapeindex.o
> src/envelope.o
> plugins/input/shape/shapefile.o -Lagg -Lsrc -L/usr/lib -L/usr/local/lib
> -lboost_
> program_options -lboost_iostreams -lboost_filesystem
> utils/shapeindex/shapeindex.o: In function `T.2443':
> shapeindex.cpp:(.text+0x13b): undefined reference to
> `boost::program_options::va
>
> lidation_error::validation_error(boost::program_options::validation_error::kind_
> t, std::basic_string<char, std::char_traits<char>, std::allocator<char> >
> const&
> , std::basic_string<char, std::char_traits<char>, std::allocator<char> >
> const&)
> '
> shapeindex.cpp:(.text+0x199): undefined reference to
> `boost::program_options::va
>
> lidation_error::validation_error(boost::program_options::validation_error::kind_
> t, std::basic_string<char, std::char_traits<char>, std::allocator<char> >
> const&
> , std::basic_string<char, std::char_traits<char>, std::allocator<char> >
> const&)
> '
> utils/shapeindex/shapeindex.o: In function `main':
> shapeindex.cpp:(.text+0x302): undefined reference to
> `boost::program_options::op
> tions_description::options_description(std::basic_string<char,
> std::char_traits<
> char>, std::allocator<char> > const&, unsigned int, unsigned int)'
> utils/shapeindex/shapeindex.o: In function `std::basic_string<char,
> std::char_tr
> aits<char>, std::allocator<char> > const&
> boost::program_options::validators::ge
> t_single_string<char>(std::vector<std::basic_string<char,
> std::char_traits<char>
> , std::allocator<char> >, std::allocator<std::basic_string<char,
> std::char_trait
> s<char>, std::allocator<char> > > > const&, bool)':
>
> shapeindex.cpp:(.text._ZN5boost15program_options10validators17get_single_stringI
>
> cEERKSbIT_St11char_traitsIS3_ESaIS3_EERKSt6vectorIS7_SaIS7_EEb[std::basic_string
> <char, std::char_traits<char>, std::allocator<char> > const&
> boost::program_opti
> ons::validators::get_single_string<char>(std::vector<std::basic_string<char,
> std
> ::char_traits<char>, std::allocator<char> >,
> std::allocator<std::basic_string<ch
> ar, std::char_traits<char>, std::allocator<char> > > > const&,
> bool)]+0x80): und
> efined reference to
> `boost::program_options::validation_error::validation_error(
> boost::program_options::validation_error::kind_t, std::basic_string<char,
> std::c
> har_traits<char>, std::allocator<char> > const&, std::basic_string<char,
> std::ch
> ar_traits<char>, std::allocator<char> > const&)'
>
> shapeindex.cpp:(.text._ZN5boost15program_options10validators17get_single_stringI
>
> cEERKSbIT_St11char_traitsIS3_ESaIS3_EERKSt6vectorIS7_SaIS7_EEb[std::basic_string
> <char, std::char_traits<char>, std::allocator<char> > const&
>
> boost::program_options::validators::get_single_string<char>(std::vector<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >,
> std::allocator<std::basic_string<char, std::char_traits<char>,
> std::allocator<char> > > > const&, bool)]+0x14b): undefined reference
> to
> `boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t,
> std::basic_string<char, std::char_traits<char>, std::allocator<char> >
> const&, std::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&)'
> utils/shapeindex/shapeindex.o: In function `void
>
> boost::iostreams::mapped_file_source::open<boost::iostreams::detail::path>(boost::iostreams::basic_mapped_file_params<boost::iostreams::detail::path>
> const&)':
>
> shapeindex.cpp:(.text._ZN5boost9iostreams18mapped_file_source4openINS0_6detail4pathEEEvRKNS0_24basic_mapped_file_paramsIT_EE[void
>
> boost::iostreams::mapped_file_source::open<boost::iostreams::detail::path>(boost::iostreams::basic_mapped_file_params<boost::iostreams::detail::path>
> const&)]+0xc3): undefined reference to
>
> `boost::iostreams::mapped_file_source::open_impl(boost::iostreams::basic_mapped_file_params<boost::iostreams::detail::path>
> const&)'
>
> shapeindex.cpp:(.text._ZN5boost9iostreams18mapped_file_source4openINS0_6detail4pathEEEvRKNS0_24basic_mapped_file_paramsIT_EE[void
>
> boost::iostreams::mapped_file_source::open<boost::iostreams::detail::path>(boost::iostreams::basic_mapped_file_params<boost::iostreams::detail::path>
> const&)]+0xc3): undefined reference to
>
> `boost::iostreams::mapped_file_source::open_impl(boost::iostreams::basic_mapped_file_params<boost::iostreams::detail::path>
> const&)'
> utils/shapeindex/shapeindex.o: In function
> `boost::iostreams::stream<boost::iostreams::mapped_file_source,
> std::char_traits<char>, std::allocator<char>
> >::stream<std::basic_string<char, std::char_traits<char>,
> std::allocator<char> > >(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> boost::disable_if<boost::is_same<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >,
> boost::iostreams::mapped_file_source>, void>::type*)':
>
> shapeindex.cpp:(.text._ZN5boost9iostreams6streamINS0_18mapped_file_sourceESt11char_traitsIcESaIcEEC1ISsEERKT_PNS_10disable_ifINS_7is_sameIS8_S2_EEvE4typeE[boost::iostreams::stream<boost::iostreams::mapped_file_source,
> std::char_traits<char>, std::allocator<char>
> >::stream<std::basic_string<char, std::char_traits<char>,
> std::allocator<char> > >(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> boost::disable_if<boost::is_same<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >,
> boost::iostreams::mapped_file_source>, void>::type*)]+0x138):
> undefined reference to `boost::iostreams::mapped_file_source::init()'
>
> shapeindex.cpp:(.text._ZN5boost9iostreams6streamINS0_18mapped_file_sourceESt11char_traitsIcESaIcEEC1ISsEERKT_PNS_10disable_ifINS_7is_sameIS8_S2_EEvE4typeE[boost::iostreams::stream<boost::iostreams::mapped_file_source,
> std::char_traits<char>, std::allocator<char>
> >::stream<std::basic_string<char, std::char_traits<char>,
> std::allocator<char> > >(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> boost::disable_if<boost::is_same<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >,
> boost::iostreams::mapped_file_source>, void>::type*)]+0x1f1):
> undefined reference to
>
> `boost::iostreams::mapped_file_source::mapped_file_source(boost::iostreams::mapped_file_source
> const&)'
>
> shapeindex.cpp:(.text._ZN5boost9iostreams6streamINS0_18mapped_file_sourceESt11char_traitsIcESaIcEEC1ISsEERKT_PNS_10disable_ifINS_7is_sameIS8_S2_EEvE4typeE[boost::iostreams::stream<boost::iostreams::mapped_file_source,
> std::char_traits<char>, std::allocator<char>
> >::stream<std::basic_string<char, std::char_traits<char>,
> std::allocator<char> > >(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> boost::disable_if<boost::is_same<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >,
> boost::iostreams::mapped_file_source>, void>::type*)]+0x253):
> undefined reference to
>
> `boost::iostreams::mapped_file_source::mapped_file_source(boost::iostreams::mapped_file_source
> const&)'
> collect2: ld returned 1 exit status
> scons: *** [utils/shapeindex/shapeindex] Error 1
> scons: building terminated because of errors.
>
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to