source: trunk/third/nmh/MACHINES @ 12455

Revision 12455, 2.7 KB checked in by danw, 25 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r12454, which included commits to RCS files with non-trunk default branches.
Line 
1#
2# MACHINE -- operating system specific information
3#
4# $Id: MACHINES,v 1.1.1.1 1999-02-07 18:14:04 danw Exp $
5#
6
7--------------------------------------
8
9FreeBSD:
10OpenBSD:
11NetBSD:
12
13Some BSD4.4 machines have problems when running nmh's configure script.
14They will be unable to find the location of vi and sendmail.  This is
15due to POSIX features (breakage?) in the shell sh.  The solution is to
16run the configure script under the shell `bash'
17
18bash configure
19
20--------------------------------------
21
22HPUX:
23
24Lots of problems have been reported with using HPUX `cc'.  In particular,
25problems with `scan' giving incorrect dates (everything is 01/00).
26It is highly recommended that you use `gcc' instead.
27
28Also, new versions of HPUX (10.20?) will core dump in `scan' because
29of some workaround code in zotnet/tws/lexstring.c.  This workaround is
30needed for older versions of HPUX, but causes problems on newer versions.
31The solution is the added the line
32
33#undef hpux
34
35after line 15 of the file zotnet/tws/lexstring.c.
36
37--------------------------------------
38
39Irix (SGI):
40
41If you are compiling nmh with POP support, then the configuration
42process will search for (and find) the Irix version of "ruserpass".
43Unfortunately, this version is buggy and causes core dumps.  The best
44bet is to use the version that comes with nmh.  After running configure,
45edit the Makefile in the "sbr" directory, and add "ruserpass.o" to the
46LIBOBJS line.  Then run "make" as normal.
47
48--------------------------------------
49
50Linux:
51
52Make sure you uncomment the Linux section in the config.h file after
53running configure.
54
55The configuration script does a test to discover the functions
56sigsetjmp/siglongjmp.  Since they are macros on Linux, the configuration
57process doesn't find them.  After running configure, you should change
58the line in config.h to define HAVE_SIGSETJMP.
59
60For some Linux distributions, the configure script doesn't find the
61ndbm/gdbm library (dbm_open, dbm_close).  In this case, you should try to
62configure nmh like this:
63
64    LIBS=-lgdbm ./configure [configure options]
65
66The configuration script does a test to discover if your vi is broken
67(if it reports non-zero exit codes on certain pseudo-errors).  This test
68will hang if the program `ex' on your system is a link to the vi clone
69`vile'.  The workaround is to replace the command ex as a link to another
70vi clone such as nvi or elvis.
71
72--------------------------------------
73
74SCO:
75
76Make sure you uncomment the SCO section in the config.h file after
77running configure.
78
79--------------------------------------
80
81Solaris:
82
83Builds ok.
84
85--------------------------------------
86
87SunOS 4.1.3:
88
89You can't use the C compiler that comes with SunOS 4.1.3 since
90it isn't ANSI C.  But nmh builds just fine with gcc.
91
92--------------------------------------
Note: See TracBrowser for help on using the repository browser.