mapnik / Ruby-Mapnik

Ruby Bindings for Mapnik
MIT License
66 stars 13 forks source link

Failed install with Mapnik 2.2.0-pre #48

Open matkoniecz opened 10 years ago

matkoniecz commented 10 years ago

After #47 I installed mapnik as described in "Install Mapnik library" section on http://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/

mapnik-config -v gives 2.2.0-pre

running rake results in

Defaulting gemspec to MIT license.
Call license in hoe spec to change.
install -c tmp/i686-linux/ruby_mapnik/1.9.3/ruby_mapnik.so lib/ruby_mapnik/ruby_mapnik.so
cp tmp/i686-linux/ruby_mapnik/1.9.3/ruby_mapnik.so tmp/i686-linux/stage/lib/ruby_mapnik/ruby_mapnik.so
/usr/bin/ruby1.9.1 -w -Ilib:bin:test:. -e 'require "rubygems"; require "minitest/autorun"; require "test/test_mapnik_feature.rb"; require "test/test_ruby_mapnik.rb"; require "test/test_polygon_pattern_symbolizer.rb"; require "test/test_mapnik_projection.rb"; require "test/test_mapnik_rule.rb"; require "test/test_mapnik_color.rb"; require "test/test_mapnik_line_symbolizer.rb"; require "test/test_mapnik_layer.rb"; require "test/test_mapnik_raster_colorizer.rb"; require "test/test_mapnik_point_symbolizer.rb"; require "test/test_helper.rb"; require "test/test_mapnik_shield_symbolizer.rb"; require "test/test_line_pattern_symbolizer.rb"; require "test/test_mapnik_style.rb"; require "test/test_mapnik_polygon_symbolizer.rb"; require "test/test_mapnik_markers_symbolizer.rb"; require "test/test_mapnik_envelope.rb"; require "test/test_mapnik_coord.rb"; require "test/test_mapnik_map.rb"; require "test/test_mapnik_font_engine.rb"; require "test/test_mapnik_symbolizer.rb"; require "test/test_mapnik_expression.rb"; require "test/test_mapnik_stroke.rb"; require "test/test_mapnik_raster_symbolizer.rb"; require "test/test_mapnik_text_symbolizer.rb"; require "test/test_mapnik_datasource.rb"' -- 
/usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require': /home/mateusz/Documents/MapBox/Ruby-Mapnik/lib/ruby_mapnik/ruby_mapnik.so: undefined symbol: _ZN6mapnik4rule10set_filterERKN5boost10shared_ptrINS1_7variantINS1_6detail7variant14recursive_flagINS5_13over_sequenceINS1_3mpl8vector24INS_10value_nullEbxdN6icu_5213UnicodeStringENS_9attributeENS_23geometry_type_attributeENS1_17recursive_wrapperINS_10unary_nodeINS_4tags6negateEEEEENSF_INS_11binary_nodeINSH_4plusEEEEENSF_INSL_INSH_5minusEEEEENSF_INSL_INSH_4multEEEEENSF_INSL_INSH_3divEEEEENSF_INSL_INSH_3modEEEEENSF_INSL_INSH_4lessEEEEENSF_INSL_INSH_10less_equalEEEEENSF_INSL_INSH_7greaterEEEEENSF_INSL_INSH_13greater_equalEEEEENSF_INSL_INSH_8equal_toEEEEENSF_INSL_INSH_12not_equal_toEEEEENSF_INSG_INSH_11logical_notEEEEENSF_INSL_INSH_11logical_andEEEEENSF_INSL_INSH_10logical_orEEEEENSF_INS_16regex_match_nodeEEENSF_INS_18regex_replace_nodeEEEEEEEEENS5_5void_ES1Z_S1Z_S1Z_S1Z_S1Z_S1Z_S1Z_S1Z_S1Z_S1Z_S1Z_S1Z_S1Z_S1Z_S1Z_S1Z_S1Z_S1Z_EEEE - /home/mateusz/Documents/MapBox/Ruby-Mapnik/lib/ruby_mapnik/ruby_mapnik.so (LoadError)
    from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require'
    from /home/mateusz/Documents/MapBox/Ruby-Mapnik/lib/ruby_mapnik.rb:27:in `<top (required)>'
    from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require'
    from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require'
    from /home/mateusz/Documents/MapBox/Ruby-Mapnik/test/test_helper.rb:25:in `<top (required)>'
    from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require'
    from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require'
    from /home/mateusz/Documents/MapBox/Ruby-Mapnik/test/test_mapnik_feature.rb:1:in `<top (required)>'
    from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require'
    from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require'
    from -e:1:in `<main>'
rake aborted!
Command failed with status (1): [/usr/bin/ruby1.9.1 -w -Ilib:bin:test:. -e ...]

Tasks: TOP => default => test
(See full trace by running task with --trace)