In the Debian/Ubuntu universe, Lua include files go into
/usr/include/lua5.1 if you use the package manager, because multiple
Lua versions are supported. This patch makes the configure script try
this alternative location out, if /usr/include fails.
configure, line 276
echo_n "Checking Lua includes... "
lua_h="$LUA_INCDIR/lua.h"
if [ -f "$lua_h" ]
then
echo "lua.h found in $lua_h"
else
LUA_INCDIR="$LUA_INCDIR/lua5.1"
d_lua_h="$LUA_INCDIR/lua.h"
if [ -f "$d_lua_h" ]
then
echo "lua.h found in $d_lua_h (Debian/Ubuntu)"
else
echo "lua.h not found (looked in $lua_h)"
echo "You may want to use the flag --with-lua-include. See --help."
exit 1
fi
fi
_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers