2 % This is part of CLFSja package.
4 % This is a CTIE change file for the original XML source of the CLFSbook.
7 <?xml version="1.0" encoding="ISO-8859-1"?>
9 <?xml version="1.0" encoding="UTF-8"?>
13 <secondary>temporary system</secondary>
15 <secondary>&TemporarySystem;</secondary>
19 <title>Installation of VIM</title>
21 <title>&InstallationOf1;VIM &InstallationOf2;</title>
25 <para os="a">We will cross-compile Vim so that we can have a text editor in
26 <filename class="directory">/tools</filename>. Vim is not technically
27 necessary in the temporary system, in that it is not there to satisfy any
28 package dependencies in the final system, but we believe that a text editor
29 is an extremely useful tool to have there.<!-- If you prefer a different
30 editor, you may check the hints project at <ulink url="&hints-root;" />
31 for information on cross-compiling other text editors. (placeholder -
32 uncomment this sentence if/when such information actually exists)--></para>
36 このテキストエディターを <filename class="directory">/tools</filename> ディレクトリにインストールします。
37 技術的に言えば Vim は一時システムには不要です。
38 一時システムになかったとしても、最終システムにおけるパッケージの依存関係には何ら影響しません。
39 しかしテキストエディターというものは極めて有用なツールであることからビルドしておくことにします。
40 <!-- If you prefer a different
41 editor, you may check the hints project at <ulink url="&hints-root;" />
42 for information on cross-compiling other text editors. (placeholder -
43 uncomment this sentence if/when such information actually exists)-->
48 <para os="c1">The <command>configure</command> script is full of logic
49 that aborts at the first sign of cross compiling. Work around this by
50 setting the cached values of several tests with the following
54 <command>configure</command> スクリプトには、クロスコンパイルであることが検出された時点で処理中断する箇所がいくつもあります。
55 これを回避するために数種のテストに対応するキャッシュ値を以下のコマンドにより設定します。
60 <para os="b">Change the default location of
61 the <filename>vimrc</filename> configuration file to <filename
62 class="directory">/tools/etc</filename>:</para>
65 設定ファイル <filename>vimrc</filename> のインストール先を、デフォルトのものでなく <filename
66 class="directory">/tools/etc</filename> にします。
71 <title>The meaning of the new configure options:</title>
73 <title>&MeaningOfOption1;configure &MeaningOfOption2;</title>
76 @x --enable-gui=no --disable-gtktest --disable-xim --disable-gpm --without-x --disable-netbeans
77 <para>These options prevent Vim from trying to link to libraries
78 that might be on the host but won't exist inside the temporary
79 build environment.</para>
82 これらのオプションは、一時システム内に存在していないライブラリであるにも関わらず、ホストシステムに存在するために Vim がリンクしてしまうことを回避します。
86 @x --with-tlib=ncurses
87 <para>Tells Vim to use Ncurses as its terminal library.</para>
90 端末ライブラリとして Ncurses を用いることを指示します。
95 <para os="tv1">Create a temporary vimrc to make it function more the way you may
96 expect it to. This is explained more in the final system:</para>
99 vimrc ファイルを一時的に生成し各種機能を実現します。
100 これに関しては最終システムの手順において詳しく説明します。
105 <para>Details on this package are located in <xref
106 linkend="contents-vim" role="."/></para>
109 &Details1;<xref linkend="contents-vim" role=""/>&Details2;