Questions tagged [lua]
Lua is a scripting language with a focus on extensible semantics. This tag is for questions regarding Lua development on Ubuntu.
15
questions with no upvoted or accepted answers
4
votes
1
answer
3k
views
conky-all says it's installing cairo but lua can't find cairo anywhere
I've been trying to get conky to work for awhile now, but I can't seem to make it install cairo properly.
What I've done:
installed conky-all (sudo apt-get install conky-all)
Tried to get a theme ...
2
votes
1
answer
168
views
wxLua caused collect2: error: ld returned 1 exit status
I try to get zerobrane studio running. Unfortunately, I missing wxLua. Therefore, I did the following steps:
$ sudo apt install libwxgtk3.0-dev cmake libwxgtk-media3.0-gtk3-dev libwxgtk-media3.0-dev ...
2
votes
0
answers
694
views
texlua installed but not working
I've installed Tex Live 2015 following these instructions.
When I try to use the script "getnonfreefonts" from the tug website I get these errors:
sudo texlua install-getnonfreefonts
sudo: texlua: ...
2
votes
0
answers
2k
views
Vlc http interface keep asking password
I am trying to control vlc from browser or my android phone. I read wiki vlc. And I believe I did everthing right. Enabled Http interface, set a password. But when I go to localhost:8080 browser asks ...
1
vote
0
answers
140
views
mpv - How do I slow down ONLY 25fps videos to 24fps? I tried the "autospeed.lua" script but it's doing nothing despite other lua scripts working
Much like how reclock worked on Windows, I want to be able to slow down ONLY 25fps videos to 24fps with the corresponding reduction in audio pitch in order to cancel-out any PAL speed-up (PAL speed-...
1
vote
1
answer
1k
views
how to compile Lua 5.3.5 shared library?
by default, there is no so file compiled. The default make doesn't support .so
how to modify the Makefile to produce a so file?
Thanks
1
vote
0
answers
667
views
How to install HDF5 version 1.8 on Ubuntu 17.10?
I am working on torch but when I try to run the following command:
require 'hdf5'
this returns the following error:
/home/mobeen/torch/install/share/lua/5.1/hdf5/ffi.lua:71: Unsupported HDF5 ...
1
vote
1
answer
3k
views
What is the correct folder location for a dissector lua as plugin for wireshark?
I have a lua dissector (xxx.lua) which I normally run on windows under C:\Program Files\Wireshark\plugins\2.2.4
I tried to copy this in Ubuntu 14.04 following various recommendations found online ...
1
vote
1
answer
3k
views
Install rocks without reloging after 'apt-get install luarocks'
I'm trying to script an install which needs luarocks and a couple of rocks installed.
After: sudo apt-get -y install luarocks
But before I relog, If I try: luarocks install loadcaffe
I get
Error: ...
1
vote
1
answer
7k
views
How to solve this (missing: CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) issue?
I am trying to install Torch using this thread
And when I tried run ./install.sh which installs LuaJIT, LuaRocks, and then uses LuaRocks (the Lua package manager) to install core packages like a ...
0
votes
0
answers
122
views
How to add math library for gcc in docker Image?
I am trying to containerize LuaJIT, a derivative of Ubuntu image. I've installed build-essentials and I am getting the below compiler error saying that I am missing math library. There is already -lm ...
0
votes
0
answers
79
views
Lua error for wireshark attempt to index global 'bit' (a function value)
I'm getting this error:
Here the packet is not properly decoding on wireshark version 4.0.6
Attached is the packet
Frame 3457: 140 bytes on wire (1120 bits), 140 bytes captured (1120 bits) on ...
0
votes
2
answers
775
views
Warning on installing CUTORCH about missing dependency files that are there
I am trying to install cuda, torch, cutorch and cudnn on Ubuntu. Cuda and Torch are installed by when I attempt to do luarocks install cutorch. I get a ton of errors. Primarily a stream of this:
...
0
votes
1
answer
2k
views
mod_lua is missing in 14.04?
Apache is 2.4.7 in the new 14.04 release.
Various website and release notes mention that lua via mod_lua became available.
There is a lua.load file in /etc/apache2/mods-available, but the ...
-2
votes
1
answer
462
views
How to correctly open and edit .lua scripts on ubuntu
I'm making a mod for a game, and all the major program files are written in Lua, however when I go to edit them all I see is a bunch of mumbo jumbo. Any ideas on what I'm doing wrong?
https://i.stack....