It was thus said that the Great Sean Conner once stated: > It was thus said that the Great Hisham once stated: > > On 17 March 2015 at 18:28, Sean Conner <s...@conman.org> wrote: > > > It was thus said that the Great Sean Conner once stated: > > >> > > >> I saw the announcement of LuaRocks 2.2.0-2. I tried updating (using > > >> "luarocks install luarocks") and the short version of it---I ended up > > >> having > > >> to nuke *just about everything* > > > > > > Blah blah blah [snip] > > > > > > Okay, I think I see the problem here. > > > > Yes, site_config.lua is not installed by the luarocks rockspec, > > because it is dependent on the options of the configure script, it is > > created by `make bootstrap` and assumed it does not change between > > upgrades. > > > > I didn't consider the case where you're installing LuaRocks into a > > different prefix of the bootstrap one. > > > > This was quite tricky to do. I ended up resorting to two different > > (rockspec,Makefile) pairs for bootstrap and upgrade. > > > > Please try this out: > > > > luarocks install > > http://rocks.moonscript.org/manifests/hisham/luarocks-scm-4.rockspec > > That worked. For the most part. site_config.lua is still pointing to > stuff under /usr/local. I have removed /usr/local/share/lua/5.1/luarocks > and /usr/local/bin/luarocks* and it works fine. I can remove > /usr/local/etc/luarocks, and it works, but it just doesn't *feel* right > (especially when it prints "System: /usr/local/etc/luarocks/config.lua > (failed)"). > > I'm not sure what all is involved, but if it's too hard and I'm the only > one doing this crazy thing, I'll understand.
Can I ask for one more options? A "make uninstall"? I have *seriously* messed up my install of LuaRocks on my machine, to the point where LuaRocks jus does no work and "make bootstrap" is now failing (at root!): Error: /home/spc/apps/luarocks/rockspec: Mandatory field version is missing. make: *** [bootstrap] Error 1 [root]lucy:/home/spc/apps/luarocks> Also, a note about trying to install LuaRocks in a different prefix of the bootstrap one is not recommended at this time. -spc (Even recloning the git repo didn't fix the bootstrap problem ... ) ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers