Changed msg_style and msg_delim to be file static to m_getfld.c
[mmh] / MACHINES
1 #
2 # MACHINES -- 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 Cygwin (setup version 2.763, other versions may be fine)
10 FreeBSD
11 IRIX 6.5
12 Linux 2.2 to current (glibc 2.1 to current)
13 Mac OS X
14 NetBSD 1.4.2
15 OpenBSD
16 Solaris 7 and 8 (sparc,x86)
17 SunOS 4.1
18
19 Known Compilation problems:
20 --------------------------------------
21 Cygwin:
22
23 Be sure to install these Cygwin packages:
24   gdbm
25   libgdbm4
26   libgdbm-devel
27   libncurses10
28   libncurses-devel
29
30 If configuring with --with-cyrus-sasl, install these Cygwin packages:
31   libsasl2
32   libsasl2-devel
33
34 If configuring with --with-tls, install these Cygwin packages:
35   gnutls-devel
36   libgnutls26
37
38 Note that the -link switch to refile cannot be used on FAT32 and
39 similar filesystems.
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 UTF-8 support anyway.
87
88 Other than the warnings, it builds ok.
89
90 --------------------------------------
91 SunOS 4.1.1/4.1.3/4.1.4:
92
93 You can't use the C compiler that comes with SunOS 4 since
94 it isn't ANSI C.  But nmh builds just fine with gcc. With
95 --enable-debug you will see a lot of warnings.
96
97 --------------------------------------
98
99 --
100 The nmh team
101 nmh-workers@nongnu.org