On 23 February 2014 16:24, Misty De Meo <mi...@brew.sh> wrote: > Hi, all, > > I have luarocks configured to use luajit via the Homebrew package > manager. When trying to install luaposix, the build fails due to an > incorrect LUA variable. luarocks tries to call configure like so: > >> ./configure LUA='luajit/bin/luajit' ... > > And since that's not a valid path, the configure script fails to find > luajit. The rockspec for luaposix seems simple enough, so I don't > think this is a luaposix issue: > >> build_command = "./configure LUA='$(LUA)' > > luarocks was configured with the following options for luajit: > > --with-lua-include=/usr/local/include/luajit-2.0 > --lua-suffix=jit > --with-lua=luajit > > So the unusual path I'm seeing wasn't specified when luarocks was installed.
--with-lua expects an absolute path: the prefix where your Lua installation is. I believe that should be --with-lua=/usr/local in your system. -- Hisham ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers