加--with-x编译vim时报错 configure: error: could not configure X
文章目录
- 1. vim 编译报错
- 2. 编译ccls报错
- 3. 编译gcc时报错
1. vim 编译报错
(1)
configure: error: could not configure X error: Bad exit status from /var/tmp/rpm-tmp.2xwoeZ (%build)`
先安装yum install libXt-devel
,之后再重新编译
./configure --prefix=%{_prefix} --enable-pythoninterp --enable-multibyte --with-x
忘了需不需要加这个了yum install python3-devel
(2) RPM build error: empty %files file debugfiles.list
参考: https://superuser.com/questions/1091529/rpm-build-error-empty-files-file-debugfiles-list
将rpmbuild -ba xx.spec
改为rpmbuild -ba -D 'debug_package %{nil}' xx.spec
2. 编译ccls报错
(1)
Could not find a package configuration file provided by "LLVM" with any ofthe following names:LLVMConfig.cmakellvm-config.cmakeAdd the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set"LLVM_DIR" to a directory containing one of the above files. If "LLVM"provides a separate development package or SDK, be sure it has beeninstalled.
llvm和clang的包是分开的,需要安装llvm
和llvm-devel
yum install -y llvm
yum install -y llvm-devel
然后在/usr/lib64/cmake/llvm/LLVMConfig.cmake
就可以看到这个文件了
(2) 编译时报错: fatal error: ‘optional’ file not found
3. 编译gcc时报错
cannot find crt1.o
安装gcc时没有装 multilib, 因此编译时加了-disable-multilib
即,configure改为../gcc-wxg-7.5.0/configure --prefix=/root/software/gcc/install --with-dwarf-2 --disable-libstdcxx-dual-abi --disable-multilib
加--with-x编译vim时报错 configure: error: could not configure X相关推荐
- 编译 pycaffe时报错:fatal error: numpy/arrayobject.h没有那个文件或目录
编译 pycaffe时报错:fatal error: numpy/arrayobject.h没有那个文件或目录 其实numpy已经是安装的,anaconda2里面有,python中import num ...
- Maven编译项目时报错:不再支持源选项 5。请使用 6 或更高版本。 不再支持目标选项 1.5。请使用 1.6 或更高版本。
在使用Maven编译项目时报错: 不再支持源选项 5.请使用 6 或更高版本. 不再支持目标选项 1.5.请使用 1.6 或更高版本. 在项目pom.xml文件中增加maven编译的jdk版本设置,m ...
- 关于STM32 Hal 库函数编写的程序 在编译时报错 :“Error: L6218E: Undefined symbol 函数名 (referred from xx.o)” 的解决办法
问题描述:在借鉴别人的程序时,直接把部分hal库的程序拿来用,在编译时出现下图所示的问题 1 . 尝试解决但是没有成功的办法: 1.1 头文件包含问题 一开始以为是没有包含头文件,将头文件包含后,再次 ...
- 关于 编译QT项目时报错: error: cannot find -lGL 的解决方法
若该文为原创文章,转载请注明原文出处 本文章博客地址:https://hpzwl.blog.csdn.net/article/details/78260169 红胖子(红模仿)的博文大全:开发技术集合 ...
- 启动Nginx时报错:error while loading shared libraries: librdkafka.so.1: cannot open shared object file: No
安装了Nginx之后,启动时报错: error while loading shared libraries: librdkafka.so.1: cannot open shared object f ...
- 使用bootstrap的dropdown部件时报错:error:Bootstrap dropdown require Popper.js
前言:前端小白一枚,刚注册博客,先发个学习过程中新碰到小问题试试水吧~ 摘要:最近在学习bootstrap,偶然碰到了一个小问题,bootstrap网站也没有做过多的解释,今天分享给大家. 问题描述: ...
- 安装oracle gcc版本,安装cx_Oracle时报错:error: command 'gcc' failed with exit status 1
安装cx_Oracle时报错:error: command 'gcc' failed with exit status 1 发布时间:2020-06-19 21:27:36 来源:51CTO 阅读:1 ...
- 查询时报错The error may involve defaultParameterMap ### The error occurred while setting parameters
查询时报错The error may involve defaultParameterMap ### The error occurred while setting parameters 分页查询报 ...
- SQL Server外部链接时报错:Error locating serverInstance specified
SQL Server外部链接时报错:Error locating server/Instance specified 连接时报错信息: 08001 sql server network interfa ...
最新文章
- javaScript的调试(二)
- 如何删除Cookie?
- UA MATH571A R语言回归分析实践 一元回归2 NBA球员的工资
- spring-note-01
- MaxCompute - ODPS重装上阵 第三弹 - 复杂类型
- JBoss4.2.3GA 配置 Quartz
- linus为什么开源_Linus Torvalds谈个性崇拜,美国最好的开源学校等等
- html5作品分析报告,性能报告之HTML5 性能测试报告
- 【java笔记】打印流printStream
- ospf 指定dr_OSPF中DR、BDR竞选机制
- php tcpdf 没有头部,TCPDF - 设置头部Logo不显示问题
- [填坑]ubuntu16.04安装腾达U12无线网卡驱动
- MySQL两阶段加锁
- Docker网络及资源管理
- @Results用法总结
- netgen.5.0.0下载地址与Windows下编译方法
- HyperLynx(二十二)DDR(五)DDRx总线时序模型设计
- Thinking in Java 中闪耀的星星(四)
- POST http://域名:8080/项目/base/api/login/user/login net::ERR_CONNECTION_RESET 错误
- SpellGCN:将语音学和视觉相似性结合到汉语拼写检查的语言模型