Hi all,
I am trying to use the lua-sim/viz tool but I have the following error:
./rfsm-sim
Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio
lua: error loading module 'gv' from file '/usr/lib/lua/5.1/gv.so':
/usr/lib/lua/5.1/gv.so:1: unexpected symbol near 'char(127)'
stack traceback:
[C]: ?
[C]: in function 'require'
/home/fabrizio/tools/rfsm/rfsm2uml.lua:37: in main chunk
[C]: in function 'require'
/home/fabrizio/tools/rfsm/tools/rfsm-sim.lua:4: in main chunk
[C]: ?
I tried to write: "lua -l gv" and the error is the same.
I didn't find help on-line, any suggestions?
Fabrizio
rFSM intalling problem
On Mi, Sep 25, 2013 at 04:10:52 +0200, Fabrizio Boriero wrote:
> Hi all,
> I am trying to use the lua-sim/viz tool but I have the following error:
> ./rfsm-sim
> Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio
> lua: error loading module 'gv' from file '/usr/lib/lua/5.1/gv.so':
> /usr/lib/lua/5.1/gv.so:1: unexpected symbol near 'char(127)'
> stack traceback:
> [C]: ?
> [C]: in function 'require'
> /home/fabrizio/tools/rfsm/rfsm2uml.lua:37: in main chunk
> [C]: in function 'require'
> /home/fabrizio/tools/rfsm/tools/rfsm-sim.lua:4: in main chunk
> [C]: ?
>
> I tried to write: "lua -l gv" and the error is the same.
>
> I didn't find help on-line, any suggestions?
What is your LUA_PATH and LUA_CPATH ?
Did you by accident add /usr/lib/lua/5.1/ to LUA_PATH and not the
LUA_CPATH? It seems Lua is trying to load a compiled module as if it
were a Lua module.
Markus
rFSM intalling problem
You are the best ;)
I exactly did the error that you said!
Thanks a lot!
Fabrizio
On Wed, Sep 25, 2013 at 6:00 PM, Markus Klotzbuecher <
markus [dot] klotzbuecher [..] ...> wrote:
> On Mi, Sep 25, 2013 at 04:10:52 +0200, Fabrizio Boriero wrote:
> > Hi all,
> > I am trying to use the lua-sim/viz tool but I have the following error:
> > ./rfsm-sim
> > Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio
> > lua: error loading module 'gv' from file '/usr/lib/lua/5.1/gv.so':
> > /usr/lib/lua/5.1/gv.so:1: unexpected symbol near 'char(127)'
> > stack traceback:
> > [C]: ?
> > [C]: in function 'require'
> > /home/fabrizio/tools/rfsm/rfsm2uml.lua:37: in main chunk
> > [C]: in function 'require'
> > /home/fabrizio/tools/rfsm/tools/rfsm-sim.lua:4: in main chunk
> > [C]: ?
> >
> > I tried to write: "lua -l gv" and the error is the same.
> >
> > I didn't find help on-line, any suggestions?
>
> What is your LUA_PATH and LUA_CPATH ?
>
> Did you by accident add /usr/lib/lua/5.1/ to LUA_PATH and not the
> LUA_CPATH? It seems Lua is trying to load a compiled module as if it
> were a Lua module.
>
> Markus
>