Git 版 (1.13) 的图形工具中没有 "configure"
No "configure" available in Git version (1.13) of graph-tool
我已经从 Git (https://git.skewed.de/count0/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
文件它 returns 以下错误:
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."
运行 ./autogen.sh
解决了这个问题。这会生成一个 configure
文件。
我已经从 Git (https://git.skewed.de/count0/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
文件它 returns 以下错误:
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."
运行 ./autogen.sh
解决了这个问题。这会生成一个 configure
文件。