mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-27 09:42:12 +08:00
2d63b0bbe6
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1537 af4574ff-66df-0310-9fd7-8a98e5e911e0
37 lines
1.7 KiB
XML
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 &&
|
|
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:
|
|
<screen><command>install-catalog --remove /etc/sgml/OpenSP-<replaceable>[version]</replaceable>.cat \
|
|
/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>
|