
Linux
文章平均质量分 82
Stefan_Y
这个作者很懒,什么都没留下…
展开
-
PHP编译安装常见错误解决
configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution复制代码代码如下:yum -y install libxslt-develconfigure: error: Could not find net-snmp-config binary. Please check your net-snmp installation.复制代码代码如下:yum -y install ..原创 2021-10-13 14:56:46 · 815 阅读 · 0 评论 -
手贱安装python3以后,卸载系统原装python,导致yum不能用 CentOS7修复python拯救yum
记录一下,因为手贱编译安装php7.4要求python版本3.7,然后安装了python3.7以后觉得系统原来版本的python2.7多余就删掉了,删掉以后发现yum不能用了,悲剧,手贱!!!!然后经过一番折腾后,终于解决了这个问题,真是蛋疼找事!话不多说了,先彻底卸载完成残余程序:rpm -qa |grep python|xargsrpm -ev --allmatches --nodepsrpm -qa|grep yum|xargs rpm -ev --allm.原创 2021-05-25 15:22:17 · 649 阅读 · 0 评论 -
linux:The CXX compiler identification is unknown
centos 7编译出现cmake:The CXX compiler identification is unknown 1问题原因 Centos7默认的gcc版本是4.8.3,虽然对C++11的一些新特性提供了支持,但是对C++11的正则表达式好像只写了头文件,没有提供具体的实现????!Wtf!因为在cmake编译项目的时候整个项目可以正确的编译成功,但是一旦运行就会出现terminate called after throwing an instance of 'std::re..原创 2021-05-18 14:43:23 · 4524 阅读 · 0 评论 -
Centos 6无法使用yum的解决方法_提示Error: Cannot find a valid baseurl for repo: base
yum命令无法使用了,遇到的错误提示如下:[root@c8-20 ~]# yum -y install wgetLoaded plugins: fastestmirrorSetting up Install ProcessLoading mirror speeds from cached hostfileYumRepo Error: All mirror URLs are not using ftp, http[s] or file.Eg. Invalid release/repo/arch转载 2021-05-17 15:16:12 · 264 阅读 · 0 评论