Chinaunix首页 | 论坛 | 博客
  • 博客访问: 213307
  • 博文数量: 47
  • 博客积分: 72
  • 博客等级: 民兵
  • 技术积分: 171
  • 用 户 组: 普通用户
  • 注册时间: 2012-08-31 11:44
文章分类

全部博文(47)

文章存档

2015年(14)

2014年(5)

2013年(11)

2012年(17)

分类:

2012-10-28 05:29:33

原文地址:emacs-24.2 install 作者:gavinZLX

when configure the emacs:   error like this!
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+, Lesstif 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+等图形开发库
sudo apt-get install libgtk2.0-dev

几个图像开发库
sudo apt-get install libxpm-dev
sudo apt-get install libjpeg62-dev
sudo apt-get install libgif-dev
sudo apt-get install libtiff4-dev

last one:
sudo apt-get install libncurses5-dev

./configure
make
make install

run it in window
emacs

run it without any window
emacs -nw

阅读(1280) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~