maxmetagravity / prosody-modules

Automatically exported from code.google.com/p/prosody-modules
MIT License
0 stars 0 forks source link

mod_auth_pam requires lua-pam which is lua 5.2 only #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
mod_auth_pam requires 
(http://code.google.com/p/prosody-modules/source/browse/mod_auth_pam/mod_auth_pa
m.lua#4) the lua-pam library. After several attempts to compile that library, I 
found that it requires Lua 5.2 (while Prosody requires 5.1). I'm unable to find 
a way to both run Prosody and set up the lua-pam library.

1. Specify 'pam' for authentication after installing mod_auth_pam
2. Attempt to compile lua-pam from https://github.com/devurandom/lua-pam
3. lua-pam requires Lua 5.2. Attempting to compiled under 5.1 fails badly.
4. PAM authentication isn't possible

Prosody .9, Lua 5.1 and default branch of prosody-modules on Ubuntu 13.10

Original issue reported on code.google.com by augu...@gmail.com on 15 Nov 2013 at 5:40

GoogleCodeExporter commented 9 years ago
The author of lua-pam has now updated the repository with instructions for 
building under 5.1. It took a complete purge of all my Lua packages and a 
reinstall, but the build worked after that.

Original comment by augu...@gmail.com on 15 Nov 2013 at 6:07

GoogleCodeExporter commented 9 years ago
This can be closed. lua-pam supports Lua 5.1, but you might need to tell the 
buildsystem which version of Lua you need.

Original comment by devuran...@gmx.net on 26 Jan 2014 at 1:18