运行时:
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?