On 6 December 2015 at 15:56, François Perrad <francois.per...@gadz.org> wrote: > 2015-12-06 17:24 GMT+01:00 Hisham <h...@hisham.hm>: >> On 6 December 2015 at 13:38, François Perrad <francois.per...@gadz.org> >> wrote: >>> On Ubuntu, the following commands work fine with LuaRocks 2.2.2, but >>> not with this rc >>> >>> ``` >>> $ ./configure --lua-version=5.1 --lua-suffix=5.1 --versioned-rocks-dir >>> Looking for Lua... lua5.1 found in $PATH: /usr/bin/lua5.1 >>> Checking Lua interpreter... lua5.1 not found (looked in /usr/bin/lua5.1) >>> You may want to use the flag --with-lua or --with-lua-bin. See --help. >>> >>> configure failed. >>> >>> $ ./configure --lua-version=5.2 --lua-suffix=5.2 --versioned-rocks-dir >>> Looking for Lua... lua5.2 found in $PATH: /usr/bin/lua5.2 >>> Checking Lua interpreter... lua5.2 not found (looked in /usr/bin/lua5.2) >>> You may want to use the flag --with-lua or --with-lua-bin. See --help. >>> >>> configure failed. >>> ``` >>> >>> Looking --> found >>> Checking --> not found >> >> Just to make sure: /usr/bin/lua5.1 and /usr/bin/lua5.2 are the correct >> paths for the interpreter? >> >> It's strange that the `[ -x "$LUA_BINDIR/lua$LUA_SUFFIX" ]` failed. >> What does the following output in your system? >> >> /bin/sh -c '[ -x /usr/bin/lua5.1 ] && echo yes || echo no' >> >> Thank you for the feedback! >> >> --- Hisham >> > > > $ which lua5.1 > /usr/bin/lua5.1 > $ /bin/sh -c '[ -x /usr/bin/lua5.1 ] && echo yes || echo no' > yes > $ which lua5.2 > /usr/bin/lua5.2 > $ /bin/sh -c '[ -x /usr/bin/lua5.2 ] && echo yes || echo no' > yes > > This issue occurs not only on my box, but also on Travis CI (see > https://travis-ci.org/fperrad/lua-TestMore/jobs/94843460) > before I force the version to 2.2.2 in > https://github.com/fperrad/lua-TestMore/blob/master/.travis.yml.
Thanks for catching the bug and providing info. Peter Melnichenko just pushed a fix and I'm packaging 2.2.3-rc2 right now. -- Hisham ------------------------------------------------------------------------------ Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers