Am 28.08.2014 um 10:33 schröbte Gunnar Zötl:
> Hmmm ok. But then, from the wiki I gather that LUA_LIBDIR should actually be 
> the
> path where I find the lua libs, like liblua.a? Like LUA_INCDIR and LUA_BINDIR
> are the paths where I find the relevant includes and binaries. Plus, 
> LUA_LIBDIR
> does not give me the complete path I need, which should be
> /usr/local/lib/lua/5.2, where LUA_LIBDIR is /usr/local/lib. Strangely enough,
> this is with both my self built luarocks and also with the one that is 
> provided
> by ubuntu.
>
> Then there's the other paths, PREFIX, LIBDIR, LUADIR and CONFIR. These seem to
> be more suited for installation, apart from the fact that they all reside 
> inside
> the rock dir. So again, the path where my lib should be installed to is not
> here.

It's LIBDIR that you want. Install there and let LuaRocks handle the 
rest (i.e. copy the installed files to the usual locations). This way it 
can keep track of what has been installed by this rock.

>
> I find this rather confusing. Plus, luarocks remove still does not remove my
> installed so file.

I agree. The names are rather confusing (especially LIBDIR, LUA_LIBDIR, 
LUA_DIR, and LUADIR. Maybe we can clean it up for LuaRocks 3.0 ...?

>
> Do you know of an example for a rock that uses the make backend, is created
> according to the recommendations and also works properly with luarocks remove?
>
> Gunnar

Philipp



------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to