我试图编译一些需要使用“开发库”的软件
yum groupinstall "Development Tools"
yum groupinstall "Development Libraries"
yum install gcc-g++ git-core wget links zip unzip unrar
yum install mysql-server mysql-client mysql-devel
yum install openssl
yum install cmake (Must be CMake ≥ 2.8.12)
一个障碍是在CentOS 6.2 x64上使CMAKE高于2.6…发现我不得不逃跑
Yum安装cmake28
我的问题是它安装的cmake28-2.8.11.2-1.el6.x86_仍然不是它想要的,但我似乎无法得到任何更高的我猜自我编译,我听说这是一个噩梦。
忽略了当我打字时
百胜集团安装“开发库”
它又回来了
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirrors.serveraxis.net
* epel: mirrors.rit.edu
* extras: centos.mirror.constant.com
* rpmforge: repoforge.mirror.constant.com
* updates: yum.singlehop.com
Setting up Group Process
Checking for new repos for mirrors
Warning: Group Development Libraries does not exist.
No packages in any requested group available to install or update
警告:群组开发库不存在。
所以我在一个陈旧的伙伴,我认为,因为图书馆不存在为我安装,我不能得到良好的工作…我已经安装了cmake,但是当我试图发布
[root@serve5 build]# cmake ../ -DPREFIX=/home/`echo $USER`/server
-bash: cmake: command not found
但正如你在这里看到的
[root@serve5 build]# yum update cmake28
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirrors.serveraxis.net
* epel: mirrors.rit.edu
* extras: centos.mirror.constant.com
* rpmforge: repoforge.mirror.constant.com
* updates: yum.singlehop.com
Setting up Update Process
No Packages marked for Update
或
[root@serve5 build]# yum install cmake28
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirrors.serveraxis.net
* epel: mirrors.rit.edu
* extras: centos.mirror.constant.com
* rpmforge: repoforge.mirror.constant.com
* updates: yum.singlehop.com
Setting up Install Process
Package cmake28-2.8.11.2-1.el6.x86_64 already installed and latest version
Nothing to do
所以我有点难堪,我确信这是因为我在图书馆中丢失的资源已经不复存在了。
如果这是错误的exchange站点,那么对于unix/linux问题,哪一个是正确的呢?
最佳答案
改用这个:yum groupinstall "Additional Development"