Allright...

so I got a lil further down the road using boost version 1.42. But I'm still
gettting this:

scons: Building targets ...
g++ -o bindings/python/_mapnik.so -shared bindings/python/mapnik_map.os
bindings/python/mapnik_envelope.os
bindings/python/mapnik_polygon_pattern_symbolizer.os
bindings/python/mapnik_polygon_symbolizer.os
bindings/python/mapnik_datasource_cache.os
bindings/python/mapnik_projection.os bindings/python/mapnik_parameters.os
bindings/python/mapnik_feature.os bindings/python/mapnik_text_symbolizer.os
bindings/python/mapnik_image.os bindings/python/mapnik_symbolizer.os
bindings/python/mapnik_view_transform.os bindings/python/mapnik_layer.os
bindings/python/mapnik_rule.os bindings/python/mapnik_point_symbolizer.os
bindings/python/mapnik_font_engine.os bindings/python/mapnik_coord.os
bindings/python/mapnik_datasource.os bindings/python/mapnik_featureset.os
bindings/python/mapnik_stroke.os bindings/python/mapnik_shield_symbolizer.os
bindings/python/mapnik_query.os bindings/python/mapnik_image_view.os
bindings/python/mapnik_color.os bindings/python/mapnik_raster_symbolizer.os
bindings/python/mapnik_line_pattern_symbolizer.os
bindings/python/mapnik_line_symbolizer.os bindings/python/mapnik_geometry.os
bindings/python/mapnik_style.os bindings/python/mapnik_proj_transform.os
bindings/python/mapnik_filter.os bindings/python/python_cairo.os
bindings/python/mapnik_python.os -Lagg -Lsrc -L/usr/local/lib64
-L/usr/local/lib -L/usr/lib64 -lmapnik -lpng -ljpeg -lboost_python
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../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.


Cheers,
Dom

On Tue, Aug 2, 2011 at 3:07 PM, Dom L <[email protected]> wrote:

> Hi again,
>
> so by adding "usr/local/lib" to my LD_LIBRARY_PATH, I got rid of
> ".sconf_temp/conftest_24: error while loading shared libraries:
> libboost_system.so.1.41.0: cannot open shared object file: No such file or
> directory". Unfortunatley, I still get the compile error...
>
>
>
>
> On Tue, Aug 2, 2011 at 2:08 PM, Dom L <[email protected]> wrote:
>
>> Hey guys,
>>
>> it's been a while since my last install, however, I got stuck with some
>> compile errors:
>>
>> g++ -o bindings/python/mapnik_map.os -c -DHAVE_LIBXML2 -DHAVE_CAIRO
>> -DHAVE_PYCAIRO -ansi -Wall -pthread -ftemplate-depth-100 -DLINUX
>> -DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -DSVN_REVISION=3073 -O2
>> -finline-functions -Wno-inline -DNDEBUG -DSHAPE_MEMORY_MAPPED_FILE -fPIC
>> -I/usr/include/python2.6 -Iagg/include -I. -Iinclude -I/usr/local/include
>> -I/usr/local/include/unicode -I/usr/include -I/usr/include/freetype2
>> -I/usr/include/libxml2 -I/usr/include/cairomm-1.0 -I/usr/include/cairo
>> -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pgsql
>> -I/usr/include/pycairo bindings/python/mapnik_map.cpp
>> In file included from
>> /usr/local/include/boost/ptr_container/ptr_vector.hpp:20,
>>                  from include/mapnik/geometry.hpp:36,
>>                  from include/mapnik/feature.hpp:29,
>>                  from include/mapnik/layer.hpp:27,
>>                  from bindings/python/mapnik_map.cpp:30:
>> /usr/local/include/boost/ptr_container/ptr_sequence_adapter.hpp: In member
>> function ‘void boost::ptr_sequence_adapter<T, VoidPtrSeq,
>> CloneAllocator>::sort_4_2(typename
>> boost::ptr_container_detail::reversible_ptr_container<boost::ptr_container_detail::sequence_config<T,
>> VoidPtrSeq>, CloneAllocator>::iterator, typename
>> boost::ptr_container_detail::reversible_ptr_container<boost::ptr_container_detail::sequence_config<T,
>> VoidPtrSeq>, CloneAllocator>::iterator, Compare)’:
>> /usr/local/include/boost/ptr_container/ptr_sequence_adapter.hpp:600:
>> error: ‘sort_4_2’ is not a member of ‘std’
>> In file included from /usr/local/include/boost/format.hpp:47,
>>                  from include/mapnik/color.hpp:33,
>>                  from include/mapnik/graphics.hpp:28,
>>                  from include/mapnik/raster.hpp:27,
>>                  from include/mapnik/feature.hpp:30,
>>                  from include/mapnik/layer.hpp:27,
>>                  from bindings/python/mapnik_map.cpp:30:
>> /usr/local/include/boost/format/format_implementation.hpp: In member
>> function ‘boost::basic_format<Ch, Tr, Alloc>& boost::basic_format<Ch, Tr,
>> Alloc>::clear()’:
>> /usr/local/include/boost/format/format_implementation.hpp:139: error:
>> ‘class std::vector<bool, std::allocator<bool> >’ has no member named
>> ‘size_4_2’
>> /usr/local/include/boost/format/format_implementation.hpp:144: error:
>> ‘class std::vector<bool, std::allocator<bool> >’ has no member named
>> ‘size_4_2’
>> /usr/local/include/boost/format/format_implementation.hpp: In member
>> function ‘boost::basic_format<Ch, Tr, Alloc>& boost::basic_format<Ch, Tr,
>> Alloc>::clear_bind(int)’:
>> /usr/local/include/boost/format/format_implementation.hpp:164: error:
>> ‘class std::vector<bool, std::allocator<bool> >’ has no member named
>> ‘size_4_2’
>> In file included from include/mapnik/feature_type_style.hpp:28,
>>                  from include/mapnik/map.hpp:33,
>>                  from bindings/python/mapnik_map.cpp:31:
>> include/mapnik/rule.hpp: In member function ‘void mapnik::rule<Feature,
>> Filter>::remove_at(size_t)’:
>> include/mapnik/rule.hpp:236: error: ‘class mapnik::symbolizers’ has no
>> member named ‘size_4_2’
>> scons: *** [bindings/python/mapnik_map.os] Error 1
>> scons: building terminated because of errors.
>>
>>
>> I got all the dependencies resolved - this is what I get (please note the
>> command i call to start compiling):
>>
>> localhost:/opt/src/release-0.7.1 # python scons/scons.py
>> BOOST_INCLUDES=/usr/local/include/boost/ BOOST_LIBS=/usr/local/lib/
>> ICU_INCLUDES=/usr/local/include/unicode/ ICU_LIBS=/usr/local/lib
>> scons: Reading SConscript files ...
>>
>> Welcome to Mapnik...
>>
>> Configuring build environment...
>> SCons CONFIG found: 'config.py', variables will be inherited...
>> INPUT_PLUGINS=postgis,raster,shape BOOST_INCLUDES=/usr/local/include
>> BOOST_LIBS=/usr/local/lib BINDINGS=all
>> Configuring on Linux in *release mode*...
>> Checking for freetype-config... yes
>> Checking for xml2-config... yes
>> Checking for pkg-config... yes
>> Checking for cairomm-1.0... yes
>> Sorting lib and inc compiler paths by priority...
>> internal,other,frameworks,user,system(cached) yes
>> Checking for C library m... yes
>> Checking for C library ltdl... yes
>> Checking for C library png... yes
>> Checking for C library tiff... yes
>> Checking for C library z... yes
>> Checking for C library jpeg... yes
>> Checking for C library proj... yes
>> Checking for C++ library icuuc... yes
>> Searching for boost libs and headers... (cached)
>>   *libs found: /usr/local/lib
>>   *headers found: /usr/local/include
>>   *no lib naming extension found
>> Checking for Boost version >= 1.34... yes
>> Found boost lib version... 1_41
>> Checking for C++ library boost_system... yes
>> Checking for C++ library boost_filesystem... yes
>> Checking for C++ library boost_regex... yes
>> Checking for C++ library boost_iostreams... yes
>> Checking for C++ library boost_program_options... yes
>> Checking for C++ library boost_thread... yes
>> Checking for requested plugins dependencies...
>> Checking for pg_config... yes
>> Checking for C++ header file boost/python/detail/config.hpp... yes
>> Checking for pkg-config... yes
>> Checking for pycairo... yes
>>
>> All Required dependencies found!
>>
>> Overwriting and re-saving file 'config.py'...
>> Will hold custom path variables from commandline and python config
>> file(s)...
>> .sconf_temp/conftest_24: error while loading shared libraries:
>> libboost_system.so.1.41.0: cannot open shared object file: No such file or
>> directory
>> Problem encountered parsing mapnik version, falling back to [0, 7, 1]
>> Bindings Python version... 2.6
>> Python 2.6 prefix... /usr
>> Python bindings will install in... /usr/lib64/python2.6/site-packages
>> Sorting lib and inc compiler paths by priority...
>> internal,other,frameworks,user,system(cached) yes
>> scons: done reading SConscript files.
>> scons: Building targets ...
>>
>>
>> Tho, I wonder if ".sconf_temp/conftest_24: error while loading shared
>> libraries: libboost_system.so.1.41.0: cannot open shared object file: No
>> such file or directory" this might point one of you to something...
>>
>> I am running SLED 11, SP1, 64 bits. Any feedback is very much appreciated!
>>
>> Cheers,
>> Dom
>>
>>
>>
>> --
>> Sent thru my vacuum cleaner.
>>
>>
>
>
> --
> Sent thru my vacuum cleaner.
>
>


-- 
Sent thru my vacuum cleaner.
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to