首先在gnu官网下载emacs24.4源码,解压缩后进入安装步骤
1、进入emacs源吗目录
$ cd emacs-24.4
2、配置文件
$ ./configure
在这一步出现了错误,提示如下:
configure: error: You seem to be running X, but no X development libraries
were found. You should install the relevant development files for X
and for the toolkit you want, such as Gtk+ or Motif. Also make
sure you have development files for image handling, i.e.
tiff, gif, jpeg, png and xpm.
If you are sure you want Emacs compiled without X window support, pass
--without-x
to configure.
提示要安装GTK+,安装命令如下: