centos 5.3 上安装 emacs 23.2
2013-02-22 18:51
330 查看
centos 上用yum install 安装emacs, 默认选择版本是21.3, 把握原来的配置拿过来,speedbar的内容为空,死活搞不定。后来参考stackoverflow上的方法安装了emacs 23.2后问题解决,网址为 http://serverfault.com/questions/283510/where-is-the-yum-repository-for-emacs-23-for-centos-5-5 。Speedbar可以用了,但是新问题来了,使用rgrep命令马上crash,
看core文件发现是strncpy()函数引起的,可是找不到解决办法。最后尝试自己下载源代码编译,问题终于圆满解决。下面小结下安装过程。
第一步:下载 emacs-23.2b.tar.gz, 并解压。
第二步:cd 到源代码目录。
第三步:运行./configure --with-xpm=no --with-jpeg=no --with-png=no --with-gif=no --with-tiff=no。 这一步可能会提示alloca.h找不到。执行 yum
-y install gtk+-devel gtk2-devel, 后重新运行./configure --with-xpm=no --with-jpeg=no --with-png=no --with-gif=no --with-tiff=no。
最后:make和make install
在命令行下执行 emacs-23.2, emacs是起来了,但是窗口左右两边有很大的一部分空间空着很难看。原因可能是emacs计算字体大小时引起的问题。
改为 emacs-23.2 -Q -fn fixed
好了,问题解决。
看core文件发现是strncpy()函数引起的,可是找不到解决办法。最后尝试自己下载源代码编译,问题终于圆满解决。下面小结下安装过程。
第一步:下载 emacs-23.2b.tar.gz, 并解压。
第二步:cd 到源代码目录。
第三步:运行./configure --with-xpm=no --with-jpeg=no --with-png=no --with-gif=no --with-tiff=no。 这一步可能会提示alloca.h找不到。执行 yum
-y install gtk+-devel gtk2-devel, 后重新运行./configure --with-xpm=no --with-jpeg=no --with-png=no --with-gif=no --with-tiff=no。
最后:make和make install
在命令行下执行 emacs-23.2, emacs是起来了,但是窗口左右两边有很大的一部分空间空着很难看。原因可能是emacs计算字体大小时引起的问题。
改为 emacs-23.2 -Q -fn fixed
好了,问题解决。
相关文章推荐
- 网络安装CentOS 5.3
- CentOS安装emacs出现The required function `tputs' was n
- CentOS5.3+Nginx0.7.57+Postfix+Extmail邮件系统安装配置(三))-(注:里边一些内容引自原作者sery)
- Centos5.3+oracle10g 安装
- CentOS6.2编译安装codelite5.3
- CentOS 6.5中安装emacs软件
- Centos 5.3 安装(Tomcat 6.0.20)
- 在linux centos5.3下成功用ftp安装好xen虚拟机centos5.3
- vpc下安装centos5.3
- [shell]CentOS 5.6安装web服务及相关软件(php 5.3, MySQL Server, memcache, spawn-fcgi, nginx, coreseek)
- CentOS-5.3 自动安装怎么实现
- CentOS 5.3 下编译安装Fcitx(小企鹅输入法)
- centos安装emacs
- CentOS 5.3安装过程中的问题
- CentOS5.3+Nginx0.7.57+Postfix+Extmail邮件系统安装配置(四)-(注:里边一些内容引自原作者sery)
- centos6下php5.3安装zendGuardLoader
- win7与ubuntu12.10双系统下硬盘安装centos5.3
- CentOS 7编译安装gcc5.3碰到的坑
- CentOS安装emacs24.2命令