-
-
Save lxbarth/743434dc5d44ef376a42 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> node-gyp rebuild | |
gyp http GET http://nodejs.org/dist/v0.10.15/node-v0.10.15.tar.gz | |
gyp http 200 http://nodejs.org/dist/v0.10.15/node-v0.10.15.tar.gz | |
ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3071700/sqlite3.c | |
CXX(target) Release/obj.target/eio/src/eio.o | |
CXX(target) Release/obj.target/_mapnik/src/node_mapnik.o | |
TOUCH Release/obj.target/deps/action_before_build.stamp | |
CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3071700/sqlite3.o | |
SOLINK_MODULE(target) Release/eio.node | |
LIBTOOL-STATIC Release/sqlite3.a | |
SOLINK_MODULE(target) Release/eio.node: Finished | |
ACTION binding_gyp_action_after_build_target_move_node_module lib/eio.node | |
TOUCH Release/obj.target/action_after_build.stamp | |
CXX(target) Release/obj.target/node_sqlite3/src/database.o | |
CXX(target) Release/obj.target/node_sqlite3/src/node_sqlite3.o | |
CXX(target) Release/obj.target/node_sqlite3/src/statement.o | |
SOLINK_MODULE(target) Release/node_sqlite3.node | |
SOLINK_MODULE(target) Release/node_sqlite3.node: Finished | |
ACTION binding_gyp_action_after_build_target_move_node_module lib/node_sqlite3.node | |
TOUCH Release/obj.target/action_after_build.stamp | |
CXX(target) Release/obj.target/_mapnik/src/mapnik_map.o | |
In file included from ../src/mapnik_map.cpp:28: | |
/opt/mapnik/include/mapnik/graphics.hpp:123:29: warning: comparison of integers of different signs: | |
'int' and 'const unsigned int' [-Wsign-compare] | |
return (x >= 0 && x < width_ && y >= 0 && y < height_); | |
~ ^ ~~~~~~ | |
/opt/mapnik/include/mapnik/graphics.hpp:123:53: warning: comparison of integers of different signs: | |
'int' and 'const unsigned int' [-Wsign-compare] | |
return (x >= 0 && x < width_ && y >= 0 && y < height_); | |
~ ^ ~~~~~~~ | |
../src/mapnik_map.cpp:946:80: error: too many arguments to function call, expected at most 3, have 4 | |
mapnik::load_map(*closure->m->map_,closure->stylesheet,closure->strict,closure->base_path); | |
~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ | |
/opt/mapnik/include/mapnik/load_map.hpp:35:13: note: 'load_map' declared here | |
MAPNIK_DECL void load_map(Map & map, std::string const& filename, bool strict = false); | |
^ | |
../src/mapnik_map.cpp:1037:53: error: too many arguments to function call, expected at most 3, have | |
4 | |
mapnik::load_map(*m->map_,stylesheet,strict,base_path); | |
~~~~~~~~~~~~~~~~ ^~~~~~~~~ | |
/opt/mapnik/include/mapnik/load_map.hpp:35:13: note: 'load_map' declared here | |
MAPNIK_DECL void load_map(Map & map, std::string const& filename, bool strict = false); | |
^ | |
2 warnings and 2 errors generated. | |
make: *** [Release/obj.target/_mapnik/src/mapnik_map.o] Error 1 | |
gyp ERR! build error | |
gyp ERR! stack Error: `make` failed with exit code: 2 | |
gyp ERR! stack at ChildProcess.onExit (/Users/ab/.nvm/v0.10.15/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23) | |
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17) | |
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12) | |
gyp ERR! System Darwin 12.2.0 | |
gyp ERR! command "node" "/Users/ab/.nvm/v0.10.15/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" | |
gyp ERR! cwd /Users/ab/apps/tm2/node_modules/mapnik | |
gyp ERR! node -v v0.10.15 | |
gyp ERR! node-gyp -v v0.10.6 | |
gyp ERR! not ok | |
npm ERR! weird error 1 | |
npm ERR! not ok code 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@lxbarth - looks like you have old mapnik code somehow. Try :
also perhaps you have old mapnik installed into /usr or /usr/local ?