XEmacs 21.2 のインストール

前に書いたXEmacsインストール記録が古くなりましたので、 改めて、このページにそれを書くことにします。ただし、今度は、XEmacs Ver. 21.2-b32を Vine Linux 1.1 (Rheingau)にインストールしたときのものです。


  1. 用意するもの


  2. パッケージを適当なディレクトリに展開する。今回は、/usr/lib/xemacs/ の下に インストールします。

    % su
    Password:

    # cd /usr/lib/xemacs/

    # tar xfvz xemacs-mule-sumo.tar.gz

    # tar xfvz xemacs-sumo.tar.gz

    # exit
    exit

  3. 本体を展開します。

    % tar xfvz xemacs-21.2.32.tar.gz

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

  4. 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

  5. 以上がうまくいけば、config.status という名のファイルが生成されます。 確認してみましょう。

    % ls
    ./Installationconfig.status*lisp/
    ../Makefileconfig.sub*lock/
    .cvsignoreMakefile.inconfigure*lwlib/
    BUGSMakefile.in.inconfigure.inman/
    CHANGES-betaPROBLEMSconfigure.usagemodules/
    COPYINGREADMEdynodump/move-if-change*
    ChangeLogREADME.packagesetc/nt/
    GETTING.GNU.SOFTWAREaclocal.m4info/src/
    GNUmakefileconfig.guess*install.sh*tests/
    INSTALLconfig.loglib-src/version.sh
  6. また、ファイルInstallationには、 configureを実行したときの情報が保存されています。

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

  8. makeします。ストレートにmakeできるはずです。

    % make

  9. makeが完了しましたら、スーパーユーザになってインストールしましょう。

    % su
    Password:

    # make install

  10. 更に、make gzip-elをして、今回のインストールによるディスクの使用容量を 少しでも減らした方がよいかもりれません。

    # make gzip-el

    # exit
    exit

  11. xemacsを立ち上げてみましょう。

    % rehash

    % xemacs &


Last modified: Sat Apr 29 09:47:30 JST 2000
Created with XEmacs! Valid HTML 4.01! Valid CSS!