【Fedora 17】Emacs 24安装ecb与cedet
今天凑热闹把Fedora升级到了17,emacs升级到了24,但是悲剧了,显示cedet罢工,重新编译1.1后,ecb又罢工。现在修复好了,记录下来与大家分享。
emacs24启动cedet1.0会报Forgot to expand macro eieio-object-p错误,从官网http://cedet.sourceforge.net/下载最新版本安装,make安装以下。cedet修复成功。
之后ecb罢工,因为ecb以来于cedet1.0,并且做了版本检测。从ecb官网下载http://sourceforge.net/projects/ecb/下载2.4版本,make后报错ECB can only be used with [1.0pre6, 1.0.9]! Please install it and restart Emacs!尝试着修改ecb-upgrade.el 文件,将ecb-check-requirements函数中的:
- ;; check if vedet-version is correct
- when (or (not (boundp 'cedet-version))
- (ecb-package-version-list<
- (ecb-package-version-str2list cedet-version)
- ecb-required-cedet-version-min)
- (ecb-package-version-list<
- ecb-required-cedet-version-max
- (ecb-package-version-str2list cedet-version)))
- (setq version-error (concat "cedet ["
- cedet-required-version-str-min
- ", "
- cedet-required-version-str-max
- "]")))
注释掉,重新make一下。将elc文件拷贝到ecb的目录。运行emacs24执行ecb-activate成功。这样emacs下开发的两个神器有可以正常使用了。
相关推荐
kekenow 2020-06-02
Watanuki00 2020-05-31
kekenow 2020-05-27
applecarelte 2020-05-17
hell0kitty 2020-05-06
严谨死板君 2020-04-26
猫师 2020-03-16
Watanuki00 2020-02-19
nixebo 2020-02-02
Watanuki00 2020-01-31
Watanuki00 2019-11-18
kekenow 2019-10-22
Jouen 2011-09-18
DeanChen 2012-02-21
nixebo 2019-04-04
御前带刀侍卫 2014-12-19
suncrx 2014-12-12
robertzhouxh 2014-03-10