Removed `-format string' switches but made -form accept `=formatstring'.
[mmh] / MACHINES
1 #
2 # MACHINE -- operating system specific information
3 #
4
5 nmh is known to compile on the following platforms (save the
6 exceptions noted below), using an ANSI C compiler, such as gcc.
7
8 AIX 4.1.5.0.01
9 FreeBSD
10 IRIX 6.5
11 Linux 2.2, 2.3, 2.4 (glibc 2.1, glibc 2.2)
12 Mac OS X Public Beta
13 NetBSD 1.4.2
14 OpenBSD
15 Solaris 7 and 8 (sparc,x86)
16 SunOS 4.1
17
18 Known Compilation problems:
19 --------------------------------------
20 FreeBSD:
21 OpenBSD:
22 NetBSD:
23
24 Some BSD4.4 machines have problems when running nmh's configure script.
25 They will be unable to find the location of vi and sendmail.  This is
26 due to POSIX features (breakage?) in the shell sh.  The solution is to
27 run the configure script under the shell `bash':
28
29     % bash configure
30
31 --------------------------------------
32 Mac OS X/Rhapsody 5:
33
34 Version 5.3 at least has the same sh/bash bug as the *BSD systems
35 above. This appears to be fixed in 5.5.
36
37 Will not compile correctly unless you configure with the --enable-debug
38 option. It appears to find conflicts in the headers only when debugging
39 is disabled. With debugging enabled, it compiles and runs happily.
40
41 --------------------------------------
42 HPUX:
43
44 Lots of problems have been reported with using HPUX `cc'.  In particular,
45 problems with `scan' giving incorrect dates (everything is 01/00).
46 It is highly recommended that you use `gcc' instead.
47
48 Also, new versions of HPUX (10.20?) will core dump in `scan' because
49 of some workaround code in zotnet/tws/lexstring.c.  This workaround is
50 needed for older versions of HPUX, but causes problems on newer versions.
51 The solution is the added line (minus our indentation):
52
53     #undef hpux
54
55 after line 15 of the file zotnet/tws/lexstring.c.
56
57 --------------------------------------
58 Irix (SGI):
59
60 Irix make is notoriously buggy. If you're using it, you should "touch
61 config.h.in" before configuring to prevent a problem where it tries to
62 rebuild targets that shouldn't be rebuilt. (Alternately, you can just
63 use GNU make instead of Irix make.)
64
65 --------------------------------------
66 Linux:
67
68 The configuration script does a test to discover if your vi is broken
69 (if it reports non-zero exit codes on certain pseudo-errors).  This test
70 will hang if the program `ex' on your system is a link to the vi clone
71 `vile'.  The workaround is to replace the command ex as a link to another
72 vi clone such as nvi or elvis.
73
74 --------------------------------------
75 Solaris:
76
77 With --enable-debug you'll see a lot of warnings. This is even worse
78 when compiling using the Sun Workshop compiler since it issues a
79 warning for every instance of a problem instead of summarizing them.
80 The main one concerns arrays with an index of type char. This is ok.
81 The array itself is a hash of chars, so the array size and the type
82 match. There isn't another safe and portable way to do this at the
83 moment. An explicit cast would get rid of the warnings, but I think
84 it's better to leave it complaining for now until we come up with
85 a better solution. The whole thing is probablly going to be chucked
86 with UTC-8 support anyway.
87
88 Other than the warnings, it builds ok.
89 --------------------------------------
90 SunOS 4.1.1/4.1.3/4.1.4:
91
92 You can't use the C compiler that comes with SunOS 4 since
93 it isn't ANSI C.  But nmh builds just fine with gcc. With
94 --enable-debug you will see a lot of warnings. 
95 --------------------------------------
96
97