mule 2.3 (emacs 19.34) (Wnn6 用) のインストール


どうも emacs20 はなじめなくて,敢えて emacs 19.34版をインストールした.
  • ソースとWnn6用のライブラリ
    (これはここにあったものを使った)を持ってきてそれぞれ適当なディレクトリに展開. とりあえずライブラリの方は,僕は /usr/local/OMRONWnn6 の下に展開した.
  • コンパイル,インストール.

    % ./configure --with-gcc --with-x11 --x-libraries=/usr/X11R6/lib --x-includes=/usr/X11R6/include/X11 --with-wnn6 --with-wnn-includes=/usr/local/OMRONWnn6/include/wnn --with-wnn-libraries=/usr/local/OMRONWnn6/lib

    % make

    % make install


egcs-1.1.2 (gcc, g++, g77)

  • インストールの前に一応バックアップは とっておいた方がいいと思うが,インストール自体はそんなに難しくない.
    % mkdir egcsobj ; cd egcsobj
    
    % ../egcs-1.1.2/configure --prefix=/usr --enable-shared --enable-languages=c++,f77
    
    % make bootstrap
    
    % make install
    

xxgdb 1.12

% xmkmf

% make
とやったところで
/usr/X11R6/include/X11/Xlib.h:79: conflicting types for `wchar_t'
/usr/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.91.66/include/stddef.h:255: previous declaration of `wchar_t'
make: *** [calldbx.o] Error 1
などというエラーが出た.なんだかよくわからないけど, その /usr/X11R6/include/X11/Xlib.h の 79行目の
typedef unsigned long wchar_t;
#ifndef _WCHAR_T_
typedef unsigned long wchar_t;
#endif
としたらコンパイルが通ったので,あとは,
% make install
でインストールした.こんなエラーが出たのって gcc を入れ直したせい?



戻る