Thursday, May 31, 2007

Compile Emacs23

The latest cvs code can use xft font. It also can use the input method in Gnome.

1. Download the S source code
sudo apt-get install ssh cvs
sudo apt-get install texinfo

export CVS_RSH="ssh"
cvs -z3 -d:pserver:anonymous@cvs.sv.gnu.org:/cvsroot/emacs co -r emacs-unicode-2 emacs

2. Compile
sudo apt-get install build-essential
sudo apt-get build-dep emacs21
sudo apt-get install xserver-xorg-dev
sudo apt-get install xorg-dev
sudo apt-get install libncurses5
sudo apt-get install libncurses5-dev
sudo apt-get install libgtk2.0-dev

./configure --prefix=/usr --with-x-toolkit=gtk
make bootstrap
make info
sudo make install

No comments: