インストール 概要 configure (GNU autoconf) および make を実行して下さい。 % su root # ./configure # make install configure が適宜、変数を書き換えてくれます。 make install はシェルスクリプト INSTALL.sh を実行するだけです :-) 変更が必要なら configure の引数で変更して下さい。 変更できる変数は以下のものです。 fml では各ディレクトリにさらに /fml といった suffix をつけます。 変更できるのはその直前の prefix 部分までです。 変数 configure のデフォルト値 fml の利用するディレクトリ -------------------------------------------------------- prefix /usr/local /usr/local exec_prefix /usr/local bindir ${exec_prefix}/bin /usr/local/bin sbindir ${exec_prefix}/sbin /usr/local/sbin libexecdir ${exec_prefix}/libexec /usr/local/libexec/fml datadir ${prefix}/share /usr/local/share/fml sysconfdir ${prefix}/etc /usr/local/etc/fml sharedstatedir ${prefix}/com localstatedir ${prefix}/var libdir ${exec_prefix}/lib /usr/local/lib/fml includedir ${prefix}/include oldincludedir /usr/include infodir ${prefix}/info mandir ${prefix}/man また mlspooldir /var/spool/ml /var/spool/ml fml_owner fml fml これらの変数は、それぞれ --with-mlspooldir=DIR --with-fml-owner=USER で上書きすることができます。 サンプル # ./configure --sysconfdir=/etc/fml creating cache ./config.cache checking for perl... perl checking for perl... /usr/local/bin/perl checking whether optional useful commands are available checking for cksum... /usr/bin/cksum checking for md5... /usr/bin/md5 checking for tar... /usr/bin/tar checking for gzip... /usr/bin/gzip checking for zcat... /usr/bin/zcat checking for gunzip... /usr/bin/gunzip checking for lha... no checking for ish... no checking for bzip2... /usr/bin/bzip2 checking for bunzip2... /usr/bin/bunzip2 checking for uuencode... /usr/bin/uuencode checking for compress... /usr/bin/compress checking for sendmail... /usr/sbin/sendmail checking for nkf... /usr/pkg/bin/nkf checking for kakasi... no checking for namazu... no checking for pgp... no checking for pgp5... no checking for pgpe... no checking for pgpk... no checking for pgps... no checking for pgpv... no checking for gpg... no updating cache ./config.cache creating ./config.status creating config.sh creating fml/etc/main.cf creating fml/etc/paths.cf creating fml/libexec/loader creating fml/bin/fmlconf creating fml/bin/fmldoc creating fml/bin/fmlhtmlify creating fml/bin/fmlsch creating fml/bin/fmlthread creating fml/bin/makefml 各ディレクトリの役割 それぞれのディレクトリの役割は次の通りです。 なお、デフォルトでは /usr/local 以下にインストールされます。 ディレクトリの構造 ディレクトリ 説明 /etc/fml 基本設定ファイルを置く場所。 ( fml 4 の /usr/local/fml/.fml や default_config.ph 相当) バージョンやライブラリの場所(ディレクトリ)などを指定する。 /usr/local/libexec/fml 実行ファイル ( fml 4 の /usr/local/fml ) /usr/local/lib/fml ライブラリ ( fml 4 の /usr/local/fml ) /usr/local/share/fml メッセージなどのテンプレート、 言語依存です。 /var/spool/ml MLのホームディレクトリ。fml 4 と同じ目的です。 注意: /var/spool/ml のオーナは INSTALL.sh の owner 変数(デフォルトはユーザ fml)に設定されます。
§.main.cf; アップグレード 単に、もう一度 インストール して下さい。 インストール後、/etc/fml/main.cf の fml_version 行の日付を 最新のものにして下さい。 ファイルをセーブした瞬間から新しい fml に切り替わります (注: エディタで編集中は古い内容)。 ダウングレード ソースのインストールし直しなどは必要ありません。 /etc/fml/main.cf の編集だけです。 /etc/fml/main.cf の fml_verison をアップグレード前のものに 戻して下さい。