0

我的用例:我使用自制软件安装了 graphviz。它与包含头文件和动态库一起安装到/usr/local/Cellar/graphviz中,这很棒。然后我尝试使用easy_install安装pygraphviz,但出现以下错误:

pygraphviz/graphviz_wrap.c:2954:10: fatal error: 'graphviz/cgraph.h'
file not found
#include "graphviz/cgraph.h"

我可以手动添加包含路径,但是链接器抱怨找不到动态库。同样,我可以手动指定路径,但它似乎应该只是工作(TM)。那么,为什么easy_install 不能很好地与自制安装的库配合使用呢?

4

0 回答 0