0

I installed Lua Rocks as instructed here: https://github.com/keplerproject/luarocks/wiki/Download#Installing

After './configure' I got a message to choose either: 'make build' then 'make install' OR 'make bootstrap'

What's the difference between these two and which should I choose?

1
  • I don't know but I would assume that the bootstrap option requires luarocks to be already installed. Mar 29, 2015 at 22:54

1 Answer 1

3

As you can see from the ChangeLog:

make bootstrap is now an advertised option for installing LuaRocks itself as a rock on Unix systems

That means that if you go this way you can upgrade luarocks via luarocks install:

Those of you who installed LuaRocks 2.1.0 or later by using make bootstrap on Unix may upgrade by simply running: luarocks install luarocks

from [ANN] LuaRocks 2.2.1.

5
  • Thank you. I credited you for an answer but still do not understand the difference between the result of bootstrap and install. Why does one choose on or the other? Is this like asking why are there so many computer languages?? Mar 30, 2015 at 16:39
  • Warning: falling back to curl - install luasec to get native HTTPS support Installing rocks.moonscript.org/luarocks-2.2.1-2.src.rock... Using rocks.moonscript.org/luarocks-2.2.1-2.src.rock... switching to 'build' mode Updating manifest for /usr/local/lib/luarocks/rocks luarocks 2.2.1-2 is now built and installed in /usr/local (license: MIT/X11) Checking stability of dependencies on the absence of luarocks 2.2.1-1... Removing luarocks 2.2.1-1... Removal successful. Mar 30, 2015 at 16:53
  • then 'sudo luarocks install inspect' then ran some test code and got a bunch of 'no file.......' errors. I think I have to fix my PATH. Mar 30, 2015 at 16:57
  • But my point is that luarocks installed as bootstrap or as stnadard made no difference in running luarocks. Is it supposed to? Mar 30, 2015 at 16:57
  • It doesn't make any difference AFAIK. make bootstrap is the mode advertised on the official getting started.
    – deltheil
    Mar 30, 2015 at 21:44

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.