ubuntu 安装emacs 编译配置时./configure 依次出现
1.hecking 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.
解决办法:
sudo apt-get install libgtk-3-dev
2.configure: error: The following required libraries were not found:
libXpm libgif/libungif libtiff gnutls
Maybe some development libraries/packages are missing?
If you don’t want to link with them give
–with-xpm=no --with-gif=no --with-tiff=no --with-gnutls=no
解决办法:
sudo apt-get install libxpm-dev libtiff-dev libgnutls28-dev