GNU Emacs 22.2

setup.sh

#!/bin/sh

if [ $# -eq 1 ]; then
        . ../../setup-pre.sh $1
else
        . ../../setup-pre.sh
fi

./configure \
  --with-pkg-config-prog=/usr/local/bin/$ISA/pkg-config \
  --with-x-toolkit=gtk

makeしてインストールします。

./setup.sh [i386|amd64|sparcv8plus|sparcv9]
% gmake
# gmake install

Emacs Current

% cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/emacs login
% cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/emacs co emacs
% cd emacs

Emacs 21.4

あらかじめGNU makeをインストールしておきます。ほとんどの画像処理ライ ブラリはOSに添付されていますが、Xaw3dとungifについてはCompanion Softwareを使用します。以下のようなスクリプトを実行します。

#!/bin/sh
CFLAGS="-xO3"
export CFLAGS
CPPFLAGS="-I/usr/sfw/include -I/opt/sfw/include"
export CPPFLAGS
LDFLAGS="-L/usr/sfw/lib -R/usr/sfw/lib -L/opt/sfw/lib -R/opt/sfw/lib"
export LDFLAGS
./configure --without-gcc \
        --with-x-toolkit=motif \
        --with-xpm \
        --with-jpeg \
        --with-tiff \
        --with-gif \
        --with-png

makeしてインストールします。

% gmake
# gmake install

hiraga@next-hop.net
Last modified: $Date: 2008/05/03 13:40:46 $
Apache