xref: /freebsd/contrib/dma/INSTALL (revision 6be3386466ab79a84b48429ae66244f21526d3df)
1Installing DMA:
2===============
3
4On most systems (with a development environment installed) you should be able to compile DMA with:
5    make
6
7Once it have compiled it successfully, you can install it with:
8    make install sendmail-link mailq-link install-spool-dirs install-etc
9
10Troubleshooting:
11----------------
12On systems that do not default to a compatible "make" version, try using "gmake" or "pmake" instead of "make". Some known examples of this:
13* Solaris 9
14* Solaris 10
15
16Check that you have the following commands installed:
17* cc - gcc is known to work
18* lex - flex is known to work
19* yacc - bison is kjnown to work
20* make - BSD make and GNU make is knwon to work
21* sh - Need to be POSIX compliant, dash, bash known to work
22* install - GNU and BSD versions known to work
23* openssl - Add the header location to C_INCLUDE_PATH if you get errors about "err.h"
24
25If you have all of these tools installed, set the CC, YACC, INSTALL, LEX and SH variable to point to the relevant location and command.
26
27Example:
28    make CC=gcc YACC=bison LEX=/usr/bin/flex SH=/bin/bash INSTALL=/usr/bin/install
29