Skip to content

Instantly share code, notes, and snippets.

@iandees
Created December 9, 2011 18:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iandees/1452652 to your computer and use it in GitHub Desktop.
Save iandees/1452652 to your computer and use it in GitHub Desktop.
iandees@benzene:~/tilemill$ mapnik-config --libs
-L/usr/local/lib -lmapnik2
iandees@benzene:~/tilemill$ which mapnik-config
/usr/local/bin/mapnik-config
g<char, std::char_traits<char>, std::allocator<char> >, A2 = mapnik::rgba_palette::palette_type]’:
cc1plus: warning: dereferencing pointer ‘this.553’ does break strict-aliasing rules
/usr/include/boost/unordered/detail/fwd.hpp:492: note: initialized from here
cc1plus: warning: dereferencing pointer ‘this.553’ does break strict-aliasing rules
/usr/include/boost/unordered/detail/fwd.hpp:492: note: initialized from here
cc1plus: warning: dereferencing pointer ‘this.553’ does break strict-aliasing rules
/usr/include/boost/unordered/detail/fwd.hpp:492: note: initialized from here
[18/18] cxx_link: build/default/src/node_mapnik_1.o build/default/src/mapnik_map_1.o build/default/src/mapnik_color_1.o build/default/src/mapnik_geometry_1.o build/default/src/mapnik_feature_1.o build/default/src/mapnik_image_1.o build/default/src/mapnik_image_view_1.o build/default/src/mapnik_grid_1.o build/default/src/mapnik_grid_view_1.o build/default/src/mapnik_js_datasource_1.o build/default/src/mapnik_memory_datasource_1.o build/default/src/mapnik_palette_1.o build/default/src/mapnik_projection_1.o build/default/src/mapnik_layer_1.o build/default/src/mapnik_datasource_1.o build/default/src/mapnik_featureset_1.o build/default/src/mapnik_expression_1.o -> build/default/_mapnik.node
14:46:56 runner system command -> ['/usr/bin/g++', 'default/src/node_mapnik_1.o', 'default/src/mapnik_map_1.o', 'default/src/mapnik_color_1.o', 'default/src/mapnik_geometry_1.o', 'default/src/mapnik_feature_1.o', 'default/src/mapnik_image_1.o', 'default/src/mapnik_image_view_1.o', 'default/src/mapnik_grid_1.o', 'default/src/mapnik_grid_view_1.o', 'default/src/mapnik_js_datasource_1.o', 'default/src/mapnik_memory_datasource_1.o', 'default/src/mapnik_palette_1.o', 'default/src/mapnik_projection_1.o', 'default/src/mapnik_layer_1.o', 'default/src/mapnik_datasource_1.o', 'default/src/mapnik_featureset_1.o', 'default/src/mapnik_expression_1.o', '-o', '/home/iandees/tilemill/node_modules/mapnik/build/default/_mapnik.node', '-L/usr/local/lib', '-lmapnik2', '-shared']
/usr/bin/ld: cannot find -lmapnik2
collect2: ld returned 1 exit status
Waf: Leaving directory `/home/iandees/tilemill/node_modules/mapnik/build'
Build failed: -> task failed (err #1):
{task: cxx_link node_mapnik_1.o,mapnik_map_1.o,mapnik_color_1.o,mapnik_geometry_1.o,mapnik_feature_1.o,mapnik_image_1.o,mapnik_image_view_1.o,mapnik_grid_1.o,mapnik_grid_view_1.o,mapnik_js_datasource_1.o,mapnik_memory_datasource_1.o,mapnik_palette_1.o,mapnik_projection_1.o,mapnik_layer_1.o,mapnik_datasource_1.o,mapnik_featureset_1.o,mapnik_expression_1.o -> _mapnik.node}
npm ERR! error installing mapnik@0.5.12 Error: mapnik@0.5.12 install: `node-waf -v configure build`
npm ERR! error installing mapnik@0.5.12 `sh "-c" "node-waf -v configure build"` failed with 1
npm ERR! error installing mapnik@0.5.12 at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing mapnik@0.5.12 at ChildProcess.emit (events.js:67:17)
npm ERR! error installing mapnik@0.5.12 at ChildProcess.onexit (child_process.js:192:12)
npm ERR! mapnik@0.5.12 install: `node-waf -v configure build`
npm ERR! `sh "-c" "node-waf -v configure build"` failed with 1
npm ERR!
npm ERR! Failed at the mapnik@0.5.12 install script.
npm ERR! This is most likely a problem with the mapnik package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf -v configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls mapnik
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 2.6.32-33-server
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /home/iandees/tilemill
npm ERR! node -v v0.4.12
npm ERR! npm -v 1.0.106
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/iandees/tilemill/npm-debug.log
npm not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment