Re: [Luarocks-developers] LuaZip rock seems to be broken
Brought to you by:
loderunner
|
From: Hisham <h...@hi...> - 2014-06-09 16:51:04
|
On 9 June 2014 11:37, RJP Computing <rjp...@gm...> wrote: > Hi Ignacio, > > On Fri, Jun 6, 2014 at 4:06 PM, Ignacio Burgueño <ibu...@gm...> > wrote: >> >> I think this is because the makefile is building a library (zip.so.1.2.3) >> which is copied to '/usr/local/lib/luarocks/rocks/luazip/1.2.3-2/lib' and >> then creates a symbolic link to it (zip.so), but that folder is removed by >> LuaRocks, after moving zip.so to its final destination >> (/usr/local/lib/lua/5.1/zip.so in my case) . The makefile should put the >> actual zip.so there. >> >> You can edit the makefile and change the part that says "install:" with >> this: >> >> install: src/$(LIBNAME) >> mkdir -p $(LUA_LIBDIR) >> cp src/$(LIBNAME) $(LUA_LIBDIR)/$T.so >> >> Then build using luarocks: >> luarocks make ../luazip-1.2.3-2.rockspec (I have the rockspec in the >> parent directory) >> >> >> Hope that helps. > > > This fixes it. Can this be fixed in the repository? I am using luarocks to > dploy to many computers so I don't want to update the makefile each time. > plus this is just broken for all users. As far as I can tell, LuaZip is an orphaned project. The latest release from Kepler is from 2007. The code seems stable, so taking over maintenence seems a low-overhead activity, but I don't wish to maintain it myself. There's a git-conversion of the CVS from LuaForge at: https://github.com/luaforge/luazip Ryan, if you wish to fork this, commit the changes and tag a new release, I can help you out with the rockspec. -- Hisham |