您当前的位置: 首页 >  ui

柳鲲鹏

暂无认证

  • 0浏览

    0关注

    4642博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

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

柳鲲鹏 发布时间:2020-10-30 09:27:04 ,浏览量:0

具体错误是: 

checking for gcc... /usr/bin/gcc
checking resolved symbolic links for CC... no symlink
configure: 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即可。

关注
打赏
1665724893
查看更多评论
立即登录/注册

微信扫码登录

0.0546s