annotate INSTALL @ 147:e186c2b7192d xemacs-20-2

Added tag r20-2p1 for changeset 2af401a6ecca
author cvs
date Mon, 13 Aug 2007 09:34:48 +0200
parents 1370575f1259
children 538048ae2ab8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 XEmacs Installation Guide
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 Copyright (c) 1994, 1995, 1996 Board of Trustees, University of Illinois
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 Copyright (c) 1994 Free Software Foundation, Inc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
5 Synched up with: FSF 19.30.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
6
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 Permission is granted to anyone to make or distribute verbatim copies
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 of this document as received, in any medium, provided that the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 copyright notice and permission notice are preserved,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 and that the distributor grants the recipient permission
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 for further redistribution as permitted by this notice.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 Permission is granted to distribute modified versions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 of this document, or of portions of it,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 under the above conditions, provided also that they
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 carry prominent notices stating who last changed them,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 and that any new or changed statements about the activities
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 of the Free Software Foundation are approved by the Foundation.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 BUILDING AND INSTALLATION:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 1) Make sure your system has enough swapping space allocated to handle
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 a program whose pure code is 900k bytes and whose data area is at
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 least 400k and can reach 8Mb or more. If the swapping space is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 insufficient, you will get an error in the command `temacs -batch -l
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 loadup dump', found in `./src/Makefile.in.in', or possibly when
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 running the final dumped XEmacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29
120
cca96a509cfe Import from CVS: tag r20-1b12
cvs
parents: 104
diff changeset
30 Building XEmacs requires about 88 Mb of disk space (including the XEmacs
cca96a509cfe Import from CVS: tag r20-1b12
cvs
parents: 104
diff changeset
31 sources). Once installed, XEmacs occupies about 50 Mb in the file system
cca96a509cfe Import from CVS: tag r20-1b12
cvs
parents: 104
diff changeset
32 where it is installed; this includes the executable files, Lisp libraries,
cca96a509cfe Import from CVS: tag r20-1b12
cvs
parents: 104
diff changeset
33 miscellaneous data files, and on-line documentation. The amount of storage
cca96a509cfe Import from CVS: tag r20-1b12
cvs
parents: 104
diff changeset
34 of the Lisp directories may be reduced by compressing the .el files. If
cca96a509cfe Import from CVS: tag r20-1b12
cvs
parents: 104
diff changeset
35 the building and installation take place in different directories, then
cca96a509cfe Import from CVS: tag r20-1b12
cvs
parents: 104
diff changeset
36 the installation procedure momentarily requires 88+50 Mb.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 XEmacs requires an ANSI C compiler, such as LCC or GCC.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 2) Consult `./etc/MACHINES' to see what configuration name you should
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 give to the `configure' program. That file offers hints for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 getting around some possible installation problems.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 3) In the top directory of the XEmacs distribution, run the program
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 `configure' as follows:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 ./configure CONFIGURATION-NAME [--OPTION[=VALUE]] ...
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 The CONFIGURATION-NAME argument should be a configuration name given
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 in `./etc/MACHINES'. If omitted, `configure' will try to guess your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 system type; if it cannot, you must find the appropriate configuration
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 name in `./etc/MACHINES' and specify it explicitly.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 If you don't want X support, specify `--with-x=no'. If you omit this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 option, `configure' will try to figure out for itself whether your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 system has X, and arrange to use it if present.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 Additional support can be included for the NeXTstep system by
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
59 specifying the flag `--with-ns'. This is not yet fully supported.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 The `--x-includes=DIR' and `--x-libraries=DIR' options tell the build
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 process where the compiler should look for the include files and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 object libraries used with the X Window System. Normally, `configure'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 is able to find them; these options are necessary if you have your X
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 Window System files installed in unusual places.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 The `--site-includes=DIR' and `--site-libraries=DIR' options allow you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68 to specify additional places the compiler should look for include
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 files and object libraries. You may specify multiple DIR's by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 enclosing the list in quotes. On some systems (noticeably Solaris) you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 may need to use `--site-runtime-libraries=DIR'. This will add -R
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 versions of each path in addition to the -L versions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 The `--with-gcc' option specifies that the build process should
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 compile XEmacs using GCC. The `--with-lcc' option specifies that the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 build process should compile XEmacs using Lucid C. The `--compiler'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 option allows you to specify some other compiler to be used to compile
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 XEmacs. It is compatible with both the `--with-gcc' and `--with-lcc'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 options, so if the compiler that you specify is a special version of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80 either gcc or lcc, then use the appropriate --with-gcc or --with-lcc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 flag as well as the --compiler flag. If none of these flags is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 specified, `configure' will search for GCC in your load path, and use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 it if present. If you don't want to use GCC, specify `--with-gcc=no'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 and the compiler will then default to 'cc'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 The `--cflags' option specifies the CFLAGS the build process should
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 use when compiling XEmacs. If not used CFLAGS defaults to "-g -O" for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 gcc and "-g" for all other compilers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 The `--with-gnu-make' option specifies that Makefiles should be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 written to take advantage of special features of GNU Make. GNU Make
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 works fine on Makefiles even without this option. This flag just
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 allows for simultaneous in-place and --srcdir building.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 The `--dynamic' option specifies that configure should try to link
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 emacs dynamically rather than statically.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 The `--const-is-losing' option is for use if you have trouble
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 compiling due to the `const' storage class in C. This is defined by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 default. Most users should have no need to change this.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 You can build XEmacs for several different machine types from a single
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 source directory. To do this, you must use a version of `make' that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104 supports the `VPATH' variable, such as GNU `make'. Make separate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105 build directories for the different configuration types, and in each
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 one, run the XEmacs `configure' script. `configure' looks for the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 Emacs source code in the directory that `configure' is in.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 The `--prefix=PREFIXDIR' option specifies where the installation process
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 should put XEmacs and its data files. This defaults to `/usr/local'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111 - XEmacs (and the other utilities users run) go in PREFIXDIR/bin
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 (unless the `--exec-prefix' option says otherwise).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 - The architecture-independent files go in PREFIXDIR/lib/xemacs-VERSION
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 (where VERSION is the version number of XEmacs, like `19.14').
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 - The architecture-dependent files go in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 PREFIXDIR/lib/xemacs-VERSION/CONFIGURATION
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 (where CONFIGURATION is the configuration name, like mips-dec-ultrix4.2),
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 unless the `--exec-prefix' option says otherwise.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 The `--exec-prefix=EXECDIR' option allows you to specify a separate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 portion of the directory tree for installing architecture-specific
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122 files, like executables and utility programs. If specified,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123 - XEmacs (and the other utilities users run) go in EXECDIR/bin, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124 - The architecture-dependent files go in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 EXECDIR/lib/xemacs-VERSION/CONFIGURATION.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126 EXECDIR/bin should be a directory that is normally in users' PATHs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 For example, the command
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 ./configure mips-dec-ultrix --with-x
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 configures XEmacs to build for a DECstation running Ultrix, with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 support for the X11 window system.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 The `--run-in-place' option will make the installed binaries reference
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 the source tree for the elisp files.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138 The `--with-menubars=TYPE' option allows you to specify which X
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139 toolkit you wish to use for the menubar. The valid options are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 `lucid', `motif' and `none'. The default is `lucid' which is a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141 Motif-lookalike menubar. We highly recommend its usage over the real
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 Motif menubar. (In fact, the Motif menubar is currently broken.) If
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143 `none' is specified then support for menubars will not be compiled in.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145 The `--with-scrollbars=TYPE' option allows you to specify which X
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 toolkit you wish to use for the scrollbars. The valid options are
104
cf808b4c4290 Import from CVS: tag r20-1b4
cvs
parents: 70
diff changeset
147 `lucid', `motif', `athena', `athena3d', and `none'. The default is
cf808b4c4290 Import from CVS: tag r20-1b4
cvs
parents: 70
diff changeset
148 `lucid' which is a Motif-lookalike scrollbar. If `none' is specified
cf808b4c4290 Import from CVS: tag r20-1b4
cvs
parents: 70
diff changeset
149 then support for scrollbars will not be compiled in.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 The `--with-dialogs=TYPE' option allows you to specify which X toolkit
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 you wish to use for the scrollbars. The valid options are `athena',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153 `motif, and `none. The `lucid' option is accepted and will result in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154 the `athena' toolkit being used. If the Motif toolkit can be found
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155 the default is `motif'. Otherwise, the default is `athena'. If
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156 `none' is specified then support for dialog boxes will not be compiled
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
157 in.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159 The `--with-toolbars' option allows you to enable or disable toolbar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160 support. The default is `yes' as long as support for a windowing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
161 system is included.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163 The `--with-xpm' option specifies that XEmacs should support X
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164 Pixmaps. `configure' will attempt to detect if you have the Xpm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
165 libraries and define `--with-xpm' for you.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167 The `--with-xface' option specifies that XEmacs should support
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168 X-Faces. `configure' will attempt to detect if you have the compface
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
169 library and define `--with-xface' for you.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171 The `--with-gif' option specifies that XEmacs should support GIF image
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
172 conversion. No extra libraries are required. This options defaults
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173 to `yes'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175 The `--with-jpeg' option specifies that XEmacs should support JPEG
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176 image conversion. This option requires libjpeg from the Independent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177 JPEG Group which is available on the XEmacs ftp site. `configure'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178 will attempt to detect if you have libjpeg and define `--with-jpeg'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179 for you.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181 The `--with-png option specifies that XEmacs should support PNG image
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182 conversion. The valid options at `yes', `no' and `gnuz'. This option
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183 requires libpng which is available on the XEmacs ftp site. This
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184 option also requires a decompression library, either libz or libgz.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185 The default is to use libz. Specify `gnuz' as the option to use libgz
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186 instead. `configure' will attempt to detect if you have libpng and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
187 define `--with-png' for you.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189 The `--with-database' option specifies that XEmacs should be built
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
190 with additional database support. The valid options are `no' or a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
191 comma-separated list of one or more of `dbm', `gnudbm' or `berkdb'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192 `configure' will attempt to detect the necessary libraries and header
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193 files and define `--with-database' for you.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195 The `--with-socks' option specifies that XEmacs should be built with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
196 SOCKS support.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
198 The `--with-term' option specifies that XEmacs should be built with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199 TERM support. TERM is a way to multiplex serial lines over a simple
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200 dialup connection, used on Linux and other systems. We cannot
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
201 guarantee that our TERM support coexists well with standard Internet
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202 connections.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204 The `--with-tooltalk' option specifies that XEmacs should be built
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205 with ToolTalk support for interconnecting with other applications.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
206 ToolTalk is not yet supported on all architectures.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208 The `--with-sparcworks' option specifies that XEmacs should be built
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209 with support for Sun Sparcworks 3.0.1 and up. This functionality is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
210 only of use on SunOS 4.1.x and Solaris 2.x systems.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212 The `--with-cde option allows you to enable or disable CDE drag and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213 drop support. `configure' will attempt to detect this option and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
214 define `--with-cde' for you.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
215
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
216 The `--with-offix option allows you to enable or disable OffiX drag and
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
217 drop support. `configure' will attempt to detect this option and
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
218 define `--with-offix' for you.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
219
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
220 The `--with-energize' option specifies that XEmacs should be built
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
221 with support for the Lucid Energize system. (If you have not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
222 purchased Energize, specifying this option won't gain you anything.)
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
223 Currently this doesn't work.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
224
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
225 The `--external-widget' option specifies that XEmacs should be built
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
226 with support for being used as a widget. This functionality should be
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
227 considered beta.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
228
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
229 The `--with-mocklisp' option specifies that XEmacs should be built
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
230 with support for Mocklisp. Do not use this option unless you have a
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
231 Mocklisp program that you need to run.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
232
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
233 The `--with-xmu=no' option can be used if your vendor doesn't ship
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
234 the Xmu library.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
235
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
236 The `--puresize' option can be used to change the amount of purespace
104
cf808b4c4290 Import from CVS: tag r20-1b4
cvs
parents: 70
diff changeset
237 allocated for the dumped XEmacs. As of XEmacs 20.1 usage of this
cf808b4c4290 Import from CVS: tag r20-1b4
cvs
parents: 70
diff changeset
238 parameter is deprecated and, in fact, ignored.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
240 The `--with-sound=TYPE' option specifies that XEmacs should be built
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241 with sound support. Native (`--with-sound=native') sound support is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
242 currently available only on Sun SparcStations, SGI's, HP9000s, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243 Linux. Network Audio Support (NAS) (`--with-sound=nas' or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
244 `--with-sound=both') is an extension to X that you may or may not have
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
245 for your system. For NAS, you will probably need to provide the paths
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246 to the nas include and library directories to configure. `configure'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247 will attempt to determine if your configuration supports sound and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
248 define --with-sound for you. If your native sound library is not in a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249 standard location you can specify where it is with the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250 `--native-sound-lib=LIB' flag. For Linux, `/dev/audio' is required
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
251 for SunAudio files and `/dev/dsp' is required for raw data and WAVE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252 format files.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
253
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
254 The `--rel-alloc' option can be used to either enable or disable use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
255 of the relocating allocator. Generally, it's best to go with the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
256 default configuration for your system.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
257
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
258 The `--use-system-malloc' option can be use to either enable or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
259 disable use of the relocating allocator. Generally, it's best to go
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
260 with the default configuration for your system. Note that on many
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
261 systems using the system malloc disables the use of the relocating
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
262 allocator.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
263
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
264 The `--with-epoch' option enables functionality taken from Epoch.
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
265 Currently this doesn't work.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
266
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
267 The `--debug' and `--error-checking' options are intended for use only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
268 by the developers. `--debug' adds code to be compiled in for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
269 performing various tests. `--error-checking' adds additional tests to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
270 many of the commonly used macros.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
271
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
272 The `--verbose' and `--extra-verbose' options are intended for use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
273 only by the developers. `--verbose' causes the results of all
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
274 configure tests to be displayed. `--extra-verbose' also displays the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
275 output of any compiler invocations done by configure.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
276
104
cf808b4c4290 Import from CVS: tag r20-1b4
cvs
parents: 70
diff changeset
277 The `--with-wnn' and `--with-wnn6' options are for compiling with the
cf808b4c4290 Import from CVS: tag r20-1b4
cvs
parents: 70
diff changeset
278 Wnn multi-language input method. `--with-wnn' is for compiling
cf808b4c4290 Import from CVS: tag r20-1b4
cvs
parents: 70
diff changeset
279 against Wnn-4.2 the free version of WNN. This is beta level code.
cf808b4c4290 Import from CVS: tag r20-1b4
cvs
parents: 70
diff changeset
280 `--with-wnn6' is for compiling against WNN6 the commercial version of
cf808b4c4290 Import from CVS: tag r20-1b4
cvs
parents: 70
diff changeset
281 WNN. This is alpha level code and very lightly tested at present.
cf808b4c4290 Import from CVS: tag r20-1b4
cvs
parents: 70
diff changeset
282
cf808b4c4290 Import from CVS: tag r20-1b4
cvs
parents: 70
diff changeset
283 The `--wnn-includes=DIR' and `wnn-libraries=DIR' options are provided
cf808b4c4290 Import from CVS: tag r20-1b4
cvs
parents: 70
diff changeset
284 for specifying information about where to find WNN include directories
cf808b4c4290 Import from CVS: tag r20-1b4
cvs
parents: 70
diff changeset
285 and WNN libraries. Currently you need to specify wnn-includes in most
cf808b4c4290 Import from CVS: tag r20-1b4
cvs
parents: 70
diff changeset
286 installations of Wnn-4.2.
cf808b4c4290 Import from CVS: tag r20-1b4
cvs
parents: 70
diff changeset
287
126
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 120
diff changeset
288 The `--with-pop', `--with-hesiod', and `--with-kerberos' options are used
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 120
diff changeset
289 in conjunction with movemail. As of XEmacs 20.1, movemail is identical
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 120
diff changeset
290 to the one used in Emacs.
1370575f1259 Import from CVS: tag xemacs-20-1p1
cvs
parents: 120
diff changeset
291
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
292 `configure' doesn't do any compilation or installation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
293 itself. It just creates the files that influence those things:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
294 `./Makefile', `src/Makefile', `lwlib/Makefile', `lib-src/Makefile',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
295 `man/Makefile', `dynodump/Makefile', and `./src/config.h'. For
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
296 details on exactly what it does, see the section called `CONFIGURATION
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
297 BY HAND', below.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
298
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
299 When it is done, `configure' prints a description of what it did and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
300 creates a shell script `config.status' which, when run, recreates the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
301 same configuration. If `configure' exits with an error after
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
302 disturbing the status quo, it removes `config.status'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
303
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
304 The work of `configure' can be done by editing various files in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
305 distribution, but using `configure' is supposed to be simpler. See
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
306 the section called "CONFIGURATION BY HAND" below if you want to do the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
307 configuration yourself.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
308
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
309 4) Look at `./lisp/paths.el'; if some of those values are not right
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
310 for your system, set up the file `./lisp/site-init.el' with XEmacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
311 Lisp code to override them; it is not a good idea to edit paths.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
312 itself. YOU MUST USE THE LISP FUNCTION `setq' TO ASSIGN VALUES,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
313 rather than `defvar', as used by `./lisp/paths.el'. For example,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
314
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
315 (setq news-inews-program "/usr/bin/inews")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
316
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
317 is how you would override the default value of the variable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
318 news-inews-program (which is "/usr/local/inews").
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
319
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
320 Before you override a variable this way, *look at the value* that the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
321 variable gets by default! Make sure you know what kind of value the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
322 variable should have. If you don't pay attention to what you are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
323 doing, you'll make a mistake.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
324
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
325 Things may malfunction if the variable `directory-abbrev-alist' is not set
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
326 up to translate "temporary" automounter mount points into the canonical
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
327 form. The default value of this variable contains the translation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
328
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
329 ("^/tmp_mnt/" . "/")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
330
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
331 meaning translate "/tmp_mnt/net/FOO" into "/net/FOO", which is appropriate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
332 for the default configuration of the Sun automounter, but which may be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
333 inappropriate for different vendor's automounters, or if you have customized
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
334 your mount-point names.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
335
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
336 5) Put into `./lisp/site-init.el' or `./lisp/site-load.el' any Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
337 Lisp code you want XEmacs to load before it is dumped out. Use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
338 site-load.el for additional libraries if you arrange for their
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
339 documentation strings to be in the lib-src/DOC file (see
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
340 src/Makefile.in.in if you wish to figure out how to do that). For all
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
341 else, use site-init.el.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
342
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
343 If you set load-path to a different value in site-init.el or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
344 site-load.el, XEmacs will use *precisely* that value when it starts up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
345 again. If you do this, you are on your own!
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
346
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
347 Note that, on some systems, the code you place in site-init.el must
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
348 not use expand-file-name or any other function which may look
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
349 something up in the system's password and user information database.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
350 See `./PROBLEMS' for more details on which systems this affects.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
351
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
352 The `site-*.el' files are nonexistent in the distribution. You do not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
353 need to create them if you have nothing to put in them.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
354
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
355 6) Refer to the file `./etc/TERMS' for information on fields you may
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
356 wish to add to various termcap entries. The files `./etc/termcap.ucb'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
357 and `./etc/termcap.dat' may already contain appropriately-modified
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
358 entries.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
359
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
360 7) Run `make' in the top directory of the XEmacs distribution to finish
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
361 building XEmacs in the standard way. The final executable file is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
362 named `src/emacs'. You can execute this file "in place" without
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
363 copying it, if you wish; then it automatically uses the sibling
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
364 directories ../lisp, ../lib-src, ../info.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
365
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
366 Or you can "install" the executable and the other XEmacs into their
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
367 installed locations, with `make install'. By default, XEmacs's files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
368 are installed in the following directories:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
369
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
370 By default, XEmacs installs its files in the following directories:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
371
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
372 `/usr/local/bin' holds the executable programs users normally run -
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
373 `xemacs', `etags', `ctags', `b2m', `emacsclient',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
374 `gnuclient', `gnudoit', `gnuattach', and `rcs-checkin'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
375
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
376 `/usr/local/lib/xemacs-VERSION/lisp' holds the Emacs Lisp libraries;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
377 `VERSION' stands for the number of the XEmacs version
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
378 you are installing, like `18.59' or `19.14'. Since
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
379 the lisp libraries change from one version of XEmacs to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
380 another, including the version number in the path
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
381 allows you to have several versions of XEmacs installed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
382 at the same time; this means that you don't have to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
383 make XEmacs unavailable while installing a new version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
384
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
385 XEmacs searches for its lisp files in these
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
386 directories, and then in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
387 `/usr/local/lib/xemacs/site-lisp/*'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
388
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
389 `/usr/local/lib/xemacs-VERSION/etc' holds the XEmacs tutorial, the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
390 `yow' database, and other architecture-independent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
391 files XEmacs might need while running. VERSION is as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
392 specified for `.../lisp'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
393
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
394 `/usr/local/lib/xemacs/lock' contains files indicating who is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
395 editing what, so XEmacs can detect editing clashes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
396 between users.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
397
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
398 `/usr/local/lib/xemacs-VERSION/CONFIGURATION-NAME' contains executable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
399 programs used by XEmacs that users are not expected to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
400 run themselves, and the DOC file. `VERSION' is the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
401 number of the XEmacs version you are installing, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
402 `CONFIGURATION-NAME' is the argument you gave to the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
403 `configure' program to identify the architecture and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
404 operating system of your machine, like
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
405 `mips-dec-ultrix' or `sparc-sun-sunos'. Since these
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
406 files are specific to the version of XEmacs, operating
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
407 system, and architecture in use, including the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
408 configuration name in the path allows you to have
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
409 several versions of XEmacs for any mix of machines and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
410 operating systems installed at the same time; this is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
411 useful for sites at which different kinds of machines
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
412 share the file system XEmacs is installed on.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
413
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
414 `/usr/local/lib/xemacs-VERSION/info' holds the on-line documentation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
415 for XEmacs, known as "info files".
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
416
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
417 `/usr/local/man/man1' holds the man pages for the programs installed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
418 in `/usr/local/bin'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
419
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
420 If these directories are not what you want, you can specify where to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
421 install XEmacs's libraries and data files or where XEmacs should search
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
422 for its lisp files by giving values for `make' variables as part of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
423 the command. See the section below called `MAKE VARIABLES' for more
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
424 information on this.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
425
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
426 8) If your system uses lock files to interlock access to mailer inbox files,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
427 then you might need to make the movemail program setuid or setgid
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
428 to enable it to write the lock files. We believe this is safe.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
429 The setuid/setgid bits need not be set on any other XEmacs-related
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
430 executables.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
431
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
432 9) You are done! You can remove executables and object files from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
433 the build directory by typing `make clean'. To also remove the files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
434 that `configure' created (so you can compile XEmacs for a different
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
435 configuration), type `make distclean'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
436
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
437
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
438 MAKE VARIABLES
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
439
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
440 You can change where the build process installs XEmacs and its data
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
441 files by specifying values for `make' variables as part of the `make'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
442 command line. For example, if you type
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
443
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
444 make install bindir=/usr/local/gnubin
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
445
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
446 the `bindir=/usr/local/gnubin' argument indicates that the XEmacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
447 executable files should go in `/usr/local/gnubin', not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
448 `/usr/local/bin'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
449
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
450 Here is a complete list of the variables you may want to set.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
451
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
452 `bindir' indicates where to put executable programs that users can
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
453 run. This defaults to /usr/local/bin.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
454
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
455 `datadir' indicates where to put the architecture-independent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
456 read-only data files that XEmacs refers to while it runs; it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
457 defaults to /usr/local/lib. We create the following
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
458 subdirectories under `datadir':
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
459 - `xemacs-VERSION/lisp', containing the XEmacs lisp libraries, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
460
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
461 - `xemacs-VERSION/etc', containing the XEmacs tutorial and the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
462 `yow' database.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
463 `VERSION' is the number of the XEmacs version you are installing,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
464 like `18.59' or `19.14'. Since these files vary from one version
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
465 of XEmacs to another, including the version number in the path
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
466 allows you to have several versions of XEmacs installed at the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
467 same time; this means that you don't have to make XEmacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
468 unavailable while installing a new version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
469
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
470 `statedir' indicates where to put architecture-independent data files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
471 that XEmacs modifies while it runs; it defaults to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
472 /usr/local/lib as well. We create the following
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
473 subdirectories under `statedir':
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
474 - `xemacs/lock', containing files indicating who is editing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
475 what, so XEmacs can detect editing clashes between
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
476 users.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
477
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
478 `libdir' indicates where to put architecture-specific data files that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
479 XEmacs refers to as it runs; it too defaults to `/usr/local/lib'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
480 We create the following subdirectories under `libdir':
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
481 - `xemacs-VERSION/CONFIGURATION-NAME', containing executable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
482 programs used by XEmacs that users are not expected to run
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
483 themselves and the DOC file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
484 `VERSION' is the number of the XEmacs version you are installing,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
485 and `CONFIGURATION-NAME' is the argument you gave to the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
486 `configure' program to identify the architecture and operating
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
487 system of your machine, like `mips-dec-ultrix' or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
488 `sparc-sun-sunos'. Since these files are specific to the version
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
489 of XEmacs, operating system, and architecture in use, including
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
490 the configuration name in the path allows you to have several
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
491 versions of XEmacs for any mix of machines and operating systems
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
492 installed at the same time; this is useful for sites at which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
493 different kinds of machines share the file system XEmacs is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
494 installed on.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
495
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
496 `infodir' indicates where to put the info files distributed with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
497 XEmacs; it defaults to `/usr/local/lib/xemacs-VERSION/info'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
498
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
499 `mandir' indicates where to put the man pages for XEmacs and its
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
500 utilities (like `etags'); it defaults to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
501 `/usr/local/man/man1'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
502
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
503 `prefix' doesn't give a path for any specific part of XEmacs; instead,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
504 its value is used to determine the defaults for all the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
505 architecture-independent path variables - `datadir',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
506 `statedir', `infodir', and `mandir'. Its default value is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
507 `/usr/local'; the other variables add on `lib' or `man' to it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
508 by default.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
509
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
510 For example, suppose your site generally places GNU software
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
511 under `/usr/users/software/gnusoft' instead of `/usr/local'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
512 By including
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
513 `prefix=/usr/users/software/gnusoft'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
514 in the arguments to `make', you can instruct the build process
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
515 to place all of the XEmacs data files in the appropriate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
516 directories under that path.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
517
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
518 `exec_prefix' serves the same purpose as `prefix', but instead
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
519 determines the default values for the architecture-dependent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
520 path variables - `bindir' and `libdir'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
521
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
522 The above variables serve analogous purposes in the makefiles for all
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
523 GNU software; here are some variables specific to XEmacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
524
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
525 `lispdir' indicates where XEmacs installs and expects its lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
526 libraries. Its default value, based on `datadir' (see above),
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
527 is `/usr/local/lib/xemacs-VERSION/lisp' (where `VERSION' is as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
528 described above).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
529
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
530 `sitelispdir' indicates where XEmacs should search for lisp libraries
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
531 specific to your site. XEmacs checks them in order before
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
532 checking `lispdir'. Its default value, based on `datadir'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
533 (see above), is `/usr/local/lib/xemacs/site-lisp'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
534
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
535 `etcdir' indicates where XEmacs should install and expect the rest of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
536 its architecture-independent data, like the tutorial and yow
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
537 database. Its default value, based on `datadir'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
538 (see above), is `/usr/local/lib/xemacs-VERSION/etc' (where
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
539 `VERSION' is as described above).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
540
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
541 `lockdir' indicates the directory where XEmacs keeps track of its
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
542 locking information. Its default value, based on `statedir'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
543 (see above), is `/usr/local/lib/xemacs/lock'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
544
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
545 `archlibdir' indicates where XEmacs installs and expects the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
546 executable files and other architecture-dependent data it uses
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
547 while running. Its default value, based on `libdir' (see
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
548 above), is `/usr/local/lib/xemacs-VERSION/CONFIGURATION-NAME'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
549 (where VERSION and CONFIGURATION-NAME are as described above).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
550
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
551 Remember that you must specify any variable values you need each time
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
552 you run `make' in the top directory. If you run `make' once to build
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
553 xemacs, test it, and then run `make' again to install the files, you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
554 must provide the same variable settings each time. To make the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
555 settings persist, you can edit them into the `Makefile' in the top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
556 directory, but be aware that running the `configure' program erases
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
557 `Makefile' and rebuilds it from `Makefile.in'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
558
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
559 The top-level Makefile stores the variable settings it used in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
560 Makefiles for the subdirectories, so you don't have to specify them
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
561 when running make in the subdirectories.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
562
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
563
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
564 CONFIGURATION BY HAND
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
565
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
566 Instead of running the `configure' program, you have to perform the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
567 following steps.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
568
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
569 1) Copy `./src/config.h.in' to `./src/config.h'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
570
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
571 2) Consult `./etc/MACHINES' to see what configuration name you should
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
572 use for your system. Look at the code of the `configure' script to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
573 see which operating system and architecture description files from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
574 `src/s' and `src/m' should be used for that configuration name. Edit
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
575 `src/config.h', and change the two `#include' directives to include
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
576 the appropriate system and architecture description files.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
577
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
578 2) Edit `./src/config.h' to set the right options for your system. If
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
579 you need to override any of the definitions in the s/*.h and m/*.h
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
580 files for your system and machine, do so by editing config.h, not by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
581 changing the s/*.h and m/*.h files. Occasionally you may need to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
582 redefine parameters used in `./lib-src/movemail.c'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
583
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
584 3) If you're going to use the make utility to build XEmacs, you will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
585 still need to run `configure' first, giving the appropriate values for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
586 the variables in the sections entitled "Things `configure' Might Edit"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
587 and "Where To Install Things." Note that you may only need to change
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
588 the variables `prefix' and `exec_prefix', since the rest of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
589 variables have reasonable defaults based on them. For each Makefile
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
590 variable of this type, there is a corresponding configure option; for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
591 example, to change the location of the lock directory, you might use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
592
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
593 ./configure --lockdir=/nfs/xemacslock
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
594
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
595 The `configure' script is built from `configure.in' by the `autoconf'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
596 program. However, since XEmacs has configuration requirements that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
597 autoconf can't meet, `configure.in' uses an marriage of custom-baked
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
598 configuration code and autoconf macros. New versions of autoconf
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
599 could very well break this arrangement, so it may be wise to avoid
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
600 rebuilding `configure' from `configure.in' when possible.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
601
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
602
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
603 BUILDING XEMACS BY HAND
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
604
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
605 Once XEmacs is configured, running `make' in the top directory performs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
606 the following steps.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
607
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
608 1) Run `make src/paths.h' in the top directory. This produces
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
609 `./src/paths.h' from the template file `./src/paths.h.in', changing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
610 the paths to the values specified in `./Makefile'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
611
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
612 2) Cd to `./lib-src' and run `make'. This creates executables named
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
613 `ctags' and `etags' and `wakeup' and `make-docfile' and `digest-doc'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
614 and `test-distrib'. And others.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
615
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
616 3) Cd to `./src' and Run `make'. This refers to files in the `./lisp'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
617 and `./lib-src' subdirectories using names `../lisp' and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
618 `../lib-src'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
619
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
620 This creates a file `./src/xemacs' which is the runnable XEmacs,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
621 assigning it a new build version number by incrementing the build
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
622 version stored in `./lisp/version.el'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
623
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
624 It also creates a file in `./lib-src' whose name is `DOC' followed by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
625 the current XEmacs version. This file contains documentation strings
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
626 for all the functions in XEmacs. Each time you run make to make a new
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
627 xemacs, a new DOC file with a new name is made. You must keep the DOC
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
628 file for an XEmacs version as long as you keep using that XEmacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
629 version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
630
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
631
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
632 INSTALLATION BY HAND
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
633
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
634 The steps below are done by running `make install' in the main
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
635 directory of the XEmacs distribution.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
636
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
637 1) Copy `./lisp' and its subdirectories, `./etc', and the executables
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
638 in `./lib-src' to their final destinations, as selected in `./src/paths.h'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
639
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
640 Strictly speaking, not all of the executables in `./lib-src' need be copied.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
641 - The programs `cvtmail', `emacsserver', `env', `fakemail', `hexl',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
642 `movemail', `timer', `vcdiff', `wakeup', and `yow' are used by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
643 XEmacs; they do need to be copied.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
644 - The programs `etags', `ctags', `emacsclient', `b2m', `rcs2log',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
645 `gnuclient', `gnudoit', and `gnuattach' are intended to be run
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
646 by users; they are handled below.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
647 - The programs `make-docfile' and `test-distrib' were
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
648 used in building XEmacs, and are not needed any more.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
649 - The programs `digest-doc' and `sorted-doc' convert a `DOC' file into
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
650 a file for users to read. There is no important reason to move them.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
651
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
652 2) Copy the files in `./info' to the place specified in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
653 `./lisp/site-init.el' or `./lisp/paths.el'. Note that if the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
654 destination directory already contains a file named `dir', you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
655 probably don't want to replace it with the `dir' file in the XEmacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
656 distribution. Instead, you should make sure that the existing `dir'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
657 file contains an appropriate menu entry for the XEmacs info.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
658
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
659 3) Create a directory for XEmacs to use for clash detection, named as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
660 indicated by the PATH_LOCK macro in `./src/paths.h'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
661
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
662 4) Copy `./src/xemacs' to `/usr/local/bin', or to some other directory
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
663 in users' search paths. `./src/xemacs' has an alternate name
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
664 `./src/emacs-EMACSVERSION'; you may wish to make a symbolic link named
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
665 `/usr/local/bin/xemacs' pointing to that alternate name, as an easy way
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
666 of installing different versions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
667
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
668 You can delete `./src/temacs'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
669
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
670 5) Copy the programs `b2m', `emacsclient', `ctags', `etags', `rcs2log',
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
671 `gnuclient', `gnudoit', and `gnuattach' from `./lib-src' to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
672 `/usr/local/bin'. These programs are intended for users to run.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
673
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
674 6) Copy the man pages in `./etc' for xemacs, ctags, etags, and gnuserv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
675 into the appropriate man directories.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
676
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
677 7) The files in the `./src' subdirectory, except for `xemacs', are not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
678 used by XEmacs once it is built. The source would be handy for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
679 debugging.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
680
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
681
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
682 PROBLEMS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
683
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
684 See the file PROBLEMS in this directory for a list of various
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
685 problems sometimes encountered, and what to do about them.
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
686
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 50
diff changeset
687