configure: The C compiler (located as /usr/bin/gcc) does not seem to be the required gcc compiler.
具体错误是:
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.相关推荐
- 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 造成 ...
- (已解决)编译ffmpeg时:/usr/bin/ld: cannot find crtbegin.o
问题如下 $ ./configure --enable-shared --prefix=/usr/local/ffmpeg gcc is unable to create an executable ...
- 【错误归纳】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 ...
- 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 ...
- php baocuo error,PHP编译报错configure: error: Cannot find libmysqlclient under /usr.
今天编译PHP的时候遇到了几个错误,记录一下 第一次编译的时候报错如下: configure: error: mcrypt.h not found. Please reinstall libmcryp ...
- 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安装软件时出 ...
- 关于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 ...
- usr / bin / ld:找不到-l <nameOfTheLibrary>
本文翻译自:usr/bin/ld: cannot find -l I'm trying to compile my program and it returns this error : 我正在尝试编 ...
- -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 ...
- 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 ...
最新文章
- UTF-8与UTF-8 BOM
- c++文件读取空格_程序员术与道:术—C语言对文件进行处理,文件处理的基本操作...
- matlab 职坐标,机器学习入门之机器学习实战ByMatlab(四)二分K-means算法
- python绘制动态图表怎么存下来_用python如何实现导入excel数据后自动生成图表?python如何实现交互式动态图表?...
- Spring Boot注入自定义properties文件配置
- 基于51单片机实现模拟IIC总线时序
- 2021年货节消费趋势报告
- 数据仓库中的两大经典模型
- 文本文档如何运行c语言代码,C程序员如何创建、打开、关闭文本文件或二进制文件...
- 简单局域网聊天室--Java版
- 【语音识别招聘_最新热搜语音识别人才招聘信息】-前程无忧
- 智伴机器人tf卡下载地址_入门操作详解教你如何玩转智伴1X机器人!
- 在沙箱中IE不能上网的解决方法
- python中split_python中split是什么意思
- 德州扑克游戏算法讲解
- 【Qt 开源音视频框架模块QtAV】03:QTAV主要接口展示以及播放器源码分享
- 双层循环遍历 减少时间复杂度
- 软件测试工程职场发展细谈
- 实习广场投递简历分析
- 万网虚拟主机批量虚拟空间