]> diplodocus.org Git - nmh/blob - MACHINES
Updated platform lists in MACHINES.
[nmh] / MACHINES
1 # MACHINES -- operating system specific information
2 #
3
4 nmh is routinely built and tested on recent versions of the following
5 platforms:
6 Cygwin (32- and 64-bit)
7 FreeBSD 10
8 Linux (Fedora, Ubuntu, and CentOS distributions)
9 macOS
10
11 nmh was known in the distant past to compile on the following platforms (save
12 the exceptions noted below), using an ANSI C compiler, such as gcc:
13 AIX 4.1.5.0.01
14 FreeBSD 9
15 IRIX 6.5
16 NetBSD 1.4.2
17 OpenBSD 5.4
18 Solaris 7, 8, and 11 (sparc,x86)
19 SunOS 4.1
20
21 On all platforms, the following programs are required to build nmh from a
22 snapshot of the source code repository:
23 autoconf 2.68 or later
24 automake 1.12 or later
25 flex 2.5.4 or later
26 bison 2.3 or later, Berkeley yacc 1.9 or later, or Solaris yacc 4.0
27 They are not required if building from an nmh distribution (.tar.gz) file.
28
29 Platform-specific notes follow.
30
31 ------------------------------------------------------------------------------
32 Linux
33 ------------------------------------------------------------------------------
34
35 Run-time package requirements:
36 ncurses-libs
37 gdbm, db4, or libdb (only needed for slocal(1))
38 readline (if you want readline support)
39 cyrus-sasl-lib / libsasl2 (if configured with --with-cyrus-sasl)
40 openssl-libs / libssl (if configured with --with-tls)
41 libcurl (if configured with --with-oauth)
42
43 Additional build-time package requirements:
44 ncurses-devel / libncurses5-devel
45 gdbm-devel, db4-devel or libdb-devel/libdb-dev (only needed for slocal(1))
46 readline-devel (if you want readline support)
47 cyrus-sasl-devel / libsasl2-dev (if configuring with --with-cyrus-sasl)
48 openssl-devel / libssl-dev (if configuring with --with-tls)
49 libcurl-devel / libcurl-dev (if configured with --with-oauth)
50
51 Test suite package requirements:
52 ncurses (tput is needed to run test/format/test-curses)
53
54 ------------------------------------------------------------------------------
55 Mac OS X
56 ------------------------------------------------------------------------------
57
58 If configured with --with-tls on Mac OS 10.7 or later, there will be
59 compile warnings from mts/smtp/smtp.c about the deprecated OpenSSL
60 that is supplied with that system. nmh will build and run with that
61 OpenSSL, though it may be an old version. Alternatively, the OpenSSL
62 source code is available from http://www.openssl.org/source/. To
63 build 64-bit libraries, the OpenSSL configure command should start
64 with, e.g.,
65 ./Configure darwin64-x86_64-cc
66
67 To build nmh with those OpenSSL libraries, the CPPFLAGS and LDFLAGS
68 can be set by adding the following to the nmh configure command line,
69 or in the shell environment before calling configure or build_nmh:
70 CPPFLAGS='-D__arch64__ -IOpenSSL-include-path' LDFLAGS=-LOpenSSL-lib-path
71
72 ------------------------------------------------------------------------------
73 FreeBSD
74 ------------------------------------------------------------------------------
75
76 Additional build-time package requirements:
77 devel/autotools
78 ftp/curl (if configured with --with-oauth)
79
80 ------------------------------------------------------------------------------
81 Cygwin
82 ------------------------------------------------------------------------------
83
84 Run-time package requirements:
85 file
86 libncurses10 or libncursesw10
87 libgdbm4 (only needed for slocal(1))
88 libiconv or libiconv2 (if you want iconv support)
89 libreadline7 (if you want readline support)
90 libsasl2_3 (if configured with --with-cyrus-sasl)
91 openssl (if configured with --with-tls)
92 libcurl (if configured with --with-oauth)
93
94 Additional build-time package requirements:
95 libncurses-devel or libncursesw-devel
96 libgdbm4-devel (only needed for slocal(1))
97 libiconv-devel (if you want iconv support)
98 libreadline-devel (if you want readline support)
99 libsasl2-devel (if configuring with --with-cyrus-sasl)
100 openssl-devel (if configuring with --with-tls)
101 libcurl-devel (if configured with --with-oauth)
102
103 Older versions of libncurses-devel do not install /usr/include/curses.h,
104 /usr/include/term.h, and /usr/include/termcap.h. If yours does not,
105 either add symlinks in /usr/include/ to those files in its ncurses/
106 subdirectory, or build with:
107 make DEFAULT_INCLUDES='-I. -I/usr/include/ncurses'
108
109 Test suite package requirements:
110 ncurses (tput is needed to run test/format/test-curses)
111
112 Note that the -link switch to refile cannot be used on FAT32 and other
113 filesystems that do not support hard links.
114
115 ------------------------------------------------------------------------------
116 HPUX
117 ------------------------------------------------------------------------------
118
119 Lots of problems have been reported with using HPUX `cc'. In particular,
120 problems with `scan' giving incorrect dates (everything is 01/00). It is
121 highly recommended that you use `gcc' instead.
122
123 ------------------------------------------------------------------------------
124 Irix (SGI)
125 ------------------------------------------------------------------------------
126
127 Irix make is notoriously buggy. If you're using it, you should "touch
128 config.h.in" before configuring to prevent a problem where it tries to rebuild
129 targets that shouldn't be rebuilt. (Alternately, you can just use GNU make
130 instead of Irix make.)
131
132 ------------------------------------------------------------------------------
133 SunOS 4.1.1/4.1.3/4.1.4
134 ------------------------------------------------------------------------------
135
136 You can't use the C compiler that comes with SunOS 4 since it isn't ANSI C.
137 But nmh builds just fine with gcc.
138
139 ------------------------------------------------------------------------------
140
141 ----------
142 The nmh team
143 nmh-workers@nongnu.org