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