Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling error on Gentoo #26

Open
Pavel-Guseynov opened this issue Feb 20, 2013 · 0 comments
Open

Compiling error on Gentoo #26

Pavel-Guseynov opened this issue Feb 20, 2013 · 0 comments

Comments

@Pavel-Guseynov
Copy link

mapnik:2.1.0
ruby: 1.9.3p385

Building native extensions.  This could take a while...
ERROR:  Error installing ruby_mapnik:
        ERROR: Failed to build gem native extension.

        /usr/bin/ruby19 extconf.rb
checking for main() in -lrice... yes
creating Makefile

make
compiling _mapnik_text_symbolizer.rb.cpp
_mapnik_text_symbolizer.rb.cpp: In function 'Rice::Object<unnamed>::get_text_displacement(const mapnik::text_symbolizer&)':
_mapnik_text_symbolizer.rb.cpp:37:47: warning: 'const mapnik::position& mapnik::text_symbolizer::get_displacement() const' is deprecated (declared at /usr/include/mapnik/text_symbolizer.hpp:109)
_mapnik_text_symbolizer.rb.cpp: In function 'mapnik::horizontal_alignment<unnamed>::get_text_horizontal_alignment(const mapnik::text_symbolizer&)':
_mapnik_text_symbolizer.rb.cpp:52:76: warning: 'mapnik::horizontal_alignment_e mapnik::text_symbolizer::get_horizontal_alignment() const' is deprecated (declared at /usr/include/mapnik/text_symbolizer.hpp:125)
_mapnik_text_symbolizer.rb.cpp: In function 'mapnik::justify_alignment<unnamed>::get_text_justify_alignment(const mapnik::text_symbolizer&)':
_mapnik_text_symbolizer.rb.cpp:61:70: warning: 'mapnik::justify_alignment_e mapnik::text_symbolizer::get_justify_alignment() const' is deprecated (declared at /usr/include/mapnik/text_symbolizer.hpp:127)
_mapnik_text_symbolizer.rb.cpp: In function 'mapnik::label_placement_enum<unnamed>::get_text_label_placement(const mapnik::text_symbolizer&)':
_mapnik_text_symbolizer.rb.cpp:70:71: warning: 'mapnik::label_placement_e mapnik::text_symbolizer::get_label_placement() const' is deprecated (declared at /usr/include/mapnik/text_symbolizer.hpp:104)
_mapnik_text_symbolizer.rb.cpp: In function 'mapnik::text_transform<unnamed>::get_text_transform(const mapnik::text_symbolizer&)':
_mapnik_text_symbolizer.rb.cpp:79:64: warning: 'mapnik::text_transform_e mapnik::text_symbolizer::get_text_transform() const' is deprecated (declared at /usr/include/mapnik/text_symbolizer.hpp:77)
_mapnik_text_symbolizer.rb.cpp: In function 'mapnik::vertical_alignment<unnamed>::get_vertical_alignment(const mapnik::text_symbolizer&)':
_mapnik_text_symbolizer.rb.cpp:88:72: warning: 'mapnik::vertical_alignment_e mapnik::text_symbolizer::get_vertical_alignment() const' is deprecated (declared at /usr/include/mapnik/text_symbolizer.hpp:106)
compiling _mapnik.cpp
compiling _mapnik_point_symbolizer.rb.cpp
compiling _mapnik_layer.rb.cpp
compiling _mapnik_projection.rb.cpp
compiling _mapnik_font_engine.rb.cpp
compiling _mapnik_datasource_cache.rb.cpp
compiling _mapnik_shield_symbolizer.rb.cpp
compiling _mapnik_datasource.rb.cpp
_mapnik_datasource.rb.cpp: In member function 'Rice::Object<unnamed>::mapnik_value_holder_to_ruby_visitor::operator()(const mapnik::value_null&) const':
_mapnik_datasource.rb.cpp:56:13: warning: passing NULL to non-pointer argument 1 of 'Rice::Object::Object(VALUE)'
compiling _mapnik_polygon_pattern_symbolizer.rb.cpp
compiling _mapnik_stroke.rb.cpp
compiling _mapnik_raster_symbolizer.rb.cpp
compiling _mapnik_coord.rb.cpp
compiling _mapnik_map.rb.cpp
compiling _mapnik_expression.rb.cpp
compiling _mapnik_polygon_symbolizer.rb.cpp
compiling _mapnik_style.rb.cpp
compiling _mapnik_markers_symbolizer.rb.cpp
compiling _mapnik_envelope.rb.cpp
compiling ruby_mapnik.cpp
compiling _mapnik_rule.rb.cpp
compiling _mapnik_raster_colorizer.rb.cpp
compiling _mapnik_line_symbolizer.rb.cpp
compiling _mapnik_line_pattern_symbolizer.rb.cpp
compiling _mapnik_feature.rb.cpp
compiling _mapnik_symbolizer.rb.cpp
compiling _mapnik_color.rb.cpp
linking shared-object ruby_mapnik/ruby_mapnik.so
_mapnik_map.rb.o: In function `render_to_cairo_surface':
/usr/local/lib64/ruby/gems/1.9.1/gems/ruby_mapnik-0.1.5/ext/ruby_mapnik/_mapnik_map.rb.cpp:146: undefined reference to `Cairo::Surface::Surface(_cairo_surface*, bool)'
_mapnik_map.rb.o: In function `render_to_cairo_context':
/usr/local/lib64/ruby/gems/1.9.1/gems/ruby_mapnik-0.1.5/ext/ruby_mapnik/_mapnik_map.rb.cpp:153: undefined reference to `Cairo::Context::Context(_cairo*, bool)'
_mapnik_rule.rb.o: In function `~regex_replace_node':
/usr/include/mapnik/expression_node.hpp:253: undefined reference to `icu_49::UnicodeString::~UnicodeString()'
_mapnik_feature.rb.o: In function `internal_visit<icu_49::UnicodeString>':
/usr/include/boost-1_49/boost/variant/variant.hpp:426: undefined reference to `icu_49::UnicodeString::UnicodeString(icu_49::UnicodeString const&)'
_mapnik_feature.rb.o: In function `to_utf8':
/usr/include/mapnik/value.hpp:57: undefined reference to `u_strToUTF8_49'
/usr/include/mapnik/value.hpp:62: undefined reference to `u_strToUTF8_49'
collect2: ld returned 1 exit status
make: *** [ruby_mapnik.so] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant