Compiling mod_magnet for lighttpd requires the lua libraries to be available.
This is pretty easy if you have a package manager installed (yum install lua-devel), but I didnt
Solution:
Grab the latest lua libraries from
http://luabinaries.luaforge.net/download.html
Extract and move the libraries to /usr/local/include and the include files to /usr/local/include
The you need to set some environment variables so lighty knows where they are
export LUA_CFLAGS="-I/usr/local/include -L/usr/local/lib"
export LUA_LIBS="/usr/local/lib"
After that, lighty should compile fine. Be sure to pass --with-lua
./configure --prefix=/usr/local --with-lua
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment