1 | <sect2>
|
---|
2 | <title>Installation of <application>OpenSP</application></title>
|
---|
3 |
|
---|
4 | <para>This patch removes some annoying messages that can appear while
|
---|
5 | running <command>openjade</command>:</para>
|
---|
6 |
|
---|
7 | <screen><userinput><command>patch -Np1 -i ../OpenSP-&opensp-version;-LITLEN.patch</command></userinput></screen>
|
---|
8 |
|
---|
9 | <para>Install <application>OpenSP</application> by running the following commands:</para>
|
---|
10 |
|
---|
11 | <screen><userinput><command>./configure --prefix=/usr --disable-static --enable-http \
|
---|
12 | --enable-default-catalog=/etc/sgml/catalog \
|
---|
13 | --enable-default-search-path=/usr/share/sgml &&
|
---|
14 | make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version; &&
|
---|
15 | make pkgdatadir=/usr/share/sgml/OpenSP-&opensp-version; install &&
|
---|
16 | ln -sf onsgmls /usr/bin/nsgmls &&
|
---|
17 | ln -sf osgmlnorm /usr/bin/sgmlnorm &&
|
---|
18 | ln -sf ospam /usr/bin/spam &&
|
---|
19 | ln -sf ospcat /usr/bin/spcat &&
|
---|
20 | ln -sf ospent /usr/bin/spent &&
|
---|
21 | ln -sf osx /usr/bin/sx &&
|
---|
22 | ln -sf osx /usr/bin/sgml2xml &&
|
---|
23 | ln -sf libosp.so /usr/lib/libsp.so &&
|
---|
24 | install-catalog --add /etc/sgml/OpenSP-&opensp-version;.cat \
|
---|
25 | /usr/share/sgml/OpenSP-&opensp-version;/catalog &&
|
---|
26 | install-catalog --add /etc/sgml/sgml-docbook.cat \
|
---|
27 | /etc/sgml/OpenSP-&opensp-version;.cat</command></userinput></screen>
|
---|
28 |
|
---|
29 | <tip><title>Update hint</title>
|
---|
30 | <para>Remove the above catalog items prior to upgrading with:
|
---|
31 | <screen><command>install-catalog --remove /etc/sgml/OpenSP-<replaceable>[version]</replaceable>.cat \
|
---|
32 | /usr/share/sgml/OpenSP-<replaceable>[version]</replaceable>/catalog &&
|
---|
33 | install-catalog --remove /etc/sgml/sgml-docbook.cat \
|
---|
34 | /etc/sgml/OpenSP-<replaceable>[version]</replaceable>.cat</command></screen></para></tip>
|
---|
35 |
|
---|
36 | </sect2>
|
---|