Hi Hisham and Reuben, Thanks very much for your input. Indeed the automatic installation of system packages was a brain dead move (principle of least surprise and all). I think I've now found a reasonable middle ground that should be acceptable to everyone yet still improve the user experience when installing through LuaRocks while missing external dependencies.
The makefile doesn't do any dependency checking up front now, instead I've modified the lines that invoke the compiler/linker to execute a Lua script when the compiler or linker fails. This should mean that every build which previously worked should still work exactly the same. When the build fails (and LuaRocks will also fail) my Lua script runs to perform a sanity check of missing external dependencies on supported platforms (Debian, Ubuntu, Arch Linux, Red Hat, Fedora Core, Suse Linux and CentOS). If it finds any missing external dependencies it will print a message informing the user of the problem and *suggest* a command that can be used to install the missing dependencies. I hope with this change the new Lua/APR rockspec can be added to the LuaRocks repository. The new rockspec is available here: http://peterodding.com/code/lua/apr/downloads/lua-apr-0.20.6-1.rockspec Again thanks for your input! - Peter ------------------------------------------------------------------------------ Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World™ now supports Android™ Apps for the BlackBerry® PlayBook™. Discover just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev _______________________________________________ Luarocks-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luarocks-developers
