具体错误是:

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即可。

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

  1. linux 编译错误 configure: error: no usable python found at /usr/bin/python2.7

    源码编译时出现  configure: error: no usable python found at /usr/bin/python2.7 错误提示 原因是没有安装 python-devel 造成 ...

  2. (已解决)编译ffmpeg时:/usr/bin/ld: cannot find crtbegin.o

    问题如下 $ ./configure --enable-shared --prefix=/usr/local/ffmpeg gcc is unable to create an executable ...

  3. 【错误归纳】E: Sub-process /usr/bin/dpkg returned an error code (1)子进程 已安装 post-installation 脚本 返回了错误号 1

    问题描述 我在使用apt-get install 安装某个程序的时候出现了下面的错误提示: 正在设置 anydesk (5.1.1) ...System start/stop links for /e ...

  4. LLVM报错解决:/usr/bin/ld: cannot find -lz和/usr/bin/ld: cannot find -lncurses

    晚上在用LLVM时报错如下: g++ `llvm-config-3.9 --cppflags` -std=c++11 -o compiler main.o `llvm-config-3.9 --lib ...

  5. php baocuo error,PHP编译报错configure: error: Cannot find libmysqlclient under /usr.

    今天编译PHP的时候遇到了几个错误,记录一下 第一次编译的时候报错如下: configure: error: mcrypt.h not found. Please reinstall libmcryp ...

  6. E: Sub-process /usr/bin/dpkg returned an error code (1)解决办法

    E: Sub-process /usr/bin/dpkg returned an error code (1)解决办法 安装libapache2-svn出现了这个错误,是由于apt-get安装软件时出 ...

  7. 关于E: Sub-process /usr/bin/dpkg returned an error code (1)错误解决

    关于E: Sub-process /usr/bin/dpkg returned an error code (1)错误解决 前言: 在用apt-get安装软件时出现了类似于: install-info ...

  8. usr / bin / ld:找不到-l <nameOfTheLibrary>

    本文翻译自:usr/bin/ld: cannot find -l I'm trying to compile my program and it returns this error : 我正在尝试编 ...

  9. -bash: cd: /usr/bin/mysql:_linux下mysql的卸载、安装全过程amp;amp;mysql安装后bash:mysql:command not found...

    http://blog.sina.com.cn/s/blog_48d5933f0100ts7t.html 卸载mysql 1.查找以前是否装有mysql 命令:rpm -qa|grep -i mysq ...

  10. mac安装php的mongodb扩展报错:No such file or directory autom4te: /usr/bin/m4 failed with exit status: 1...

    前几天mac下brew升级了所有软件,之前安装的好多php扩展都得重新安装下.在安装mongdb扩展的时候,执行phpize报如下错误: /Applications/Xcode.app/Content ...

最新文章

  1. UTF-8与UTF-8 BOM
  2. c++文件读取空格_程序员术与道:术—C语言对文件进行处理,文件处理的基本操作...
  3. matlab 职坐标,机器学习入门之机器学习实战ByMatlab(四)二分K-means算法
  4. python绘制动态图表怎么存下来_用python如何实现导入excel数据后自动生成图表?python如何实现交互式动态图表?...
  5. Spring Boot注入自定义properties文件配置
  6. 基于51单片机实现模拟IIC总线时序
  7. 2021年货节消费趋势报告
  8. 数据仓库中的两大经典模型
  9. 文本文档如何运行c语言代码,C程序员如何创建、打开、关闭文本文件或二进制文件...
  10. 简单局域网聊天室--Java版
  11. 【语音识别招聘_最新热搜语音识别人才招聘信息】-前程无忧
  12. 智伴机器人tf卡下载地址_入门操作详解教你如何玩转智伴1X机器人!
  13. 在沙箱中IE不能上网的解决方法
  14. python中split_python中split是什么意思
  15. 德州扑克游戏算法讲解
  16. 【Qt 开源音视频框架模块QtAV】03:QTAV主要接口展示以及播放器源码分享
  17. 双层循环遍历 减少时间复杂度
  18. 软件测试工程职场发展细谈
  19. 实习广场投递简历分析
  20. 万网虚拟主机批量虚拟空间

热门文章

  1. jq跨域代理_JQuery前端跨域问题的七种解决方案
  2. windows平台上编写的python无法在unix_在Windows平台上编写的Python程序无法在Unix平台运行?...
  3. fht算法c语言源码,sklearn中LinearRegression使用及源码解读
  4. redis 包之间关系
  5. 记一次设置密钥登陆centos7所遇问题
  6. Ubuntu 无法mount解决办法
  7. shell历史命令记录功能
  8. ajax+springmvc返回中文乱码的解决办法
  9. ELK日志分析系统迁移记录
  10. 关于编程语言的一点思考