|
@@ -1,4 +1,4 @@
|
|
-<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
@@ -39,7 +39,7 @@
|
|
</sect2>
|
|
</sect2>
|
|
|
|
|
|
<sect2 role="installation">
|
|
<sect2 role="installation">
|
|
- <title>Installation of Bc</title>
|
|
|
|
|
|
+ <title>安装Bc</title>
|
|
|
|
|
|
<para>First, change an internal script to use <command>sed</command> instead
|
|
<para>First, change an internal script to use <command>sed</command> instead
|
|
of <command>ed</command>:</para>
|
|
of <command>ed</command>:</para>
|
|
@@ -70,7 +70,7 @@ ln -sfv libncurses.so.6 /usr/lib/libncurses.so</userinput></screen>
|
|
|
|
|
|
<screen><userinput remap="pre">sed -i -e '/flex/s/as_fn_error/: ;; # &/' configure</userinput></screen>
|
|
<screen><userinput remap="pre">sed -i -e '/flex/s/as_fn_error/: ;; # &/' configure</userinput></screen>
|
|
|
|
|
|
- <para>Prepare Bc for compilation:</para>
|
|
|
|
|
|
+ <para>准备安装 Bc:</para>
|
|
|
|
|
|
<screen><userinput remap="configure">./configure --prefix=/usr \
|
|
<screen><userinput remap="configure">./configure --prefix=/usr \
|
|
--with-readline \
|
|
--with-readline \
|
|
@@ -92,7 +92,7 @@ ln -sfv libncurses.so.6 /usr/lib/libncurses.so</userinput></screen>
|
|
|
|
|
|
</variablelist>
|
|
</variablelist>
|
|
|
|
|
|
- <para>Compile the package:</para>
|
|
|
|
|
|
+ <para>编译该软件包:</para>
|
|
|
|
|
|
<screen><userinput remap="make">make</userinput></screen>
|
|
<screen><userinput remap="make">make</userinput></screen>
|
|
|
|
|
|
@@ -103,17 +103,17 @@ ln -sfv libncurses.so.6 /usr/lib/libncurses.so</userinput></screen>
|
|
|
|
|
|
<screen><userinput remap="test">echo "quit" | ./bc/bc -l Test/checklib.b</userinput></screen>
|
|
<screen><userinput remap="test">echo "quit" | ./bc/bc -l Test/checklib.b</userinput></screen>
|
|
|
|
|
|
- <para>Install the package:</para>
|
|
|
|
|
|
+ <para>安装该软件包:</para>
|
|
|
|
|
|
<screen><userinput remap="install">make install</userinput></screen>
|
|
<screen><userinput remap="install">make install</userinput></screen>
|
|
|
|
|
|
</sect2>
|
|
</sect2>
|
|
|
|
|
|
<sect2 id="contents-bc" role="content">
|
|
<sect2 id="contents-bc" role="content">
|
|
- <title>Contents of Bc</title>
|
|
|
|
|
|
+ <title>Bc 的内容</title>
|
|
|
|
|
|
<segmentedlist>
|
|
<segmentedlist>
|
|
- <segtitle>Installed programs</segtitle>
|
|
|
|
|
|
+ <segtitle>安装的程序</segtitle>
|
|
|
|
|
|
<seglistitem>
|
|
<seglistitem>
|
|
<seg>bc and dc</seg>
|
|
<seg>bc and dc</seg>
|
|
@@ -121,7 +121,7 @@ ln -sfv libncurses.so.6 /usr/lib/libncurses.so</userinput></screen>
|
|
</segmentedlist>
|
|
</segmentedlist>
|
|
|
|
|
|
<variablelist>
|
|
<variablelist>
|
|
- <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
|
|
+ <bridgehead renderas="sect3">简要描述</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|