安装luagraph时出错

时间:2016-10-23 13:09:39

标签: lua luarocks

Installing http://luarocks.org/repositories/rocks/luagraph-1.0.4-1.src.rock...
Using http://luarocks.org/repositories/rocks/luagraph-1.0.4-1.src.rock... switching to 'build' mode
Archive:  /tmp/luarocks_luarocks-rock-luagraph-1.0.4-1-656/luagraph-1.0.4-1.src.rock
  inflating: luagraph-1.0.4-1.rockspec  
  inflating: luagraph-1.0.4.tar.gz   

Error: Could not find expected file 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

1 个答案:

答案 0 :(得分:2)

如错误提及,您可能需要在系统中安装GRAPHVIZ "。为此,请按照其下载支持页面上的说明进行操作:http://www.graphviz.org/Download..php