Emacs23.4 has come out, but the source or an old version of Ubuntu, but you can download the source code compiled and installed, my installation process is as follows:
1. Download and extract the Emacs source code
In GNU Emacs source code download emacs-23.4.tar.gz, under / usr / local create a new folder, named emacs23, use
tar -zxvf emacs-23.4.tar.gz
Command, extract the source.
2. Install the compile-time library needed
use
sudo apt-get install
Command, install the following libraries:
libncurses5-dev
libgtk2.0-dev
libxpm-dev
libgif-dev
libtiff-dev
librsvg2-dev
libdbus-1-dev
libgconf2-dev
In the course of these compiled to use.
3. Create a soft link crt * .o
In Emacs installation process, you need content /usr/lib/crt*.o in, but not all ctr * .o are located in the / usr / lib / directory, so you need to create the / usr / lib / in soft links to other crt * .o's.
First use
locate crt1.o
Command to locate the position of crt1.o file. I was in / under usr / lib / i386-linux-gnu / directory, listing all the crt * .o files:
ll /usr/lib/i386-linux-gnu/*crt*.o
Created using the ln command to create these files to / usr / lib / soft link under, such as:
ln -s /usr/lib/i386-linux-gnu/crt1.o /usr/lib/crt1.o
4. compile and install
Use the following command to complete the installation:
./config
make
make install
Reproduced in: https: //www.cnblogs.com/geek7/archive/2012/02/27/2370650.html