On Fri, Jun 17, 2011 at 1:27 PM, Peter Odding <[email protected]> wrote: > Hi Hisham, > >>> Would you please add the Lua/APR binding to the LuaRocks repository? >>> I've been publishing rockspecs for a while on my homepage and didn't >>> request inclusion until now because I felt the code was still unstable. >>> Because the binding now includes a decent test suite which is run on 32 >>> bits Windows XP, 32 bits Ubuntu and 64 bits Ubuntu I feel the time is >>> right to start publishing official Lua/APR rocks. >> >> Thank you! It is now in the repository. > > Thanks for creating the rock and adding it to the repository. Out of > curiosity I tried to install the rock and it failed as follows: > > peter@laptop> luarocks install lua-apr > Installing http://luarocks.org/repositories/rocks/lua-apr-0.18-2.src.rock... > Archive: > /tmp/luarocks_luarocks-rock-lua-apr-0.18-2-9257/lua-apr-0.18-2.src.rock > inflating: lua-apr-0.18-2.rockspec > extracting: lua-apr-0.18-2.zip > > Error: Could not find expected file apr-1/apu.h for APU -- you may have > to install APU in your system and/or set the APU_DIR variable > > I compared the rockspec I submitted to the rockspec in the *.rock file > and it appears that the values in external_dependencies.platforms.unix > were replaced with values from external_dependencies.platforms.macosx. > Did you do that on purpose? Because it breaks Debian/Ubuntu installs...
Ouch, sorry. I had to do that for testing here (that's actually the default for a vanilla build of apr-util on Linux). But I'll take the pragmatic road and leave the Ubuntu setup as the default for Linux. I never wanted to do distro detection in LuaRocks but it seems like an inevitable direction... As for lua-apr, I'll reupload the rock as you sent it (with an updated revision number to avoid further confusion), sorry about the mess up. -- -- Hisham http://hisham.hm/ ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Luarocks-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luarocks-developers
