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-doctoolsdirectory -
edit
mk.configand change three lines:- replace
INSTALL=/usr/ucb/installwithINSTALL=/usr/bin/install - replace
PREFIX=/usrwithPREFIX=/opt/heirloom - replace
SHELL=/sbin/shwithSHELL=/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.