luarocks Questions

2

Solved

According to this page: http://luarocks.org/en/Creating_a_rock This should be saved in a file called luafruits-1.0-1.rockspec. The name must contain lowercase versions of the "package" and "ver...
Dissolute asked 11/8, 2013 at 22:51

2

Solved

I am working on Debian Stable Linux. I installed luafilesystem module by command: luarocks --local install luafilesystem However, it is not found when any of following is used in lua source files:...
Vat asked 29/10, 2017 at 19:14

3

I am trying to require a module I downloaded using luarocks using require "lualogging" but lua (and I!) cannot find where this module was downloaded to. Here is what I did I have used apt-get t...
Rolling asked 3/7, 2014 at 20:7

2

Solved

I come from a python background and I'm hoping to do something semantically equivalent to pip install -r requirements.txt to install a list of Python packages at the right version. Is this achieva...
Tacit asked 25/1, 2016 at 19:40

1

I am trying to install some luarocks packages but it seems that although lua5.3 is installed, the relevant headers are not $ which lua /usr/bin/lua $ lua -v Lua 5.3.3 Copyright (C) 1994-2016 Lua.o...
Myocarditis asked 12/4, 2021 at 18:1

4

I have the following luarocks: package = "project-name" version = "1.0-1" source = { url = "..." } description = { summary = "etc" detailed = [[]], homepage = "" } dependencies = { "lua >=...
Diesel asked 29/3, 2019 at 19:8

4

Solved

I am writing a small Lua project and using Luarocks to install my 3rd-party dependencies. The default Lua version on my machine is 5.2 and up to this point everything is working just fine. However...
Counterrevolution asked 2/12, 2013 at 5:39

2

Solved

I've looked at many pages and either could not follow what they were saying because they were unclear and/or my knowledge is just not sufficient enough. I am trying to run: luarocks install http...
Shipwreck asked 5/12, 2017 at 21:34

3

I have a custom plugin for Kong which worked fine for Kong v0.14.1 but after I upgraded to v.1.0.2 it's throwing an error. OS used: macOS Mojave In kong.conf file I have this code: log_level = d...
Rowan asked 22/1, 2019 at 12:40

2

I am trying to install a luarocks package called stn. The official way of installing it is by running: luarocks install https://raw.githubusercontent.com/qassemoquab/stnbhwd/master/stnbhwd-scm-1.r...
Iain asked 6/12, 2017 at 2:20

2

Solved

I installed the luarocks package on Linux Mint, and afterwards installed a couple of rocks such as sudo luarocks install telescope, but when running a script via lua script.lua, require cannot find...
Unofficial asked 1/9, 2014 at 9:0

0

I'm creating a module to send a mail using sendgrid (still very earlier stage) I have following rockspec package = "sendgrid" version = "0.1.0-1" source = { url = "git://github.com/meetme2meat/s...
Backhander asked 28/11, 2018 at 11:29

2

Solved

I'm using lua-cjson package.path = package.path .. ";../?.lua" local json = require('cjson') And I'm getting: lua: error loading module 'cjson' from file '/usr/local/lib/lua/5.3/cjson.so': dlo...
Rollick asked 10/5, 2018 at 20:40

0

Is there a file/format that I can save all the dependencies required for an application so that I can run luarocks install or something and reads all those dependencies and installs them in that di...
Truda asked 10/5, 2018 at 19:49

3

Solved

I'm totally new in Lua. And here is what I've done on my new virtual Ubuntu. First I install the lua-5.3.4 which is download from their official website. make linux make install And this is the ...
Pokpoke asked 5/3, 2017 at 7:22

0

I am trying to install a package usingluarocks. This is the output I get: [100%] Linking CXX shared module libcustn.so [100%] Built target custn Install the project... -- Install configuration: "R...
Champion asked 6/12, 2017 at 5:36

3

Solved

I hunted around but I couldn't determine if this is possible. Basically, http://luarocks.org is down, and I already have a copy of luafilesystem installed on another machine locally here. With Rub...
Downhill asked 3/9, 2012 at 19:33

3

I am trying to use torch together with the hdf5 package. I am trying to install it via luarocks install hdf5 but during the build phase I get an error regarding the gcc-plugin header. (gcc relies o...
Alisander asked 28/3, 2016 at 16:56

1

Solved

I'm working on my first lua package, and I am deeply confused as to what to name my rockspec(s) and where to put them. Every popular lua package I look at seems to deal with rockspecs differently. ...
Fab asked 1/12, 2016 at 1:36

1

Solved

I install luarocks: $ sudo apt-get install luarocks I install lua-cjson by luarocks: $sudo luarocks install lua-cjson show packages: $luarocks list Installed rocks: ---------------- lua-cjs...
Womanly asked 29/9, 2016 at 2:51

2

Solved

I have both Lua 5.1 and Lua 5.2 installed on Linux. When using luarocks to install a package is it possible to pass on option to luarocks that specifies which version of Lua the rock should be inst...
Orate asked 21/5, 2015 at 0:15

2

I want to install both Lua 5.2 and 5.1 on my Linux computer. Is this just a matter of installing each version with the usual make linux install or is there something else? In particular, I am worri...
Viceroy asked 13/1, 2013 at 16:57

2

I followed the instructions here and set up Lua and Luarocks from scratch, with Mingw. Everything worked fine and I was able to install rocks, including ones which require compiling like LuaSocket....
Draff asked 3/12, 2014 at 16:30

4

Solved

lua -e "print(package.path)" ./?.lua;/usr/share/lua/5.1/?.lua;/usr/share/lua/5.1/?/init.lua;/usr/lib/lua/5.1/?.lua;/usr/lib/lua/5.1/?/init.lua luajit -e "print(package.path)" ./?.lua;/us...
Sauerkraut asked 23/7, 2011 at 22:1

3

Solved

When I use the following script: local smtp = require("socket.smtp") local from = "from@host" local rcpt = "rcpt@host" local msg = { headers = { to = rcpt, subject = "Hi" }, body = "Hello" } ...
Functional asked 7/5, 2015 at 21:15

© 2022 - 2024 — McMap. All rights reserved.