KDOC requires Perl 5.004 to function. Most environments where this is installed are supported by KDOC.
KDOC has been reported to run to some extent on Microsoft® Windows® (NT/95/98) but you may encounter some problems with filenames. Also, you will probably have to hack the install scripts and file locations manually since the configure script only works on UNIX®.
The procedure for building KDOC is similar to most other programs that come with a configure script.
Unpack the distribution
Unpack the distribution into a temporary directory. It will extract itself into its own directory. If you have downloaded the tar.bz2 version:
# bunzip2 < kdoc-2.0a1.tar.bz2 | tar xf - |
Or if you have downloaded the tar.gz version:
# gunzip < kdoc-2.0a1.tar.gz | tar xf - |
Replace the distribution file name in the above procedure with the one you have downloaded.
Build the application
This will configure KDOC to install itself in /usr/local/:
# cd kdoc-2.0a1 # ./configure |
To install it in a different directory, say /opt/kdoc, add a prefix option to configure like this:
# ./configure --prefix=/opt/kdoc |
Perform the installation
# make; make install |
Remove the temporary directory
# cd .. # rm -rf kdoc-2.0a1 |
Now KDOC should be installed on your system.