在使用Cygwin编译开瓶器时获取配置错误 [英] Getting Configure Error while compiling Corkscrew using Cygwin

查看:414
本文介绍了在使用Cygwin编译开瓶器时获取配置错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在Windows机器上使用Cygwin编译开瓶器。现在每次我尝试配置它,我得到一个错误,说明 configure:error:不能猜测构建类型;您必须指定一个

I am trying to compile corkscrew on a Windows machine using Cygwin. Now every time I try configuring it, I get an error which states that configure: error: cannot guess build type; you must specify one

这是完整的错误日志,对于那些谁想要看到它: -

Here is the complete error log for those who would like to see it :-

Blueelvis_RoXXX@PranavVJituri ~/corkscrew-2.0
$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for function prototypes... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for gawk... gawk
checking whether ln -s works... yes
checking build system type... configure: error: cannot guess build type; you must specify one

我也尝试使用 TARGET BUILD & HOST 参数,但它没有用,因为我得到相同的错误。

I also tried using the TARGET, BUILD & HOST parameters but it was of no use as I am getting the same error.

帮助

推荐答案

检查最新版本 automake

$ which automake
$ automake --version

搜索 /usr/share/automake*/config.guess

/usr/share/automake.1.11.1/config.guess

从您的构建树中替换config.guess /usr/share/automake.1.11.1/config.guess

replace config.guess from your build tree with /usr/share/automake.1.11.1/config.guess

这篇关于在使用Cygwin编译开瓶器时获取配置错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆