Installation of SGML Common
Instead of the normal convention of including the autotools files
in the package, the maintainers included symlinks to the files in
/usr/share/automake. For previous
versions of Automake this
convention is valid, but more recent versions of Automake install the internal files in version
specific directories. This causes the configure script to abort because
it is unable to find these files. To fix this problem, the build
system needs to be regenerated. Since the included Makefile.am file uses syntax for installing the
manual page that is not supported by current versions of
Automake, a patch is required to
correct the syntax.
patch -Np1 -i ../sgml-common-0.6.3-manpage-1.patch &&
autoreconf -f -i
Install SGML Common by running the
following commands:
./configure --prefix=/usr --sysconfdir=/etc &&
make
This package does not come with a test suite.
Now, as the root user:
make docdir=/usr/share/doc install &&
install-catalog --add /etc/sgml/sgml-ent.cat \
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog &&
install-catalog --add /etc/sgml/sgml-docbook.cat \
/etc/sgml/sgml-ent.cat
Update Hint
Remove the above catalog items prior to upgrading (as the
root user) with:
install-catalog --remove /etc/sgml/sgml-ent.cat \
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog &&
install-catalog --remove /etc/sgml/sgml-docbook.cat \
/etc/sgml/sgml-ent.cat