小编JKL*_*Lee的帖子

CentOS7 emacs 安装错误:找不到 X 工具包

运行时:

sudo ./configure

我有错误:

checking for libXaw... configure: error: No X toolkit could be found. If you are sure you want Emacs compiled without an X toolkit, pass --with-x-toolkit=no to configure. Otherwise, install the development libraries for the toolkit that you want to use (e.g. Gtk+) and re-run configure.

根据这个答案,我运行了以下命令来安装 X 工具包:

sudo yum install build-essential texinfo libx11-dev libxpm-dev libjpeg-dev libpng-dev libgif-dev libtiff-dev libgtk2.0-dev libncurses-dev libxpm-dev automake autoconf

但是,当我运行 configure 时,我得到了同样的错误。如何成功解决依赖错误并安装 emacs?

emacs centos

3
推荐指数
1
解决办法
2497
查看次数

标签 统计

centos ×1

emacs ×1