|
@@ -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"
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
@@ -39,7 +39,7 @@
|
|
|
</sect2>
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
- <title>Installation of Readline</title>
|
|
|
+ <title>安装Readline</title>
|
|
|
|
|
|
<para>Reinstalling Readline will cause the old libraries to be moved to
|
|
|
<libraryname>.old. While this is normally not a problem, in some cases
|
|
@@ -49,13 +49,13 @@
|
|
|
<screen><userinput remap="pre">sed -i '/MV.*old/d' Makefile.in
|
|
|
sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput></screen>
|
|
|
|
|
|
- <para>Prepare Readline for compilation:</para>
|
|
|
+ <para>准备安装 Readline:</para>
|
|
|
|
|
|
<screen><userinput remap="configure">./configure --prefix=/usr \
|
|
|
--disable-static \
|
|
|
--docdir=/usr/share/doc/readline-&readline-version;</userinput></screen>
|
|
|
|
|
|
- <para>Compile the package:</para>
|
|
|
+ <para>编译该软件包:</para>
|
|
|
|
|
|
<screen><userinput remap="make">make SHLIB_LIBS="-L/tools/lib -lncursesw"</userinput></screen>
|
|
|
|
|
@@ -72,9 +72,9 @@ sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput></screen>
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
- <para>This package does not come with a test suite.</para>
|
|
|
+ <para>该软件包不包含测试套件。</para>
|
|
|
|
|
|
- <para>Install the package:</para>
|
|
|
+ <para>安装该软件包:</para>
|
|
|
|
|
|
<screen><userinput remap="install">make SHLIB_LIBS="-L/tools/lib -lncurses" install</userinput></screen>
|
|
|
|
|
@@ -92,11 +92,11 @@ ln -sfv ../../lib/$(readlink /usr/lib/libhistory.so ) /usr/lib/libhistory.so</us
|
|
|
</sect2>
|
|
|
|
|
|
<sect2 id="contents-readline" role="content">
|
|
|
- <title>Contents of Readline</title>
|
|
|
+ <title>Readline 的内容</title>
|
|
|
|
|
|
<segmentedlist>
|
|
|
- <segtitle>Installed libraries</segtitle>
|
|
|
- <segtitle>Installed directories</segtitle>
|
|
|
+ <segtitle>安装的库</segtitle>
|
|
|
+ <segtitle>安装的目录</segtitle>
|
|
|
|
|
|
<seglistitem>
|
|
|
<seg>libhistory.so and libreadline.so</seg>
|
|
@@ -106,7 +106,7 @@ ln -sfv ../../lib/$(readlink /usr/lib/libhistory.so ) /usr/lib/libhistory.so</us
|
|
|
</segmentedlist>
|
|
|
|
|
|
<variablelist>
|
|
|
- <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
+ <bridgehead renderas="sect3">简要描述</bridgehead>
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|