XEmacs 20.4 のインストール

XEmacs Ver. 20.4 をインストールしました。OS は Red Hat Linux release 4.2 (Biltmore) です。以下に、その方法を示します。何か お役にたてたら幸いです。また、以下の説明について意見・コメント等は fukae@hiroshima-u.ac.jp までお願い致します\(@@)/


  1. インストールをするために以下のものが必要です。

    • xemacs-20.4.tar.gz
    • xemacs-20.4-info.tar.gz
    • xemacs-20.4-mule.tar.gz

    これらは、 ftp://ftp.xemacs.org/pub/tux/xemacs/xemacs-20.4/ などに置いてあります。

  2. 以上のアーカイブを展開します。

    % tar xfvz xemacs-20.4.tar.gz

    % tar xfvz xemacss-20.4-info.tar.gz

    % tar xfvz xemacs-20.4-mule.tar.gz

  3. カレントディレクトリを xemacs-20.4/ に変更します。以後、 このディレクトリを基準とします。

  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

  5. 以上がうまくいけば、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/

  6. また、ファイル 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'.

    ......
    ......

  7. lisp/paths.el を参考にして、lisp/site-init.el もいじりましょう。

  8. make します。

    % make

  9. xemacs を初めてインストールするのならば、'make dist' します。

    % make dist

  10. 7.がうまくいっていたら、スーパーユーザになって、インストール します。

    % su
    Password:

    # make install

  11. うまくいきましたら、'make gzip-el' します。

    # make gzip-el

  12. xemacs をたちあげて、うまくインストールができているか どうか確かめてみましょう。

    # exit
    exit

    % xemacs &

  13. 以上の作業が終りましたら、'make clean'、'make distclean' によって、いらないファイルを消去しましょう。

    % make clean
    .....
    .....

    % make distclean


Last modified: Sun Apr 23 04:33:57 JST 2000
Created with XEmacs!