我在tclreadline2.1.0的tclreadline中给出了./configure,得到了这个错误
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether make sets ${MAKE}... (cached) yes
checking host system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for executable suffix... (cached) no
checking build system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
loading cache ./config.cache within ltconfig
checking host system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized
configure: error: libtool configure failed请给出正确编译的建议谢谢您的帮助
发布于 2014-11-30 04:47:50
找到答案here。要使旧的configure脚本正常工作,可以更新config.sub文件:
curl 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD' > config.sub这将用最新版本替换config.sub脚本。
发布于 2014-07-23 19:54:56
这个包看起来已经很久没有维护过了。因此,用于构建配置脚本和辅助文件的自动工具可能甚至不知道x86-64。
假设你已经安装了自动工具-- autoconf,automake,libtool等等--你可以尝试运行autoreconf -ivf,然后再次尝试./configure。你可能会收到很多关于过时宏等的警告,但它可能会起作用。
https://stackoverflow.com/questions/24909409
复制相似问题