I'm trying to use luagraph, a binding to the graphviz library: http://luagraph.luaforge.net/index.html
To install, I'm using luarocks in Mac OS X. The following command is executed in bash:
luarocks install luagraph
The output is the following:
Installing https://luarocks.org/luagraph-1.0.4-1.src.rock... Using https://luarocks.org/luagraph-1.0.4-1.src.rock... switching to 'build' mode
Error: Could not find expected file graphviz/graph.h, or graphviz/graph.h for GRAPHVIZ -- you may have to install GRAPHVIZ in your system and/or pass GRAPHVIZ_DIR or GRAPHVIZ_INCDIR to the luarocks command. Example: luarocks install luagraph GRAPHVIZ_DIR=/usr/local
I have been installed graphviz using homebrew, but I can't figure out how to pass GRAPHVIZ_DIR or GRAPHVIZ_INCDIR properly.
How can I install luagraph?
graphviz/graph.hfile it wants is not found in system bylocate graph.h, even if you install graphviz-dev package. - Dimitry