前に書いたXEmacs のインストール記録が古くなりましたので、 改めて、このページにそれを書くことにします。ただし、今度は、XEmacs Ver. 21.2-b32を Vine Linux 1.1 (Rheingau)にインストールしたときのものです。
用意するもの
パッケージを適当なディレクトリに展開する。今回は、/usr/lib/xemacs/ の下に インストールします。
% su
Password:
# cd /usr/lib/xemacs/
# tar xfvz xemacs-mule-sumo.tar.gz
# tar xfvz xemacs-sumo.tar.gz
# exit
exit
本体を展開します。
% tar xfvz xemacs-21.2.32.tar.gz
% カレントディレクトリを xemacs-21.2.32/ に変更します。以後、 このディレクトリを基準とします。
configure を実行します。
% ./configure --prefix=/usr --cflags="-fno-caller-saves -save-temps -O3 -g -Wall" \
--error-checking=all --debug=yes --with-scrollbars=lucid --with-dialogs=lucid --with-mule \
--with-xfs --with-xim=no --with-xpm --with-jpeg --with-canna --with-png --with-pop \
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib \
--site-includes=/usr/include --site-libraries=/usr/lib
以上がうまくいけば、config.status という名のファイルが生成されます。 確認してみましょう。
% ls | |||
./ | Installation | config.status* | lisp/ |
../ | Makefile | config.sub* | lock/ |
.cvsignore | Makefile.in | configure* | lwlib/ |
BUGS | Makefile.in.in | configure.in | man/ |
CHANGES-beta | PROBLEMS | configure.usage | modules/ |
COPYING | README | dynodump/ | move-if-change* |
ChangeLog | README.packages | etc/ | nt/ |
GETTING.GNU.SOFTWARE | aclocal.m4 | info/ | src/ |
GNUmakefile | config.guess* | install.sh* | tests/ |
INSTALL | config.log | lib-src/ | version.sh |
また、ファイルInstallationには、 configureを実行したときの情報が保存されています。
lisp/paths.el を参考にして、lisp/site-init.el もいじりましょう。
makeします。ストレートにmakeできるはずです。
% make
makeが完了しましたら、スーパーユーザになってインストールしましょう。
% su
Password:
# make install
更に、make gzip-elをして、今回のインストールによるディスクの使用容量を 少しでも減らした方がよいかもりれません。
# make gzip-el
# exit
exit
xemacsを立ち上げてみましょう。
% rehash
% xemacs &