Solaris に○○をインストールしてみる第三弾ということで、GNU Emacs をインストールしてみた。(といってもたいしたことはしていない。まあ自分用のインストールメモということで。)
まず、cvsサーバからソースをもらう。というのも、最新リリース版(21.4)ではうまくコンパイル出来なかったからだ。http://savannah.gnu.org/cvs/?group=emacs に書いてある手順で取得する。
で、configure
./configure --without-xim --with-gtk
結果はこんな感じ
Where should the build process find the source code? /home/randy/OpenSource/hoge/emacs
What operating system and machine description files should Emacs use?
`s/sol2-6.h' and `m/intel386.h'
What compiler should emacs be built with? gcc -g -O2
Should Emacs use the GNU version of malloc? yes
Should Emacs use a relocating allocator for buffers? yes
Should Emacs use mmap(2) for buffer allocation? no
What window system should Emacs use? x11
What toolkit should Emacs use? GTK
Where do we find X Windows header files? /usr/openwin/include
Where do we find X Windows libraries? /usr/openwin/lib
Does Emacs use -lXaw3d? no
Does Emacs use -lXpm? yes
Does Emacs use -ljpeg? yes
Does Emacs use -ltiff? yes
Does Emacs use -lungif? no
Does Emacs use -lpng? yes
Does Emacs use X toolkit scroll bars? yes
そして make 。ソースを取得したディレクトリに、このとき Solaris のmakeコマンドだとはまる。GNU make コマンドを使う。
gmake bootstrap
make が成功したら、以下のようにしてインストールする。
gmake install