<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2016-04-08 14:04 GMT+02:00 Sebastiaan Couwenberg <span dir="ltr"><<a href="mailto:sebastic@xs4all.nl" target="_blank">sebastic@xs4all.nl</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 04/08/2016 01:54 PM, Jérémy Lal wrote:<br>
> 2016-04-08 12:49 GMT+02:00 Sebastiaan Couwenberg <<a href="mailto:sebastic@xs4all.nl">sebastic@xs4all.nl</a>>:<br>
><br>
>> On 04/08/2016 12:34 PM, Jérémy Lal wrote:<br>
>>> 2016-04-08 12:24 GMT+02:00 Sebastiaan Couwenberg:<br>
>>>> Currenly `node-gyp configure` fails with:<br>
>>>><br>
>>>> gyp: Undefined variable module_path in binding.gyp while trying to load<br>
>>>> binding.gyp<br>
>>>><br>
>>>> If it's possible to fix that by using the system provided dependencies,<br>
>>>> it may be feasible to get node-mapnik working again.<br>
>>>><br>
>>>><br>
>>> The generic way of getting rid of these:<br>
>>><br>
>>> node-gyp configure --module_name=`nodejs -e<br>
>>> "console.log(require('./package.json').binary.module_name)"`<br>
>>> --module_path=`nodejs -e<br>
>>> "console.log(require('./package.json').binary.module_path)"`<br>
>>><br>
>>><br>
>>> Updating node-mapnik is looking good; but I have trouble with<br>
>>><br>
>>> In file included from /usr/include/vector_tile_merc_tile.hpp:5:0,<br>
>>>                  from ../src/mapnik_vector_tile.hpp:11,<br>
>>>                  from ../src/node_mapnik.cpp:5:<br>
>>> /usr/include/vector_tile_tile.hpp:208:32: fatal error:<br>
>>> vector_tile_tile.ipp: Aucun fichier ou dossier de ce type<br>
>>><br>
>>> does it ring a bell ?<br>
>><br>
>> Yes, the .ipp file is included in the mapnik-vector-tile source, but not<br>
>> installed in the binary package.<br>
>><br>
>> I'll update mapnik-vector-tile to install the .ipp files too.<br>
><br>
> I've just tested with those files installed by hand and it works all right.<br>
<br>
</div></div>Yes, I've got similar results after some more changes to the node-mapnik<br>
packaging.<br>
<br>
The test target fails because it requires node-pre-gyp, as do the<br>
bin/mapnik-*.js executables. We'll need to patch those to not require<br>
node-pre-gyp too.<br>
<br>
Do you have any suggestions for that?<br><br></blockquote><div><br></div><div>Yes, i have: i'm packaging node-pre-gyp and rc modules, it seems pkg-tar</div><div>could stay a recommandation.</div><div>It will be way simpler than spending the time patching node-mapnik.</div><div><br></div><div>Jérémy</div></div><br></div></div>