tzkmx
8/27/2018 - 8:30 PM

Compile emacs on redhat and centos

Compile emacs on redhat and centos

# yum -y groupinstall "Development Tools" // conflicts with git2u

yum -y install autoconf automake binutils bison flex gcc gcc-c++ gettext libtool make

yum -y install gtk+-devel gtk2-devel 

yum -y install libXpm-devel libpng-devel libtiff-devel libjpeg-devel librsvg2-devel ImageMagick-devel

yum -y install giflib-devel inotify-tools-devel

yum -y install ncurses-devel gpm-devel

yum -y install libXft-devel

yum -y install gnutls-devel libselinux-devel libxml2-devel 

wget https://ftp.gnu.org/pub/gnu/emacs/emacs-24.4.tar.xz

tar xvJf  emacs-24.1.tar.xz
cd emacs-24.4
./configure --with-selinux --with-imagemagick --with-gnutls --with-file-notification=inotify
make
# sudo make install