【发布时间】:2014-02-03 12:21:56
【问题描述】:
我正在尝试编译一些需要使用“开发库”的软件
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_64 仍然不是它想要的,但如果没有我想自我编译,我似乎无法获得更高我听说这是一场噩梦。
忽略我输入时的事实
yum groupinstall "开发库"
返回
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 正常工作...我已经安装了 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
所以我有点难过,我确定这是因为我在图书馆中缺少的资源已不复存在。
另外,如果这是错误的交换站点,抱歉,哪个是 unix/linux 问题的正确交换站点?
【问题讨论】: