OSDN Git Service

9a4e2392434366ab7445350b5fb3308777ffc080
[lfsbookja/lfsja-git.git] / src / chapter07 / util-linux.ch
1 %
2 % This is part of LFSbookja package.
3 %
4 % This is a CTIE change file for the original XML source of the LFSbook.
5 %
6 @x
7 <?xml version="1.0" encoding="ISO-8859-1"?>
8 @y
9 <?xml version="1.0" encoding="UTF-8"?>
10 @z
11
12 @x
13     <secondary>tools</secondary>
14 @y
15     <secondary>&Tools;</secondary>
16 @z
17
18 @x
19     <para>The Util-linux package contains miscellaneous utility programs.</para>
20 @y
21     <para>
22     Util-linux パッケージはさまざまなユーティリティープログラムを提供します。
23     </para>
24 @z
25
26 @x
27     <title>Installation of Util-linux</title>
28 @y
29     <title>&InstallationOf1;Util-linux&InstallationOf2;</title>
30 @z
31
32 @x
33     <para>The FHS recommends using the <filename
34     class="directory">/var/lib/hwclock</filename> directory instead of the
35     usual <filename class="directory">/etc</filename> directory as the
36     location for the <filename>adjtime</filename> file. Create this directory
37     with:</para>
38 @y
39     <para>
40     FHS では <filename>adjtime</filename> ファイルの配置場所として <filename
41     class="directory">/etc</filename> ディレクトリではなく <filename
42     class="directory">/var/lib/hwclock</filename> ディレクトリを推奨しています。
43     そこで以下によりそのディレクトリを生成します。
44     </para>
45 @z
46
47 @x
48     <para>Prepare Util-linux for compilation:</para>
49 @y
50     <para>&PreparePackage1;Util-linux&PreparePackage2;</para>
51 @z
52
53 @x
54       <title>The meaning of the configure options:</title>
55 @y
56       <title>&MeaningOfOption1;configure&MeaningOfOption2;</title>
57 @z
58
59 @x ADJTIME_PATH=/var/lib/hwclock/adjtime
60           <para>This sets the location of the file recording information about
61           the hardware clock in accordance to the FHS. This is not stricly
62           needed for this temporary tool, but it prevents creating a file
63           at another location, which would not be overwritten or removed
64           when building the final util-linux package.</para>
65 @y
66           <para>
67           これはハードウェアクロックの情報を保持したファイルの場所を設定するものであり、FHS に従ったものです。
68           一時的なツールにとって厳密には必要ではありませんが、別の場所にはファイル生成するわけにはいきません。
69           最終的な util-linux パッケージをビルドする際に、上書きしたり削除したりすることができなくなるからです。
70           </para>
71 @z
72
73 @x
74           <para>This switch ensures the
75           <filename class="extension">.so</filename> symlinks targeting
76           the shared library file in the same directory
77           (<filename class="directory">/usr/lib</filename>) directly.</para>
78 @y
79           <para>
80           本スイッチは、共有ライブラリを示す <filename
81           class="extension">.so</filename> シンボリックリンクを同一ディレクトリ(<filename
82           class="directory">/usr/lib</filename>)に直接生成するようにします。
83           </para>
84 @z
85
86 @x --disable-*
87           <para>These switches prevent warnings about building components
88           that require packages not in LFS or not installed yet.</para>
89 @y
90           <para>
91           コンポーネントのビルドの際に、LFS にはない、あるいはまだインストールしていない別のパッケージがあり、そのために発生する警告メッセージを無効にします。
92           </para>
93 @z
94
95 @x --without-python
96           <para>This switch disables using <application>Python</application>.
97           It avoids trying to build unneeded bindings.</para>
98 @y
99           <para>
100           本スイッチは <application>Python</application> を用いないようにします。
101           ビルドの際に不要なバインディングを作らないようにするためです。
102           </para>
103 @z
104
105 @x runstatedir=/run
106           <para>This switch sets the location of the socket used by
107           <command>uuidd</command> and
108           <filename class="libraryfile">libuuid</filename> correctly.</para>
109 @y
110           <para>
111           本スイッチは <command>uuidd</command> や <filename
112           class="libraryfile">libuuid</filename> が利用するソケットの場所を適切に設定します。
113           </para>
114 @z
115
116 @x
117     <para>Compile the package:</para>
118 @y
119     <para>&CompileThePackage;</para>
120 @z
121
122 @x
123     <para>Install the package:</para>
124 @y
125     <para>&InstallThePackage;</para>
126 @z
127
128 @x
129     <para>Details on this package are located in <xref linkend="contents-utillinux" role="."/></para>
130 @y
131     <para>
132     &Details1;<xref linkend="contents-utillinux" role=""/>&Details2;
133     </para>
134 @z