Emacs installation from source
From Notes_Wiki
<yambe:breadcrumb self="Emacs installation from source">Emacs|Emacs</yambe:breadcrumb>
Emacs installation from source
Following steps can be used to install emacs from source:
- Install libotf-devel using 'yum -y install libotf-devel libXaw-devel libpng-devel ncurses-devel'
- Download emacs source code from http://ftp.gnu.org/gnu/emacs/
- Extract source code archive
- Configure using './configure'. If you get no gif library support error (esp. on Cent-OS) then use './configure --with-gif=no'. In case you get error in function 'something_changed_gsettingsCB' then use '--without-gsettings' option as well.
- make
- sudo make install
- Run emacs using 'emacs' command and verify emacs version displayed on welcome screen. You can also use menu Help -> About emacs option to see emacs version. If emacs version is not latest then use something like 'sudo cp /usr/local/bin/emacs /usr/bin/emacs' to overwrite OS default emacs with source installed emacs.
<yambe:breadcrumb self="Emacs installation from source">Emacs|Emacs</yambe:breadcrumb>