新手问题 在 redhat 下安装 emacs 时,./configure 报错了,不知道该如何解决,麻烦高手指点一下

miqiu1987 · 2013年08月09日 · 最后由 loveky 回复于 2013年08月09日 · 3246 次阅读

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+, 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. 看网上说是需要安装 x 的 dev 库,但是不知道 redhat 能通过什么途径安装这个

直接用./configure --without-x就可以了吧

google yum, 不过要使用 CentOS 的源 or If you are sure you want Emacs compiled without X window support, pass --without-x

需要 登录 后方可回复, 如果你还没有账号请 注册新账号