0
安装 http://luarocks.org/repositories/rocks/luagraph-1.0.4-1.src.rock...
使用 http://luarocks.org/repositories/rocks/luagraph-1.0.4-1.src.rock... 切换到“构建”模式
存档:/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

4

1 回答 1

2

正如错误所述,“您可能必须在系统中安装 GRAPHVIZ ”。为此,请按照下载支持页面上的说明进行操作:http: //www.graphviz.org/Download..php

于 2016-10-23T14:32:37.010 回答