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