Hi Ignacio,

On Fri, Jun 6, 2014 at 4:06 PM, Ignacio Burgueño <iburgu...@gmail.com>
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
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://www.hpccsystems.com
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to