address: http://ftp.gnu.org/pub/gnu/emacs/
file: emacs-26.1.tar.gz
yum -y groupinstall "Development Tools"
yum -y install gtk+-devel gtk2-devel
yum -y install libXpm-devel
yum -y install libpng-devel
yum -y install giflib-devel
yum -y install libtiff-devel libjpeg-devel
yum -y install ncurses-devel www.2cto.com
yum -y install gpm-devel dbus-devel dbus-glib-devel dbus-python
yum -y install GConf2-devel pkgconfig
yum -y install libXft-devel
tar xvf emacs-24.2.tar.gz
cd emacs-24.2
./configure –prefix=/usr/local –with-x-toolkit=gtk --with-gnutls=no --with-mailutils
make
make install
原文地址:https://www.cnblogs.com/otfsenter/p/9406523.html
时间: 2024-11-09 06:21:08