Am 18.04.2013 23:26 schröbte Hisham: > > Perhaps this fixes the problem François Perrad was having with his rockspec!
Yes and no. He definitely hits the bug with one of his patches, but first you need to change luarocks/tools/patch.lua:298 local match = line:match("^--- ([^\t ]+)") to local match = line:match("^%-%-%- ([^\t\r\n ]+)") and luarocks/tools/patch.lua:332 local re_filename = "^%+%+%+ ([^ \t]+)" to local re_filename = "^%+%+%+ ([^ \t\r\n]+)" (or he needs to change his diff flags ...). With those modifications it compiles and installs fine for me, but I haven't actually tested the library. There still is a problem with his rockspec: It doesn't use YAML_INCDIR/YAML_LIBDIR when building ... > > http://sourceforge.net/mailarchive/forum.php?thread_name=CAB0FRsu1PTMrctgdZ2FhqACda5s4fP5YaP-%2B-wteSMKpwBdhEw%40mail.gmail.com&forum_name=luarocks-developers > > (I had his rockspec open in a terminal here, but as I was starting to > troubleshoot it, the luaforge.net went offline (I asked Fabio and it > is also DNS propagation issues due to a relocation, similar to what > happened to luarocks.org days earlier)). I extracted the .src.rock and changed the url to a file-link for local testing. > > -- Hisham > Philipp ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers