2003-10-04 16:01:46 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of <application>OpenSP</application></title>
|
|
|
|
|
2003-11-14 15:55:20 +08:00
|
|
|
<para>This patch removes some annoying messages that can appear while
|
|
|
|
running <command>openjade</command>:</para>
|
2003-10-04 16:01:46 +08:00
|
|
|
|
2003-11-18 07:56:40 +08:00
|
|
|
<screen><userinput><command>patch -Np1 -i ../OpenSP-&opensp-version;-LITLEN.patch</command></userinput></screen>
|
2003-10-04 16:01:46 +08:00
|
|
|
|
2003-11-14 15:55:20 +08:00
|
|
|
<para>Install <application>OpenSP</application> by running the following commands:</para>
|
2003-10-04 16:01:46 +08:00
|
|
|
|
|
|
|
<screen><userinput><command>./configure --prefix=/usr --disable-static --enable-http \
|
|
|
|
--enable-default-catalog=/etc/sgml/catalog \
|
|
|
|
--enable-default-search-path=/usr/share/sgml &&
|
|
|
|
make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version; &&
|
|
|
|
make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version; install &&
|
|
|
|
ln -sf onsgmls /usr/bin/nsgmls &&
|
|
|
|
ln -sf osgmlnorm /usr/bin/sgmlnorm &&
|
|
|
|
ln -sf ospam /usr/bin/spam &&
|
|
|
|
ln -sf ospcat /usr/bin/spcat &&
|
|
|
|
ln -sf ospent /usr/bin/spent &&
|
|
|
|
ln -sf osx /usr/bin/sx &&
|
|
|
|
ln -sf osx /usr/bin/sgml2xml &&
|
|
|
|
ln -sf libosp.so /usr/lib/libsp.so &&
|
|
|
|
install-catalog --add /etc/sgml/OpenSP-&opensp-version;.cat \
|
|
|
|
/usr/share/sgml/OpenSP-&opensp-version;/catalog &&
|
|
|
|
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:
|
2003-11-14 14:32:20 +08:00
|
|
|
<screen><command>install-catalog --remove /etc/sgml/OpenSP-<replaceable>[version]</replaceable>.cat \
|
2003-10-04 16:01:46 +08:00
|
|
|
/usr/share/sgml/OpenSP-<replaceable>[version]</replaceable>/catalog &&
|
|
|
|
install-catalog --remove /etc/sgml/sgml-docbook.cat \
|
|
|
|
/etc/sgml/OpenSP-<replaceable>[version]</replaceable>.cat</command></screen></para></tip>
|
|
|
|
|
|
|
|
</sect2>
|