[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: "dynamic libraries not enabled"?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sun, 23 Jan 2011 09:24:32 -0200
> I tried building/using "random" but there's a bug in the script. I
> don't know enough about Lua to know what it is:
> /var/tmp/lua-5.1.4/src/lua test.lua
> /var/tmp/lua-5.1.4/src/lua: 1: Syntax error: "(" unexpected
That's weird. Are you sure test.lua is ok? Here are its first few lines:
1 -- test random library
2
3 require"random"
4
5 print(random.version)
> I wonder if the problem is not in the way I compile Lua, rather than
> modules.
Lua seems to be working fine. Try running test/hello.lua and test/bisect.lua,
from the original tarball.
- References:
- Re: "dynamic libraries not enabled"?, Drake Wilson
- Re: "dynamic libraries not enabled"?, Gilles Ganault
- Re: "dynamic libraries not enabled"?, Luiz Henrique de Figueiredo
- Re: "dynamic libraries not enabled"?, Gilles Ganault
- Re: "dynamic libraries not enabled"?, Luiz Henrique de Figueiredo
- Re: "dynamic libraries not enabled"?, Gilles Ganault
- Re: "dynamic libraries not enabled"?, Luiz Henrique de Figueiredo
- Re: "dynamic libraries not enabled"?, Gilles Ganault
- Re: "dynamic libraries not enabled"?, Luiz Henrique de Figueiredo
- Re: "dynamic libraries not enabled"?, Gilles Ganault