XEmacs Ver. 20.4 をインストールしました。OS は Red Hat Linux release 4.2 (Biltmore) です。以下に、その方法を示します。何か お役にたてたら幸いです。また、以下の説明について意見・コメント等は fukae@hiroshima-u.ac.jp までお願い致します\(@@)/
インストールをするために以下のものが必要です。
これらは、 ftp://ftp.xemacs.org/pub/tux/xemacs/xemacs-20.4/ などに置いてあります。
以上のアーカイブを展開します。
% tar xfvz xemacs-20.4.tar.gz
% tar xfvz xemacss-20.4-info.tar.gz
% tar xfvz xemacs-20.4-mule.tar.gz
カレントディレクトリを xemacs-20.4/ に変更します。以後、 このディレクトリを基準とします。
configure を実行します。
% ./configure --x-includes=/usr/X11R6/include \
--x-libraries=/usr/X11R6/lib --site-includes="/usr/include /usr/local/canna/include" \
--site-libraries=/usr/lib --with-x11=yes --with-gcc\
--with-gnu-make --with-gif --with-xpm --with-jpeg --with-canna\
--with-mule --with-xim --with-xfs --with-png --with-pop
以上がうまくいけば、config.status という名のファイルが生成されます。 確認してみましょう。
% ls | ||
./ | config.guess* | lock/ |
../ | config.log | lwlib/ |
BUGS | config.status* | man/ |
CHANGES-beta | config.sub* | move-if-change* |
COPYING | configure* | mule-doc/ |
ChangeLog | configure.in | nt/ |
GETTING.GNU.SOFTWARE | configure.usage | packages/ |
INSTALL | dynodump/ | pkg-src/ |
Installation | etc/ | src/ |
Makefile | info/ | tests/ |
Makefile.in | install.sh* | version.sh |
PROBLEMS | lib-src/ | |
README | lisp/ |
また、ファイル Installation には、configure を実行したときの 情報が保存されています。
% less Installation
uname -a: Linux mira 2.0.30 #1 Tue Apr 22 10:49:45 EDT 1997 i686 unknown
./configure '--x-includes=/usr/X11R6/include' '--x-libraries=/usr/X11R6/lib
' '--site-includes=/usr/include /usr/local/canna/include'
'--site-libraries=/usr/lib' '--with-x11=yes' '--with-gcc' '--with-gnu-mak
e' '--with-gif' '--with-xpm' '--with-jpeg' '--with-canna' '--with-mule' '--with-
xim' '--with-xfs' '--with-png' '--with-pop'
Configured for `i686-pc-linux'.
......
......
lisp/paths.el を参考にして、lisp/site-init.el もいじりましょう。
make します。
% make
xemacs を初めてインストールするのならば、'make dist' します。
% make dist
7.がうまくいっていたら、スーパーユーザになって、インストール します。
% su
Password:
# make install
うまくいきましたら、'make gzip-el' します。
# make gzip-el
xemacs をたちあげて、うまくインストールができているか どうか確かめてみましょう。
# exit
exit
% xemacs &
以上の作業が終りましたら、'make clean'、'make distclean' によって、いらないファイルを消去しましょう。
% make clean
.....
.....
% make distclean
Last modified: Sun Apr 23 04:33:57 JST 2000