glfs/pst/sgml/opensp/opensp-inst.xml
Tushar Teredesai 2d63b0bbe6 Added version entity for OpenSP patch
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1537 af4574ff-66df-0310-9fd7-8a98e5e911e0
2003-11-17 23:56:40 +00:00

37 lines
1.7 KiB
XML

<sect2>
<title>Installation of <application>OpenSP</application></title>
<para>This patch removes some annoying messages that can appear while
running <command>openjade</command>:</para>
<screen><userinput><command>patch -Np1 -i ../OpenSP-&opensp-version;-LITLEN.patch</command></userinput></screen>
<para>Install <application>OpenSP</application> by running the following commands:</para>
<screen><userinput><command>./configure --prefix=/usr --disable-static --enable-http \
--enable-default-catalog=/etc/sgml/catalog \
--enable-default-search-path=/usr/share/sgml &amp;&amp;
make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version; &amp;&amp;
make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version; install &amp;&amp;
ln -sf onsgmls /usr/bin/nsgmls &amp;&amp;
ln -sf osgmlnorm /usr/bin/sgmlnorm &amp;&amp;
ln -sf ospam /usr/bin/spam &amp;&amp;
ln -sf ospcat /usr/bin/spcat &amp;&amp;
ln -sf ospent /usr/bin/spent &amp;&amp;
ln -sf osx /usr/bin/sx &amp;&amp;
ln -sf osx /usr/bin/sgml2xml &amp;&amp;
ln -sf libosp.so /usr/lib/libsp.so &amp;&amp;
install-catalog --add /etc/sgml/OpenSP-&opensp-version;.cat \
/usr/share/sgml/OpenSP-&opensp-version;/catalog &amp;&amp;
install-catalog --add /etc/sgml/sgml-docbook.cat \
/etc/sgml/OpenSP-&opensp-version;.cat</command></userinput></screen>
<tip><title>Update hint</title>
<para>Remove the above catalog items prior to upgrading with:
<screen><command>install-catalog --remove /etc/sgml/OpenSP-<replaceable>[version]</replaceable>.cat \
/usr/share/sgml/OpenSP-<replaceable>[version]</replaceable>/catalog &amp;&amp;
install-catalog --remove /etc/sgml/sgml-docbook.cat \
/etc/sgml/OpenSP-<replaceable>[version]</replaceable>.cat</command></screen></para></tip>
</sect2>