Each time I re-install a fresh Linux distribution, one of the first things I need to do is to compile the Heirloom Documentation Tools. However some adjustments have to be performed; I write them here in order to recall them later:
-
download the sources from http://heirloom.sourceforge.net/doctools.html
-
type:
sudo apt-get install g++ libc-dev bison flex
-
uncompress the tarball
-
enter the
heirloom-doctools
directory -
edit
mk.config
and change three lines:- replace
INSTALL=/usr/ucb/install
withINSTALL=/usr/bin/install
- replace
PREFIX=/usr
withPREFIX=/opt/heirloom
- replace
SHELL=/sbin/sh
withSHELL=/bin/sh
- replace
-
run
make
-
run
sudo make install
This will perform a clean install into /opt/heirloom
and you have to fix your PATH
accordingly.