在 CentOS 6.5 下,源码安装 Emacs 24.3,发现无法编译,出现了:
xsettings.o: In function `somethingchangedgsettingsCB’:
/usr/local/src/emacs-24.3/src/xsettings.c:215: undefined reference to
`gsettingsget_value
解决方法:在源码下载,展开后,进行 config 的阶段,加上:configure –without-gsettings
如此,在CentOs 6.5下,源码安装 Emacs 24.3 的步骤如下:
(1)安装需要的软件:
1
2
3
4
5
6
7
8
9
10
|
yum -y groupinstall "Development Tools"
yum -y install gtk+-devel gtk2-devel
yum -y install libXpm-devel
yum -y install libpng-devel
yum -y install giflib-devel
yum -y install libtiff-devel libjpeg-devel
yum -y install ncurses-devel
yum -y install gpm-devel dbus-devel dbus-glib-devel dbus-python
yum -y install GConf2-devel pkgconfig
yum -y install libXft-devel
|
(2)安装Emacs 24.3
1
2
3
4
5
|
tar xvf emace-24.3.tar.gz
cd emacs-24.3
./configure -prefix=/usr/local -with-x-toolkit=gtk --without-gsettings
make
make install
|
参考链接:
阅读(3165) | 评论(0) | 转发(0) |