xref: /freebsd/contrib/dma/INSTALL (revision 6cec9cad762b6476313fb1f8e931a1647822db6b)
1*a9e8641dSBaptiste DaroussinInstalling DMA:
2*a9e8641dSBaptiste Daroussin===============
3*a9e8641dSBaptiste Daroussin
4*a9e8641dSBaptiste DaroussinOn most systems (with a development environment installed) you should be able to compile DMA with:
5*a9e8641dSBaptiste Daroussin    make
6*a9e8641dSBaptiste Daroussin
7*a9e8641dSBaptiste DaroussinOnce it have compiled it successfully, you can install it with:
8*a9e8641dSBaptiste Daroussin    make install sendmail-link mailq-link install-spool-dirs install-etc
9*a9e8641dSBaptiste Daroussin
10*a9e8641dSBaptiste DaroussinTroubleshooting:
11*a9e8641dSBaptiste Daroussin----------------
12*a9e8641dSBaptiste DaroussinOn systems that do not default to a compatible "make" version, try using "gmake" or "pmake" instead of "make". Some known examples of this:
13*a9e8641dSBaptiste Daroussin* Solaris 9
14*a9e8641dSBaptiste Daroussin* Solaris 10
15*a9e8641dSBaptiste Daroussin
16*a9e8641dSBaptiste DaroussinCheck that you have the following commands installed:
17*a9e8641dSBaptiste Daroussin* cc - gcc is known to work
18*a9e8641dSBaptiste Daroussin* lex - flex is known to work
19*a9e8641dSBaptiste Daroussin* yacc - bison is kjnown to work
20*a9e8641dSBaptiste Daroussin* make - BSD make and GNU make is knwon to work
21*a9e8641dSBaptiste Daroussin* sh - Need to be POSIX compliant, dash, bash known to work
22*a9e8641dSBaptiste Daroussin* install - GNU and BSD versions known to work
23*a9e8641dSBaptiste Daroussin* openssl - Add the header location to C_INCLUDE_PATH if you get errors about "err.h"
24*a9e8641dSBaptiste Daroussin
25*a9e8641dSBaptiste DaroussinIf 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*a9e8641dSBaptiste Daroussin
27*a9e8641dSBaptiste DaroussinExample:
28*a9e8641dSBaptiste Daroussin    make CC=gcc YACC=bison LEX=/usr/bin/flex SH=/bin/bash INSTALL=/usr/bin/install
29