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