Fixed DocBook-utils build problem

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2520 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2004-07-30 13:25:22 +00:00
parent 802e6fe767
commit 9f94cd9101
2 changed files with 24 additions and 4 deletions

View File

@ -19,8 +19,8 @@ who wrote what.</para>
<itemizedlist> <itemizedlist>
<listitem><para>July 30th, 2004 [randy]: Updated to Mozilla-1.7.1 and <listitem><para>July 30th, 2004 [randy]: Updated to Mozilla-1.7.1 and
GnuPG-1.2.5; added patches to both packages to fix various build GnuPG-1.2.5 and added patches to both packages to fix various build
problems.</para></listitem> problems; fixed DocBook-utils build problem.</para></listitem>
<listitem><para>July 29th, 2004 [bdubbs]: Updated svn bootscripts <listitem><para>July 29th, 2004 [bdubbs]: Updated svn bootscripts
location.</para></listitem> location.</para></listitem>

View File

@ -61,9 +61,29 @@ man and texinfo), and
<para>Install <application>DocBook-utils</application> by running the <para>Install <application>DocBook-utils</application> by running the
following commands:</para> following commands:</para>
<screen><userinput><command>./configure --prefix=/usr &amp;&amp; <screen><userinput><command>sed -i.orig -e "/CATALOG \/etc\/sgml\/OpenSP-1.5.1.cat/d" \
/etc/sgml/catalog &amp;&amp;
sed -i.orig -e "/CATALOG \/etc\/sgml\/OpenSP-1.5.1.cat/d" \
/etc/sgml/sgml-docbook.cat &amp;&amp;
./configure --prefix=/usr &amp;&amp;
make &amp;&amp; make &amp;&amp;
make install</command></userinput></screen> make install &amp;&amp;
cp /etc/sgml/catalog.orig /etc/sgml/catalog &amp;&amp;
cp /etc/sgml/sgml-docbook.cat.orig /etc/sgml/sgml-docbook.cat</command></userinput></screen>
</sect2>
<sect2>
<title>Command explanations</title>
<para><command>sed -i.orig -e ...</command>: These two <command>sed</command>'s
remove <application>OpenSP</application> catalog definitions from the
<acronym>SGML</acronym> catalogs because the SGMLDECL unicode.sd declaration
creates errors when <command>openjade</command> builds the
<application>DocBook-utils</application> documentation files. Backup copies of
the files are made and copied back to their original place after the build is
complete. Though these errors are harmless, and won't affect
<application>DocBook-utils</application> functionality after the build, the
declarations are temporarily removed to provide a clean package build.</para>
</sect2> </sect2>