1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > configure: The C compiler (located as /usr/bin/gcc) does not seem to be the required gcc compiler.

configure: The C compiler (located as /usr/bin/gcc) does not seem to be the required gcc compiler.

时间:2019-02-22 00:53:15

相关推荐

configure: The C compiler (located as /usr/bin/gcc) does not seem to be the required gcc compiler.

具体错误是:

checking for gcc... /usr/bin/gccchecking resolved symbolic links for CC... no symlinkconfigure: The C compiler (located as /usr/bin/gcc) does not seem to be the required gcc compiler.configure: The result from running with --version was: ""configure: error: A gcc compiler is required. Try setting --with-tools-dir.configure exiting with result code 1

直接搜索开始的一段是找不到的,因为文本样子如下:

$as_echo "$as_me:${as_lineno-$LINENO}: The $COMPILER_NAME compiler (located as $COMPILER) does not seem to be the required $TOOLCHAIN_TYPE compiler.as_fn_error $? "A $TOOLCHAIN_TYPE compiler is required. Try setting --with-tools-dir." "$LINENO" 5

打开文件common/autoconf/generated-configure.sh,搜索compiler is required

注释或把报错命令改为echo即可。

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。