- 在联网的机器上下载Graphviz的源码包:
网址:Graphviz下载地址 - 将下载的安装包copy到linux下,解压后,在解压目录下执行安装
tar -xvf graphviz-12.1.0.tar.gz
cd graphviz-12.1.0
./configure --prefix=/your_want_install_path/
make
make install
注:我在执行make命令时报错找不到php.h文件,此时重新执行下述命令即可。
./configure --prefix=/your_want_install_path/ --enable-php=no
make
make install
- 设置环境变量,在.cshrc文件中增加如下命令
setenv PATH /your_want_install_path/:${PATH}
标签:install,make,离线,graphviz,报错,want,path,your
From: https://blog.csdn.net/Czz2zzzz/article/details/141890314