On 04/08/2016 01:54 PM, Jérémy Lal wrote: > 2016-04-08 12:49 GMT+02:00 Sebastiaan Couwenberg <sebas...@xs4all.nl>: > >> On 04/08/2016 12:34 PM, Jérémy Lal wrote: >>> 2016-04-08 12:24 GMT+02:00 Sebastiaan Couwenberg: >>>> Currenly `node-gyp configure` fails with: >>>> >>>> gyp: Undefined variable module_path in binding.gyp while trying to load >>>> binding.gyp >>>> >>>> If it's possible to fix that by using the system provided dependencies, >>>> it may be feasible to get node-mapnik working again. >>>> >>>> >>> The generic way of getting rid of these: >>> >>> node-gyp configure --module_name=`nodejs -e >>> "console.log(require('./package.json').binary.module_name)"` >>> --module_path=`nodejs -e >>> "console.log(require('./package.json').binary.module_path)"` >>> >>> >>> Updating node-mapnik is looking good; but I have trouble with >>> >>> In file included from /usr/include/vector_tile_merc_tile.hpp:5:0, >>> from ../src/mapnik_vector_tile.hpp:11, >>> from ../src/node_mapnik.cpp:5: >>> /usr/include/vector_tile_tile.hpp:208:32: fatal error: >>> vector_tile_tile.ipp: Aucun fichier ou dossier de ce type >>> >>> does it ring a bell ? >> >> Yes, the .ipp file is included in the mapnik-vector-tile source, but not >> installed in the binary package. >> >> I'll update mapnik-vector-tile to install the .ipp files too. > > I've just tested with those files installed by hand and it works all right.
Yes, I've got similar results after some more changes to the node-mapnik packaging. The test target fails because it requires node-pre-gyp, as do the bin/mapnik-*.js executables. We'll need to patch those to not require node-pre-gyp too. Do you have any suggestions for that? Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1 _______________________________________________ Pkg-javascript-devel mailing list Pkg-javascript-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel