69b0c7def8c6d1d2e8a83ab156367eeafeeaa9e4
[mmh] / MACHINES
1 #
2 # MACHINE -- operating system specific information
3 #
4 # $Id$
5 #
6
7 --------------------------------------
8
9 FreeBSD:
10 OpenBSD:
11 NetBSD:
12
13 Some BSD4.4 machines have problems when running nmh's configure script.
14 They will be unable to find the location of vi and sendmail.  This is
15 due to POSIX features (breakage?) in the shell sh.  The solution is to
16 run the configure script under the shell `bash'
17
18 bash configure
19
20 --------------------------------------
21
22 HPUX:
23
24 Lots of problems have been reported with using HPUX `cc'.  In particular,
25 problems with `scan' giving incorrect dates (everything is 01/00).
26 It is highly recommended that you use `gcc' instead.
27
28 Also, new versions of HPUX (10.20?) will core dump in `scan' because
29 of some workaround code in zotnet/tws/lexstring.c.  This workaround is
30 needed for older versions of HPUX, but causes problems on newer versions.
31 The solution is the added the line
32
33 #undef hpux
34
35 after line 15 of the file zotnet/tws/lexstring.c.
36
37 --------------------------------------
38
39 Irix (SGI):
40
41 Irix make is notoriously buggy. If you're using it, you should "touch
42 config.h.in" before configuring to prevent a problem where it tries to
43 rebuild targets that shouldn't be rebuilt. (Alternately, you can just
44 use GNU make instead of Irix make.)
45
46 If you are compiling nmh with POP support, then the configuration
47 process will search for (and find) the Irix version of "ruserpass".
48 Unfortunately, this version is buggy and causes core dumps.  The best
49 bet is to use the version that comes with nmh.  After running configure,
50 edit the Makefile in the "sbr" directory, and add "ruserpass.o" to the
51 LIBOBJS line.  Then run "make" as normal.
52
53 --------------------------------------
54
55 Linux:
56
57 Make sure you uncomment the Linux section in the config.h file after
58 running configure.
59
60 The configuration script does a test to discover the functions
61 sigsetjmp/siglongjmp.  Since they are macros on Linux, the configuration
62 process doesn't find them.  After running configure, you should change
63 the line in config.h to define HAVE_SIGSETJMP.
64
65 For some Linux distributions, the configure script doesn't find the
66 ndbm/gdbm library (dbm_open, dbm_close).  In this case, you should try to
67 configure nmh like this:
68
69     LIBS=-lgdbm ./configure [configure options]
70
71 The configuration script does a test to discover if your vi is broken
72 (if it reports non-zero exit codes on certain pseudo-errors).  This test
73 will hang if the program `ex' on your system is a link to the vi clone
74 `vile'.  The workaround is to replace the command ex as a link to another
75 vi clone such as nvi or elvis.
76
77 --------------------------------------
78
79 SCO:
80
81 Make sure you uncomment the SCO section in the config.h file after
82 running configure.
83
84 --------------------------------------
85
86 Solaris:
87
88 Builds ok.
89
90 --------------------------------------
91
92 SunOS 4.1.3:
93
94 You can't use the C compiler that comes with SunOS 4.1.3 since
95 it isn't ANSI C.  But nmh builds just fine with gcc.
96
97 --------------------------------------