I've run into a problem when running the rFSM hello_world example on OS X 10.7.
/**
elenwe:rFSM dgooding$ pwd
/opt/rFSM
elenwe:rFSM dgooding$ ./tools/rfsm-sim examples/hello_world.lua
readlink: illegal option -- f
usage: readlink [-n] [file ...]
usage: dirname path
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org<http://Lua.org>, PUC-Rio
lua: cannot open /rfsm-sim.lua: No such file or directory
**/
Apparently readlink is different on OSX than on Linux.
Executing the rfsm-sim.lua directly avoids the readlink issue, but then complains about "module 'gv' not found". I'm using Homebrew and installed "graphviz --with-bindings", but that didn't seem to help.
If I find good solutions to these, I'll let the list know.
--
Dustin Gooding
NASA/JSC Robotics
rFSM on OSX
On Wed, Mar 21, 2012 at 04:04:46PM -0500, Gooding, Dustin R. (JSC-ER411) wrote:
> I've run into a problem when running the rFSM hello_world example on OS X 10.7.
I suppose you are the first to test this...
> /**
> elenwe:rFSM dgooding$ pwd
> /opt/rFSM
> elenwe:rFSM dgooding$ ./tools/rfsm-sim examples/hello_world.lua
> readlink: illegal option -- f
> usage: readlink [-n] [file ...]
> usage: dirname path
> Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
> lua: cannot open /rfsm-sim.lua: No such file or directory
> **/
>
> Apparently readlink is different on OSX than on Linux.
>
> Executing the rfsm-sim.lua directly avoids the readlink issue, but then
> complains about "module 'gv' not found". I'm using Homebrew and installed
> "graphviz --with-bindings", but that didn't seem to help.
>
> If I find good solutions to these, I'll let the list know.
Ok, Thanks!
Markus