JUST DO IT ~

我只想当个程序员

redhat 6.5 安装 codeblock 13.12

 

 

relocation error: multiget: symbol _Z23wxHandleFatalExceptionsb, version WXU_2.8 not defined in file libwx_baseu-2.8.so.0

 

下载地址:

http://www.codeblocks.org/downloads/26 

http://sourceforge.net/projects/codeblocks/files/Binaries/13.12-RC1/Linux%20(64bit)/

codeblocks-13.12-1.el5.x86_64.tar.bz2

 

安装的关键

Note: On RedHat/CentOS 5 and older revisions of 6 (up to 6.2 as far as I know) you need to add repoforge (former rpmforge) to your repolist, to be able to install the needed wxGTK-package. Seehttp://repoforge.org/use for an instruction.

 

更新yum的源 很重要

http://repoforge.org/use/  下载对应的rpm

cat /etc/redhat-release

uname –a

 

wget http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

rpm -ivh package-filename

 

# yum install gcc
# yum install gcc-c++
如果之前失败过  yum erase wxGTK
# yum install wxGTK
 
然后
 ]# ls
codeblocks-12.11-1.el6.i686.rpm
codeblocks-contrib-12.11-1.el6.i686.rpm
codeblocks-contrib-devel-12.11-1.el6.i686.rpm
codeblocks-devel-12.11-1.el6.i686.rpm
# rpm -ivh codeblocks*
 

1. 下载repo文件
    下载地址:http://mirrors.163.com/.help/CentOS6-Base-163.repo

2. 备份并替换系统的repo文件
[root@localhost ~]# cd /etc/yum.repos.d/
[root@localhost ~]# mv CentOS-Base.repo CentOS-Base.repo.bak
[root@localhost ~]# mv /root/CentOS6-Base-163.repo CentOS-Base.repo

3. 执行yum源更新
[root@localhost ~]# yum clean all
[root@localhost ~]# yum makecache
[root@localhost ~]# yum update

 

yum install gcc gcc-g++ autoconfig automake 
 
 
参考:
http://blog.csdn.net/dupei/article/details/6428346
 
http://www.cnblogs.com/magialmoon/archive/2013/05/05/3061108.html
 
 
 
 

posted on 2014-07-19 12:17 小高 阅读(233) 评论(0)  编辑  收藏


只有注册用户登录后才能发表评论。


网站导航:
 

导航

<2014年7月>
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

统计

常用链接

留言簿(3)

随笔分类(352)

收藏夹(19)

关注的blog

手册

搜索

积分与排名

最新评论

阅读排行榜

评论排行榜