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

miqiu1987 · August 09, 2013 · Last by loveky replied at August 09, 2013 · 3248 hits

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

You need to Sign in before reply, if you don't have an account, please Sign up first.