Questions tagged [luarocks]

LuaRocks is a deployment and management system for Lua modules.

From its homepage:

LuaRocks allows you to install Lua modules as self-contained packages called "rocks", which also contain version dependency information. This information is used both during installation, so that when one rock is requested all rocks it depends on are installed as well, and at run time, so that when a module is required, the correct version is loaded. LuaRocks supports both local and remote repositories, and multiple local rocks trees. You can download and install LuaRocks on Unix and Windows.

LuaRocks is free software and uses the same license as Lua.

221 questions
0
votes
1 answer

Using luarocks to distribute programs

luarocks is mainly used to distribute lua libraries which are then loaded using require in a script. I was wondering if it's possible to use luarocks to distribute executable programs written in Lua. There seems to be no distinction made by…
antagon
  • 119
  • 8
0
votes
1 answer

Single github repo for multiple platforms

I am writing a small code project (or module), and willing to implement the same technique in 3 different languages, namely: Python, JS, Lua. I would like to make a single github repo that contains all the code in all these languages. My question…
khan
  • 7,005
  • 15
  • 48
  • 70
0
votes
1 answer

Getting two different errors when running teradeep demo, libthnets.so is missing

I was attempting to install the teradeep/demo-apps to experiment with, and have hit a roadblock. After unpacking, I was presented with three folders: opencv, generic-pc, and generic-embedded. After compiling the two generic folders, I attempted to…
Rich
  • 1,103
  • 1
  • 15
  • 36
0
votes
1 answer

How to split a Torch class into several files in a Lua rock

In my recently aided in the development of a Dataframe package for Torch. As the code base has quickly doubled there is a need to split the class into several sections for better organization and follow-up (issue #8). A simple test-class would be a…
Max Gordon
  • 5,367
  • 2
  • 44
  • 70
0
votes
2 answers

Lua 5.3 thinks socket.lua doesn't exist in a directory where it actually does exist

Here's a screenshot: https://drive.google.com/open?id=0B4Dqo44FM648VTVKVzBKSERldGc I would like to have fun contributing to the development of an open source game but this problem is preventing me from doing this. My LuaRocks install is configured…
user6033759
0
votes
1 answer

How to use lua web sockets on windows?

This answer suggests this library to use web sockets for lua. The installation guide of the library contains three strings: $ git clone git://github.com/lipp/lua-websockets.git $ cd lua-websockets $ luarocks make…
user2136963
  • 2,526
  • 3
  • 22
  • 41
0
votes
1 answer

Why is the luarocks makefile failing to find my lua interpreter?

I'm trying to install luarocks to a custom location. I've downloaded the latest tarball (v2.3.0) and run the following ./configure command: # OPENRESTY_PREFIX is set to /opt/openresty ./configure --prefix=$OPENRESTY_PREFIX \ …
Louis Thibault
  • 20,240
  • 25
  • 83
  • 152
0
votes
1 answer

Luarocks error on ubuntu

I am trying to run Neuraltalk2 on Ubuntu. But I am getting an error as follows: parag@parag:~/torch$ sudo luarocks install nn [sudo] password for parag: Error: No results matching query were found. I followed the following steps uptill now: sudo…
Parag
  • 655
  • 4
  • 7
  • 19
0
votes
1 answer

Adding Local Include Directory to Luarocks install

I have torch installed with prefix home/username/torch and am trying to run: luarocks install trepl Because I don't have sudo access to the cluster machine, I had to install readline (a dependancy of trepl) with prefix home/username/packages. I…
0
votes
1 answer

Lapis Framework does not create new project

I've already installed Lua, Openresty and Luarocks, but after executing sudo luarocks install lapis or luarocks install lapis --local and then run lapis new in a blank directory and nothing happens is there a missing step?
Absulit
  • 1,885
  • 1
  • 17
  • 17
0
votes
1 answer

lua 5.3 + luasocket 3.0rc1-2: undefined symbol: luaL_setfuncs

I have Luasocket 3.0rc1-2 installed through luarocks with Lua 5.3 running on the server. When I run a script requiring luasocket on nginx (1.8.0) with LuaJIT (2.1), it produces an error message: lua entry thread aborted: runtime error: error loading…
user479947
0
votes
1 answer

The command `luarocks config` gives errors

I installed luarocks-2.2.1-win32 from here: https://keplerproject.github.io/luarocks/releases/ and the installation was simple. There is a .bat file that does it all. But unfortunately, the rocks that are downloaded are not recognized by LUA. I…
aquagremlin
  • 3,515
  • 2
  • 29
  • 51
0
votes
1 answer

LUAROCKS on windows installs rocks oddly

On Linux, luarocks installs rocks to /usr/local/lib/luarocks/rock and puts a corresponding lua file into /usr/local/share/lua/5.3 On Windows(LUA 5.1), the rocks are in: C:\Program Files (x86)\LuaRocks\systree\lib\luarocks and the lua files are…
aquagremlin
  • 3,515
  • 2
  • 29
  • 51
0
votes
2 answers

What network protocols does luarocks install use?

I am running on a redhat box, behind a corporate firewall. I'm guessing that some of the protocols are getting blocked, but I'm a relative neophyte to git, and this is my first time ever using luarocks. It looks to me like luarocks is trying to…
John
  • 5,735
  • 3
  • 46
  • 62
0
votes
1 answer

Trouble running luarocks 2.2.0 in Windows - 'pwd' not recognized

I installed luarocks in 64-bit Windows 7, and everything installed correctly, but when I try to run luarocks I get the following error: 'pwd' is not recognized as an internal or external command, operable program or batch file. C:\Program Files…
1 2 3
14
15