安装 luagraph 时出错

安装http://luarocks.org/repositories/rocks/luagraph-1.0.4-1.src.rock...
使用 http://luarocks.org/repositories/rocks/luagraph-1.0.4-1.src.rock... 切换到 'build' 模式
存档:/tmp/luarocks_luarocks-rock-luagraph-1.0.4-1-656/luagraph-1.0.4-1.src.rock
  解压:luagraph-1.0.4-1.rockspec
  解压:luagraph-1.0.4.tar.gz

错误:无法找到 GRAPHVIZ 的预期文件 graphviz/graph.h。您可能需要在系统中安装 GRAPHVIZ 或将 GRAPHVIZ_DIR 或 GRAPHVIZ_INCDIR 传递到 luarocks 命令。示例:luarocks install luagraph GRAPHVIZ_DIR=/usr/local
点赞
用户1190388
用户1190388

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

2016-10-23 14:32:37