CantOS7.5 Emacs26.1 Install
「/usr/local/src」へ移動し、DL&解凍。
$ cd /usr/local/src
$ sudo wget http://ftp.gnu.org/pub/gnu/emacs/emacs-26.1.tar.gz
$ sudo tar zxvf emacs-26.1.tar.gz
インストールを実行。
$ cd emacs-26.1
$ ./configure --without-x
、./configure --without-xのとこで
configure: error: The required function `tputs' was not found in any library.
The following libraries were tried (in order):
libtinfo, libncurses, libterminfo, libtermcap, libcurses
Please try installing whichever of these libraries is most appropriate
for your system, together with its header files.
For example, a libncurses-dev(el) or similar package.
という風にコケてしまうので、yumでncurses-develを入れる。
という訳で実行するコマンドは以下。
(autoconfの入手先はJAISTに変えてある)
# yum groupinstall -y "Development Tools"
# wget http://ftp.jaist.ac.jp/pub/GNU/autoconf/autoconf-2.69.tar.gz
# tar zxvf autoconf-2.69.tar.gz
# cd autoconf-2.69
# sudo ./configure
# sudo make
# sudo make install
# sudo yum install -y texinfo libXpm-devel giflib-devel libtiff-devel libotf-devel ncurses-devel
# cd ~/src/emacs-26.1
# sudo ./autogen.sh
# sudo ./configure --with-gnutls=no --with-x-toolkit=no --with-jpeg=no --with-png=no
# sudo make bootstrap
# sudo make install
最後にバージョン確認をする。