Emacs下载的地址最好是选择国内的镜像,这样速度会很快,下载地址为http://mirror.bjtu.edu.cn/gnu/emacs/
编译(Ubuntu 12.04 64位版)
参见源代码目录下的install文件
首先安装如下软件:
sudo apt-getinstall libxaw7-dev libxpm-dev libpng12-dev libjpeg-dev libtiff4-devlibgif-dev
sudo apt-getinstall libncurses5-dev libgtk2.0-dev libxpm-dev libgif-devlibtiff4-dev librsvg2-dev libdbus-1-dev libgconf2-dev
configure发现如下问题:
我为了使用到基本全部配置选项,如下
./configure–with-crt-dir=/usr/lib/x86_64-linux-gnu –enable-largefile–with-xpm –with-jpeg –with-tiff –with-gif –with-png –with-xaw3d –with-xft –with-xim –with-x –with-pop–with-m17n-flt –with-gpm
其中上面bug解决方法是—with-crt-dir=/usr/lib/x86_64-linux-gnu指定crt*.o位置即可