File: MACHINES

package info (click to toggle)
nmh 1.3-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 4,056 kB
  • ctags: 4,531
  • sloc: ansic: 50,788; sh: 3,141; makefile: 965; awk: 74
file content (99 lines) | stat: -rw-r--r-- 3,396 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
#
# MACHINE -- operating system specific information
#
# $Id: MACHINES,v 1.13 2000/12/22 19:30:41 ssen Exp $
#

nmh is known to compile on the following platforms (save the
exceptions noted below), using an ANSI C compiler, such as gcc.

AIX 4.1.5.0.01
FreeBSD
IRIX 6.5
Linux 2.2, 2.3, 2.4 (glibc 2.1, glibc 2.2)
Mac OS X Public Beta
NetBSD 1.4.2
OpenBSD
Solaris 7 and 8 (sparc,x86)
SunOS 4.1

Known Compilation problems:
--------------------------------------
FreeBSD:
OpenBSD:
NetBSD:

Some BSD4.4 machines have problems when running nmh's configure script.
They will be unable to find the location of vi and sendmail.  This is
due to POSIX features (breakage?) in the shell sh.  The solution is to
run the configure script under the shell `bash':

    % bash configure

--------------------------------------
Mac OS X/Rhapsody 5:

Version 5.3 at least has the same sh/bash bug as the *BSD systems
above. This appears to be fixed in 5.5.

Will not compile correctly unless you configure with the --enable-debug
option. It appears to find conflicts in the headers only when debugging
is disabled. With debugging enabled, it compiles and runs happily.

--------------------------------------
HPUX:

Lots of problems have been reported with using HPUX `cc'.  In particular,
problems with `scan' giving incorrect dates (everything is 01/00).
It is highly recommended that you use `gcc' instead.

Also, new versions of HPUX (10.20?) will core dump in `scan' because
of some workaround code in zotnet/tws/lexstring.c.  This workaround is
needed for older versions of HPUX, but causes problems on newer versions.
The solution is the added line (minus our indentation):

    #undef hpux

after line 15 of the file zotnet/tws/lexstring.c.

--------------------------------------
Irix (SGI):

Irix make is notoriously buggy. If you're using it, you should "touch
config.h.in" before configuring to prevent a problem where it tries to
rebuild targets that shouldn't be rebuilt. (Alternately, you can just
use GNU make instead of Irix make.)

--------------------------------------
Linux:

The configuration script does a test to discover if your vi is broken
(if it reports non-zero exit codes on certain pseudo-errors).  This test
will hang if the program `ex' on your system is a link to the vi clone
`vile'.  The workaround is to replace the command ex as a link to another
vi clone such as nvi or elvis.

--------------------------------------
Solaris:

With --enable-debug you'll see a lot of warnings. This is even worse
when compiling using the Sun Workshop compiler since it issues a
warning for every instance of a problem instead of summarizing them.
The main one concerns arrays with an index of type char. This is ok.
The array itself is a hash of chars, so the array size and the type
match. There isn't another safe and portable way to do this at the
moment. An explicit cast would get rid of the warnings, but I think
it's better to leave it complaining for now until we come up with
a better solution. The whole thing is probablly going to be chucked
with UTC-8 support anyway.

Other than the warnings, it builds ok.
--------------------------------------
SunOS 4.1.1/4.1.3/4.1.4:

You can't use the C compiler that comes with SunOS 4 since
it isn't ANSI C.  But nmh builds just fine with gcc. With
--enable-debug you will see a lot of warnings. 
--------------------------------------