CentOS安装gcc报错的问题

安装记录:

系统:centos5.4

分别执行如下命令

命令代码

yum -y install gcc

yum -y install-c++

www.ahlinux.com

yum install make

会报错:

Loaded plugins: fastestmirror

Determining fastest mirrors

解决办法:

命令代码

echo "alias yum=‘yum --disableplugin=fastestmirror‘" >> /root/.bashrc

退出系统重新登录

然后再重新执行命令

时间: 2024-08-03 17:51:56

CentOS安装gcc报错的问题的相关文章

Centos安装fabric 报错:error: ‘FFI_DEFAULT_ABI’ undeclared (first use in this function)

Centos安装fabric 报错: error: 'FFI_DEFAULT_ABI' undeclared (first use in this function) 需要安装libffi-devel Debian或Ubuntu需要安装 libffi-dev

CentOS安装过程报错

Unable to read group information from repositories.  This is a problem with the generation of your install tree 网上搜到说是bug http://bbs.linuxtone.org/thread-16947-1-1.html 个人解决办法:把boot大小由200改为1024安装不报错

Centos 安装docker报错

错误信息: 安装报错:Transaction check error:  file /usr/lib/systemd/system/blk-availability.service from install of device-mapper-7:1.02.107-5.el7_2.1.x86_64 conflicts with file from package lvm2-7:2.02.105-14.el7.x86_64  file /usr/sbin/blkdeactivate from ins

fedora 14系统使用yum 安装gcc报错

错误:Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again {大体的一个思路: 1使用默认的yum源,若不行 2使用网络yum源,若不行 3使用光盘yum源,} 网上也找不到FC14的yum源了.那就使用光盘,本地安装吧 mount /dev/cdrom /media cp -rf /medir/* /mnt      (这一步似乎

CentOS安装Nginx 报错“configure: error: the HTTP rewrite module requires the PCRE library”解决办法

错误提示: ./configure: error: the HTTP rewrite module requires the PCRE library. 安装pcre-devel与openssl-devel解决问题 yum -y install pcre-devel openssl openssl-devel ./configure --prefix=/usr/local/nginx make make install

E: Invalid operation build-depgcc(给字符界面的ubuntu安装gcc 报错

sudo apt-get  build-depgccE: Invalid operation build-depgcc 原因是中间少了个空格, 使用如下命令即可. sudo apt-get  build-dep  gc 原文地址:https://www.cnblogs.com/coinbt/p/8306779.html

安装MySQL-python报错error: command 'gcc' failed with exit status 1

[[email protected] MySQL-python-1.2.3]# python setup.py install function) .... _mysql.c:133: error: 'ER_SYNTAX_ERROR' undeclared (first use in this function) _mysql.c:380: error: '_mysql_ConnectionObject' has no member named 'connection' _mysql.c:382

CentOS 6安装KVM后安装虚拟机报错

安装KVM在配置完桥接网卡后,安装虚拟机报错. 附有CentOS 6安装KVM文档,和安装过程截图,可否有人能看出其中问题所在,小女子不胜感激.

centos 安装gcc时,出错:Found 10 pre-existing rpmdb problem(s), 'yum check' output follows:

别人折腾的系统. 刚开始,准备安装下tornado,报错,需要安装 gcc 和 python-devel gcc安装报错,如标题所示: 谷歌了一把: http://stackoverflow.com/questions/26484593/having-problems-installing-bzr-on-centos-6-5 发现上面这个描述比较接近,貌似是版本库不对,于是看下版本库的配置( /etc/yum.repos.d/), 发现  CentOS-Base.repo 被给重命名为了 Cen