CentOS 7.6 source code under the installation Emacs 26.3

Emacs 26.3 has been released , you can now use the Emacs text editor 26.3 edition. This release is primarily a maintenance release that includes new GPG key GNU ELPA package.

1. Download the latest version of Emacs found

Can be downloaded here http://gnu.mirrors.pair.com/emacs/

CentOS 7.6 source code under the installation Emacs 26.3

Find the latest version, and I downloaded the emacs-26.3.tar.xz version.

2. Download

Copy the link directly with wget [link] to download the
wget https://mirrors.sjtug.sjtu.edu.cn/gnu/emacs/emacs-26.3.tar.xz
the xz -d # emacs-26.3.tar.xz extracting
tar emacs-26.3.tar -xvf 
cd emacs-enter the installation directory 26.3.tar.xz #

3. Pre-installation configuration

In the absence of its dependencies, with the following error:

......

checking 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.

......

CentOS 7.6 source code under the installation Emacs 26.3

CentOS 7.6 source code under the installation Emacs 26.3

Add to reconfigure parameter

......

checking gif_lib.h usability... no
checking gif_lib.h presence... no
checking for gif_lib.h... no
configure: error: The following required libraries were not found:
    libXpm libgif/libungif 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-gnutls=no
as options to configure

......

CentOS 7.6 source code under the installation Emacs 26.3

CentOS 7.6 source code under the installation Emacs 26.3

Cancel the relevant link.

CentOS 7.6 source code under the installation Emacs 26.3

Tips again:

......

configure: error: The following required libraries were not found:
    libXpm
Maybe some development libraries/packages are missing?
If you don't want to link with them give
    --with-xpm=no
as options to configure

......

Installation libXpm

CentOS 7.6 source code under the installation Emacs 26.3

Then again

4. Install

CentOS 7.6 source code under the installation Emacs 26.3

CentOS 7.6 source code under the installation Emacs 26.3

5. After installation configuration

Into the home directory.

# cd
# git clone https://github.com/combofish/emacs.d
# mv emacs.d .emacs.d
# emacs -nw

Emacs can wait for complete loading cool knock code.

CentOS 7.6 source code under the installation Emacs 26.3

Guess you like

Origin www.linuxidc.com/Linux/2019-09/160451.htm