It was thus said that the Great Sean Conner once stated: > > I'm running LuaRocks 2.4.4. I want to install the latest version, so as > I've done before, I do: > > % luarocks install luarocks > > Only it fails because my current version of LuaRocks doesn't support > LuaRocks 3.0 rock files. So it looks like I'm going to have to do this the > hard way. > > So far, it's been a disaster. Rocks are, for some reason, being installed > in $HOME/apps/luarocks-3.0.3/lua_modules and NOT the system wide one in > /usr/local or even my old $HOME/.luarocks. There is nothing in the > system-wide configuration file nor my $HOME/.luarocks/config file that says > "install in the source location". I did a './configure' and it reports: > > > Configuring LuaRocks version 3.0.3... > > Lua version detected: 5.3 > Lua interpreter found: /usr/local/bin/lua > lua.h found: /usr/local/include/lua.h > unzip found in PATH: /usr/bin > > Done configuring. > > LuaRocks will be installed at......: /usr/local > LuaRocks will install rocks at.....: /usr/local > LuaRocks configuration directory...: /usr/local/etc/luarocks > Using Lua from.....................: /usr/local > > * Type make and make install: > to install to /usr/local as usual. > * Type make bootstrap: > to install LuaRocks into /usr/local as a rock. > > This is *after* I deleted *everything* dealing with the old LuaRocks > version. This is *after* I found out it was picking up LuaJIT before it > picked up Lua. > > I will keep calm and carry on, but so far, this update has been quite > disasterous.
Okay, I got it working. All I had to do was: * Remove all evidance that LuaRocks had been installed * Remove all evidance that LuaJIT had been installed * Remove all evidance that Lua had been install * Reinstall Lua * mkdir $HOME/.lurocks * reinstall previous config file there * ./configure LuaRocks * make bootstrap And it worked after all that. -spc _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers