Re: [Luarocks-developers] LuaZip rock seems to be broken
Brought to you by:
loderunner
|
From: RJP C. <rjp...@gm...> - 2014-06-09 14:37:42
|
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. -- Regards, Ryan |