-1

我已经从 Git ( https://git.skewed.de/count0/graph-tool ) 下载了 graph-tool v1.13。该INSTALL文件指示我./configure在源代码目录中运行,但该configure文件不存在。我需要做什么来安装它?

编辑:如果我autoconf在目录中运行,我会收到以下消息:

sh: 1: git: not found
sh: 1: git: not found
configure.ac:20: error: possibly undefined macro: AM_INIT_AUTOMAKE
  If this token and others are legitimate, please use m4_pattern_allow.
  See the Autoconf documentation.
configure.ac:22: error: possibly undefined macro: AM_PROG_CC_C_O
configure.ac:33: error: possibly undefined macro: AC_DISABLE_STATIC
configure.ac:55: error: possibly undefined macro: AC_MSG_RESULT
configure.ac:87: error: possibly undefined macro: AM_CONDITIONAL
configure.ac:188: error: possibly undefined macro: AM_PATH_PYTHON
configure.ac:193: error: possibly undefined macro: AC_PYTHON_DEVEL

我不完全确定如何处理这些消息或者它们是否是预期的行为,但如果我运行由此创建的configure文件,它会返回以下错误:

configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."
4

1 回答 1

1

跑步./autogen.sh解决了这个问题。这会生成一个configure文件。

于 2016-03-01T12:48:21.703 回答