I don't need to talk about the power of Emacs. Well, who knows it? I always think that software that can be called Nb can make people who use it become Nb, undoubtedly, emacs can be called the classic Nb software. However, it took a long time to install it. The following describes some problems and solutions.
System: fedora6
Emacs version: 21.3
First download the stable version of Emacs.
Next, extract and install the package. During installation, switch to the root user.
$ CP emacs-21.3.tar.gz/OPT
$ CD/OPT
$ Tar-xvzf emacs-21.3.tar.gz
Decompress the directory that generates a emacs-21.3
$ Emacs-21.3 CD
Configuration
$./Configure
Compile
$ Make
This is the case!
Failed to compile, and a segment error (segfault) occurred ).
The problem is that the installation of emace conflicts with the security patch Exec-shield of Linux operating system 2.6 kernel. Exec-shield is a security patch for memory stack control, it can prevent memory leakage attacks and other problems. It is enabled by default. Now, you only need to temporarily disable it during installation.
The method for disabling is as follows:
$ Echo "0">/proc/sys/kernel/exec-shield
$ Echo "0">/proc/sys/kernel/randomize_va_space
(PS: After the installation is complete, change the "0" of the above two commands to "1" when you re-open Exec-field)
At this time, you can re-configure and compile.
First clear the original installation:
$ Make clean
$ Make distclean
Continue Installation
$./Configure
$ Make
$ Make install
Success!