355
|
1 #!/bin/sh
|
|
2 #
|
|
3 # install - install a program, script, or datafile
|
|
4 # This comes from X11R5.
|
|
5 #
|
|
6 # $XConsortium: install.sh,v 1.2 89/12/18 14:47:22 jim Exp $
|
|
7 #
|
|
8 # This script is compatible with the BSD install script, but was written
|
|
9 # from scratch.
|
|
10 #
|
|
11
|
|
12
|
|
13 # set DOITPROG to echo to test this script
|
|
14
|
|
15 # Don't use :- since 4.3BSD and earlier shells don't like it.
|
|
16 doit="${DOITPROG-}"
|
|
17
|
|
18
|
|
19 # put in absolute paths if you don't have them in your path; or use env. vars.
|
|
20
|
|
21 mvprog="${MVPROG-mv}"
|
|
22 cpprog="${CPPROG-cp}"
|
|
23 chmodprog="${CHMODPROG-chmod}"
|
|
24 chownprog="${CHOWNPROG-chown}"
|
|
25 chgrpprog="${CHGRPPROG-chgrp}"
|
|
26 stripprog="${STRIPPROG-strip}"
|
|
27 rmprog="${RMPROG-rm}"
|
|
28 mkdirprog="${MKDIRPROG-mkdir}"
|
|
29
|
|
30 tranformbasename=""
|
|
31 transform_arg=""
|
|
32 instcmd="$mvprog"
|
|
33 chmodcmd="$chmodprog 0755"
|
|
34 chowncmd=""
|
|
35 chgrpcmd=""
|
|
36 stripcmd=""
|
|
37 rmcmd="$rmprog -f"
|
|
38 mvcmd="$mvprog"
|
|
39 src=""
|
|
40 dst=""
|
|
41 dir_arg=""
|
|
42
|
|
43 while [ x"$1" != x ]; do
|
|
44 case $1 in
|
|
45 -c) instcmd="$cpprog"
|
|
46 shift
|
|
47 continue;;
|
|
48
|
|
49 -d) dir_arg=true
|
|
50 shift
|
|
51 continue;;
|
|
52
|
|
53 -m) chmodcmd="$chmodprog $2"
|
|
54 shift
|
|
55 shift
|
|
56 continue;;
|
|
57
|
|
58 -o) chowncmd="$chownprog $2"
|
|
59 shift
|
|
60 shift
|
|
61 continue;;
|
|
62
|
|
63 -g) chgrpcmd="$chgrpprog $2"
|
|
64 shift
|
|
65 shift
|
|
66 continue;;
|
|
67
|
|
68 -s) stripcmd="$stripprog"
|
|
69 shift
|
|
70 continue;;
|
|
71
|
|
72 -t=*) transformarg=`echo $1 | sed 's/-t=//'`
|
|
73 shift
|
|
74 continue;;
|
|
75
|
|
76 -b=*) transformbasename=`echo $1 | sed 's/-b=//'`
|
|
77 shift
|
|
78 continue;;
|
|
79
|
|
80 *) if [ x"$src" = x ]
|
|
81 then
|
|
82 src=$1
|
|
83 else
|
|
84 # this colon is to work around a 386BSD /bin/sh bug
|
|
85 :
|
|
86 dst=$1
|
|
87 fi
|
|
88 shift
|
|
89 continue;;
|
|
90 esac
|
|
91 done
|
|
92
|
|
93 if [ x"$src" = x ]
|
|
94 then
|
|
95 echo "install: no input file specified"
|
|
96 exit 1
|
|
97 else
|
|
98 true
|
|
99 fi
|
|
100
|
|
101 if [ x"$dir_arg" != x ]; then
|
|
102 dst=$src
|
|
103 src=""
|
|
104
|
|
105 if [ -d $dst ]; then
|
|
106 instcmd=:
|
|
107 else
|
|
108 instcmd=mkdir
|
|
109 fi
|
|
110 else
|
|
111
|
|
112 # Waiting for this to be detected by the "$instcmd $src $dsttmp" command
|
|
113 # might cause directories to be created, which would be especially bad
|
|
114 # if $src (and thus $dsttmp) contains '*'.
|
|
115
|
|
116 if [ -f $src -o -d $src ]
|
|
117 then
|
|
118 true
|
|
119 else
|
|
120 echo "install: $src does not exist"
|
|
121 exit 1
|
|
122 fi
|
|
123
|
|
124 if [ x"$dst" = x ]
|
|
125 then
|
|
126 echo "install: no destination specified"
|
|
127 exit 1
|
|
128 else
|
|
129 true
|
|
130 fi
|
|
131
|
|
132 # If destination is a directory, append the input filename; if your system
|
|
133 # does not like double slashes in filenames, you may need to add some logic
|
|
134
|
|
135 if [ -d $dst ]
|
|
136 then
|
|
137 dst="$dst"/`basename $src`
|
|
138 else
|
|
139 true
|
|
140 fi
|
|
141 fi
|
|
142
|
|
143 ## this sed command emulates the dirname command
|
|
144 dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
|
|
145
|
|
146 # Make sure that the destination directory exists.
|
|
147 # this part is taken from Noah Friedman's mkinstalldirs script
|
|
148
|
|
149 # Skip lots of stat calls in the usual case.
|
|
150 if [ ! -d "$dstdir" ]; then
|
|
151 defaultIFS='
|
|
152 '
|
|
153 IFS="${IFS-${defaultIFS}}"
|
|
154
|
|
155 oIFS="${IFS}"
|
|
156 # Some sh's can't handle IFS=/ for some reason.
|
|
157 IFS='%'
|
|
158 set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
|
|
159 IFS="${oIFS}"
|
|
160
|
|
161 pathcomp=''
|
|
162
|
|
163 while [ $# -ne 0 ] ; do
|
|
164 pathcomp="${pathcomp}${1}"
|
|
165 shift
|
|
166
|
|
167 if [ ! -d "${pathcomp}" ] ;
|
|
168 then
|
|
169 $mkdirprog "${pathcomp}"
|
|
170 else
|
|
171 true
|
|
172 fi
|
|
173
|
|
174 pathcomp="${pathcomp}/"
|
|
175 done
|
|
176 fi
|
|
177
|
|
178 if [ x"$dir_arg" != x ]
|
|
179 then
|
|
180 $doit $instcmd $dst &&
|
|
181
|
|
182 if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
|
|
183 if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
|
|
184 if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
|
|
185 if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
|
|
186 else
|
|
187
|
|
188 # If we're going to rename the final executable, determine the name now.
|
|
189
|
|
190 if [ x"$transformarg" = x ]
|
|
191 then
|
|
192 dstfile=`basename $dst`
|
|
193 else
|
|
194 dstfile=`basename $dst $transformbasename |
|
|
195 sed $transformarg`$transformbasename
|
|
196 fi
|
|
197
|
|
198 # don't allow the sed command to completely eliminate the filename
|
|
199
|
|
200 if [ x"$dstfile" = x ]
|
|
201 then
|
|
202 dstfile=`basename $dst`
|
|
203 else
|
|
204 true
|
|
205 fi
|
|
206
|
|
207 # Make a temp file name in the proper directory.
|
|
208
|
|
209 dsttmp=$dstdir/#inst.$$#
|
|
210
|
|
211 # Move or copy the file name to the temp name
|
|
212
|
|
213 $doit $instcmd $src $dsttmp &&
|
|
214
|
|
215 trap "rm -f ${dsttmp}" 0 &&
|
|
216
|
|
217 # and set any options; do chmod last to preserve setuid bits
|
|
218
|
|
219 # If any of these fail, we abort the whole thing. If we want to
|
|
220 # ignore errors from any of these, just make sure not to ignore
|
|
221 # errors from the above "$doit $instcmd $src $dsttmp" command.
|
|
222
|
|
223 if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
|
|
224 if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
|
|
225 if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
|
|
226 if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
|
|
227
|
|
228 # Now rename the file to the real destination.
|
|
229
|
|
230 $doit $rmcmd -f $dstdir/$dstfile &&
|
|
231 $doit $mvcmd $dsttmp $dstdir/$dstfile
|
|
232
|
|
233 fi &&
|
|
234
|
|
235
|
|
236 exit 0
|
0
|
237 XEmacs Installation Guide
|
|
238 Copyright (c) 1994, 1995, 1996 Board of Trustees, University of Illinois
|
|
239 Copyright (c) 1994 Free Software Foundation, Inc.
|
|
240
|
70
|
241 Synched up with: FSF 19.30.
|
|
242
|
0
|
243 Permission is granted to anyone to make or distribute verbatim copies
|
|
244 of this document as received, in any medium, provided that the
|
|
245 copyright notice and permission notice are preserved,
|
|
246 and that the distributor grants the recipient permission
|
|
247 for further redistribution as permitted by this notice.
|
|
248
|
|
249 Permission is granted to distribute modified versions
|
|
250 of this document, or of portions of it,
|
|
251 under the above conditions, provided also that they
|
|
252 carry prominent notices stating who last changed them,
|
|
253 and that any new or changed statements about the activities
|
|
254 of the Free Software Foundation are approved by the Foundation.
|
|
255
|
|
256
|
253
|
257 BUILDING AND INSTALLATION (Unix and Cygwin, see the file nt/README
|
|
258 for instructions on building under Microsoft Windows):
|
0
|
259
|
|
260 1) Make sure your system has enough swapping space allocated to handle
|
149
|
261 a program whose pure code is 900k bytes and whose data area is at
|
|
262 least 400k and can reach 8Mb or more. If the swapping space is
|
|
263 insufficient, you will get an error in the command `temacs -batch
|
|
264 -l loadup dump', found in `./src/Makefile.in.in', or possibly when
|
|
265 running the final dumped XEmacs.
|
272
|
266
|
243
|
267 Building XEmacs requires about 41 Mb of disk space (including the
|
|
268 XEmacs sources). Once installed, XEmacs occupies about 16 Mb in the
|
149
|
269 file system where it is installed; this includes the executable files,
|
272
|
270 Lisp libraries, miscellaneous data files, and on-line documentation.
|
149
|
271 The amount of storage of the Lisp directories may be reduced by
|
|
272 compressing the .el files. If the building and installation take place
|
|
273 in different directories, then the installation procedure temporarily
|
243
|
274 requires 41+16 Mb. Adjust this value upwards depending upon what
|
|
275 additional Lisp support is installed.
|
149
|
276
|
255
|
277 XEmacs requires an ANSI C compiler, such as GCC. If you wish to build
|
|
278 the documentation yourself, you will need at least version 1.68 of
|
|
279 makeinfo (GNU texinfo-3.11).
|
149
|
280
|
|
281
|
|
282 2) Decide on what other software packages you would like to use with
|
|
283 XEmacs, but are not yet available on your system. On some systems,
|
|
284 Motif and CDE are optional additions. On Solaris, the SUNWaudmo
|
|
285 package enables native sound support. There are also a number of free
|
|
286 software packages that XEmacs can use. If these are not yet available
|
|
287 on your system, obtain, build and install those external packages
|
|
288 before building XEmacs. The packages XEmacs can use are:
|
0
|
289
|
272
|
290 Xaw3d, XPM, JPEG, compface, PNG, zlib, GNU DBM, Berkeley DB, socks,
|
|
291 term, NAS, Canna, Kinput2, SJ3, Wnn.
|
149
|
292
|
|
293 You can get (most of) them from the XEmacs ftp site at
|
243
|
294 ftp://ftp.xemacs.org/pub/xemacs/aux
|
0
|
295
|
149
|
296 If you want users on other systems to be able to use the XEmacs you
|
|
297 have built, try to build those packages so that the generated
|
|
298 libraries are statically linked.
|
|
299
|
|
300 Use the --site-includes and --site-libraries options when building
|
272
|
301 XEmacs to allow configure to find the external software packages.
|
201
|
302 If you link with dynamic (``.so'') external package libraries, which
|
|
303 is not recommended, you will also need to add the library directories
|
|
304 to the --site-runtime-libraries option.
|
149
|
305
|
0
|
306
|
269
|
307 3) Decide what Initial Lisp you need with XEmacs. XEmacs is
|
|
308 distributed separately from most of its runtime environment. This is
|
|
309 done to make it easier for administrators to tune an installation for
|
|
310 what the local users need. See the file etc/PACKAGES for an overview
|
|
311 of what is available and which packages need to be installed prior to
|
|
312 building XEmacs. At this point you only need a minimum to get started
|
|
313 at which point you may install what you wish without further changes
|
|
314 to the XEmacs binary. A sample minimum configuration for a Linux
|
|
315 system using Mule and Wnn6 from OMRON corporation would be the
|
|
316 packages `mule-base' and `egg-its'. By default, packages will be
|
|
317 searched for in the path
|
243
|
318
|
318
|
319 ~/.xemacs::$prefix/lib/xemacs-${version}/mule-packages:$prefix/lib/xemacs/mule-packages:$prefix/lib/xemacs-${version}/xemacs-packages:$prefix/lib/xemacs/xemacs-packages
|
269
|
320
|
|
321 This may be changed by specifying a different value with the
|
|
322 --package-path configuration option.
|
243
|
323
|
314
|
324 IMPORTANT NOTE: In a future version of XEmacs, the user-specific
|
|
325 package hierarchy will move from ~/.xemacs to ~/.xemacs/packages.
|
|
326
|
243
|
327 4) In the top level directory of the XEmacs distribution, run the
|
149
|
328 program `configure' as follows:
|
0
|
329
|
149
|
330 ./configure [CONFIGURATION-NAME] [--OPTION[=VALUE]] ...
|
0
|
331
|
243
|
332 Almost always, you should let `configure' (actually the shell script
|
|
333 `config.guess') guess your host type, by omitting the
|
149
|
334 CONFIGURATION-NAME argument. If you like to experiment, specify a
|
|
335 configuration name in the form MACHINE-VENDOR-OPSYS, for example:
|
|
336
|
|
337 sparc-sun-solaris2.6
|
|
338
|
|
339 See config.guess and configure.in for valid values for MACHINE,
|
|
340 VENDOR, and OPSYS. Also check `./etc/MACHINES' for advice on building
|
|
341 on particular machines.
|
0
|
342
|
272
|
343 If you don't want X support, specify `--without-x'. If you omit this
|
149
|
344 option, `configure' will try to autodetect whether your system has X,
|
|
345 and arrange to use it if present.
|
0
|
346
|
|
347 The `--x-includes=DIR' and `--x-libraries=DIR' options tell the build
|
|
348 process where the compiler should look for the include files and
|
|
349 object libraries used with the X Window System. Normally, `configure'
|
|
350 is able to find them; these options are necessary if you have your X
|
|
351 Window System files installed in unusual places.
|
|
352
|
|
353 The `--site-includes=DIR' and `--site-libraries=DIR' options allow you
|
|
354 to specify additional places the compiler should look for include
|
|
355 files and object libraries. You may specify multiple DIR's by
|
149
|
356 enclosing the list in quotes. All the external packages you want to
|
272
|
357 use with XEmacs (e.g. xpm, wnn, ...) described later should have their
|
149
|
358 include and library directories defined using these options.
|
|
359
|
201
|
360 The `--site-runtime-libraries=DIR' option specifies directories to
|
|
361 search for shared libraries at run time. This may be necessary if you
|
|
362 link with dynamic libraries that are installed in non-standard
|
|
363 directories, or if you expect some of the libraries used to build
|
|
364 XEmacs to be in a different directory at run time than at build time.
|
|
365 Usually this will add a `-R' to each directory specified and use that
|
|
366 when linking XEmacs. If you use this option, you must specify ALL of
|
|
367 the directories containing shared libraries at run time, including
|
|
368 system directories.
|
|
369
|
|
370 Rationale: Some people think that directories in --site-libraries
|
|
371 should be automatically used to update --site-runtime-libraries.
|
|
372 Here's a real-life scenario that explains why this is not done: You
|
|
373 build binaries for your company using static libs in
|
|
374 /net/toy/hack/lib. XEmacs adds /net/toy/hack/lib to the runpath of
|
|
375 the executable you've built. Since there are only static libs there,
|
|
376 the system runtime loader will look in this dir, and ignore it,
|
|
377 causing only a .01 second delay in starting XEmacs. You leave the
|
|
378 company for a job at a small Silicon Valley startup. Time passes.
|
|
379 The next guy who inherits your machine objects to working on a machine
|
|
380 named `toy', and gets the sysadmin to rename the machine `godzilla'.
|
|
381 The SA forgets to remove the old entry for `toy' from the hosts file.
|
|
382 Now the system loader will still try to access /net/toy/, and the
|
|
383 automounter will hang trying to access /net/toy. XEmacs suddenly
|
|
384 takes 30 seconds longer to start up, no one can figure out why, and
|
|
385 everyone at your old company curses your name, thinking that you've
|
|
386 put a time bomb into XEmacs. And they're right!
|
0
|
387
|
|
388 The `--with-gcc' option specifies that the build process should
|
149
|
389 compile XEmacs using GCC. The `--compiler' option allows you to
|
|
390 specify some other compiler to be used to compile XEmacs. If neither
|
|
391 option is specified, the environment variable CC is used instead.
|
|
392 Otherwise the compiler will then default to 'cc'.
|
0
|
393
|
|
394 The `--cflags' option specifies the CFLAGS the build process should
|
149
|
395 use when compiling XEmacs. Otherwise the value of the environment
|
|
396 variable CFLAGS is consulted. If that is also undefined, CFLAGS
|
|
397 defaults to "-g -O" for gcc and "-g" for all other compilers.
|
0
|
398
|
|
399 The `--with-gnu-make' option specifies that Makefiles should be
|
|
400 written to take advantage of special features of GNU Make. GNU Make
|
|
401 works fine on Makefiles even without this option. This flag just
|
|
402 allows for simultaneous in-place and --srcdir building.
|
|
403
|
|
404 The `--dynamic' option specifies that configure should try to link
|
|
405 emacs dynamically rather than statically.
|
|
406
|
|
407 The `--const-is-losing' option is for use if you have trouble
|
272
|
408 compiling due to the `const' storage class in C. This is defined by
|
0
|
409 default. Most users should have no need to change this.
|
|
410
|
|
411 You can build XEmacs for several different machine types from a single
|
|
412 source directory. To do this, you must use a version of `make' that
|
|
413 supports the `VPATH' variable, such as GNU `make'. Make separate
|
|
414 build directories for the different configuration types, and in each
|
|
415 one, run the XEmacs `configure' script. `configure' looks for the
|
|
416 Emacs source code in the directory that `configure' is in.
|
|
417
|
|
418 The `--prefix=PREFIXDIR' option specifies where the installation process
|
|
419 should put XEmacs and its data files. This defaults to `/usr/local'.
|
|
420 - XEmacs (and the other utilities users run) go in PREFIXDIR/bin
|
|
421 (unless the `--exec-prefix' option says otherwise).
|
|
422 - The architecture-independent files go in PREFIXDIR/lib/xemacs-VERSION
|
276
|
423 (where VERSION is the version number of XEmacs, like `21.0').
|
0
|
424 - The architecture-dependent files go in
|
243
|
425 PREFIXDIR/lib/xemacs-VERSION/CONFIGURATION-NAME
|
|
426 (where CONFIGURATION-NAME is the host type, like mips-dec-ultrix4.2),
|
0
|
427 unless the `--exec-prefix' option says otherwise.
|
|
428
|
|
429 The `--exec-prefix=EXECDIR' option allows you to specify a separate
|
|
430 portion of the directory tree for installing architecture-specific
|
|
431 files, like executables and utility programs. If specified,
|
|
432 - XEmacs (and the other utilities users run) go in EXECDIR/bin, and
|
|
433 - The architecture-dependent files go in
|
243
|
434 EXECDIR/lib/xemacs-VERSION/CONFIGURATION-NAME.
|
0
|
435 EXECDIR/bin should be a directory that is normally in users' PATHs.
|
|
436
|
|
437 For example, the command
|
|
438
|
149
|
439 ./configure mips-dec-ultrix --with-x11=yes
|
0
|
440
|
|
441 configures XEmacs to build for a DECstation running Ultrix, with
|
|
442 support for the X11 window system.
|
|
443
|
|
444 The `--with-menubars=TYPE' option allows you to specify which X
|
|
445 toolkit you wish to use for the menubar. The valid options are
|
149
|
446 `lucid', `motif' and `no'. The default is `lucid' which is a
|
0
|
447 Motif-lookalike menubar. We highly recommend its usage over the real
|
|
448 Motif menubar. (In fact, the Motif menubar is currently broken.) If
|
149
|
449 `no' is specified then support for menubars will not be compiled in.
|
0
|
450
|
|
451 The `--with-scrollbars=TYPE' option allows you to specify which X
|
|
452 toolkit you wish to use for the scrollbars. The valid options are
|
149
|
453 `lucid', `motif', `athena', `athena3d', and `no'. The default is
|
|
454 `lucid' which is a Motif-lookalike scrollbar. If `no' is specified
|
104
|
455 then support for scrollbars will not be compiled in.
|
0
|
456
|
|
457 The `--with-dialogs=TYPE' option allows you to specify which X toolkit
|
219
|
458 you wish to use for the dialog boxes. The valid options are `athena',
|
243
|
459 `athena3d', `motif, and `no. The `lucid' option is accepted and will
|
|
460 result in the `athena' toolkit being used. If the Motif toolkit can be
|
|
461 found the default is `motif'. Otherwise, the default is `athena'. If
|
149
|
462 `no' is specified then support for dialog boxes will not be compiled
|
0
|
463 in.
|
|
464
|
|
465 The `--with-toolbars' option allows you to enable or disable toolbar
|
|
466 support. The default is `yes' as long as support for a windowing
|
|
467 system is included.
|
|
468
|
149
|
469 The `--with-xpm' option specifies that XEmacs should support X11
|
0
|
470 Pixmaps. `configure' will attempt to detect if you have the Xpm
|
|
471 libraries and define `--with-xpm' for you.
|
|
472
|
|
473 The `--with-xface' option specifies that XEmacs should support
|
|
474 X-Faces. `configure' will attempt to detect if you have the compface
|
|
475 library and define `--with-xface' for you.
|
|
476
|
|
477 The `--with-database' option specifies that XEmacs should be built
|
|
478 with additional database support. The valid options are `no' or a
|
|
479 comma-separated list of one or more of `dbm', `gnudbm' or `berkdb'.
|
|
480 `configure' will attempt to detect the necessary libraries and header
|
|
481 files and define `--with-database' for you.
|
|
482
|
|
483 The `--with-socks' option specifies that XEmacs should be built with
|
149
|
484 SOCKS support. This requires the libsocks library.
|
0
|
485
|
|
486 The `--with-tooltalk' option specifies that XEmacs should be built
|
|
487 with ToolTalk support for interconnecting with other applications.
|
243
|
488 ToolTalk is not yet supported on all architectures. If you use this
|
|
489 option, you should have the tooltalk package (see etc/PACKAGES)
|
|
490 installed prior to building XEmacs.
|
0
|
491
|
|
492 The `--with-sparcworks' option specifies that XEmacs should be built
|
149
|
493 with support for Sun Sparcworks 3.0.1 and up (including Sun WorkShop).
|
|
494 This functionality is only of use on SunOS 4.1.x and Solaris 2.x
|
272
|
495 systems. If you use this option, you should have the Sun package (see
|
243
|
496 etc/PACKAGES) installed prior to building XEmacs.
|
0
|
497
|
149
|
498 The `--with-cde' option allows you to enable or disable CDE drag and
|
0
|
499 drop support. `configure' will attempt to detect this option and
|
|
500 define `--with-cde' for you.
|
|
501
|
272
|
502 The `--with-offix' option allows you to enable or disable OffiX drag
|
|
503 and drop support. This requires no external library support, so if
|
|
504 X11 support is available, then this option defaults to `yes'. OffiX
|
274
|
505 support can be explicitly disabled via the `--with-offix=no' option.
|
2
|
506
|
0
|
507 The `--external-widget' option specifies that XEmacs should be built
|
149
|
508 with support for being used as a widget by other X11 applications.
|
|
509 This functionality should be considered beta.
|
0
|
510
|
272
|
511 The `--without-xmu' option can be used if your vendor doesn't ship
|
0
|
512 the Xmu library.
|
|
513
|
|
514 The `--puresize' option can be used to change the amount of purespace
|
104
|
515 allocated for the dumped XEmacs. As of XEmacs 20.1 usage of this
|
243
|
516 parameter is deprecated and will be ignored.
|
0
|
517
|
|
518 The `--with-sound=TYPE' option specifies that XEmacs should be built
|
|
519 with sound support. Native (`--with-sound=native') sound support is
|
|
520 currently available only on Sun SparcStations, SGI's, HP9000s, and
|
149
|
521 systems (such as Linux) with soundcard.h. Network Audio Support (NAS)
|
|
522 (`--with-sound=nas' or `--with-sound=both') is an extension to X that
|
|
523 you may or may not have for your system. For NAS, you will probably
|
|
524 need to provide the paths to the nas include and library directories
|
|
525 to configure. If `--with-sound' is not specified, `configure' will
|
|
526 attempt to determine if your configuration supports native sound and
|
0
|
527 define --with-sound for you. If your native sound library is not in a
|
149
|
528 standard location you can specify it with the `--native-sound-lib=LIB'
|
|
529 flag. For Linux, `/dev/audio' is required for SunAudio files and
|
|
530 `/dev/dsp' is required for raw data and WAVE format files.
|
0
|
531
|
|
532 The `--rel-alloc' option can be used to either enable or disable use
|
151
|
533 of the relocating allocator. Turning on --rel-alloc will allow XEmacs
|
|
534 to return unused memory to the operating system, thereby reducing its
|
|
535 memory footprint. However, it may make XEmacs runs more slowly,
|
|
536 especially if your system's `mmap' implemntation is missing or
|
|
537 inefficient. Generally, it's best to go with the default
|
|
538 configuration for your system. You can tweak this based on how you
|
|
539 use XEmacs, and the memory and cpu resources available on your system.
|
0
|
540
|
|
541 The `--use-system-malloc' option can be use to either enable or
|
149
|
542 disable use of the system malloc. Generally, it's best to go with the
|
|
543 default configuration for your system. Note that on many systems
|
|
544 using the system malloc disables the use of the relocating allocator.
|
0
|
545
|
177
|
546 The `--use-debug-malloc' option can be used to link a special debugging
|
|
547 version of malloc. Debug Malloc is not included with XEmacs, is
|
|
548 intended for use only by the developers and may be obtained from
|
|
549 <URL:http://www.letters.com/dmalloc/>.
|
|
550
|
0
|
551 The `--debug' and `--error-checking' options are intended for use only
|
|
552 by the developers. `--debug' adds code to be compiled in for
|
|
553 performing various tests. `--error-checking' adds additional tests to
|
|
554 many of the commonly used macros.
|
|
555
|
|
556 The `--verbose' and `--extra-verbose' options are intended for use
|
|
557 only by the developers. `--verbose' causes the results of all
|
149
|
558 configure tests to be displayed. `--extra-verbose' displays
|
|
559 additional information, useful for debugging. Another help for
|
|
560 determining configure failures is the file `config.log', which
|
|
561 contains the results of the compile and link tests used by configure.
|
|
562
|
|
563 The `--with-mule' option enables (MUlti-Lingual Emacs) support, needed
|
|
564 to suport non-Latin-1 (including Asian) languages. The Mule support
|
243
|
565 is not yet as stable or efficient as the `Latin1' support. Enabling
|
|
566 Mule support requires the mule-base package installed prior to
|
|
567 building XEmacs. The following options require Mule support:
|
149
|
568
|
|
569 The `--with-xim' option enables use of the X11 XIM mechanism to allow
|
|
570 an input method to input text into XEmacs. The input method is shared
|
|
571 among all the X applications sharing an X display and using the same
|
151
|
572 language. The XIM support comes in two flavors: `motif' and `xlib'.
|
|
573 The Motif support (the XmIm* functions) is preferred when available.
|
243
|
574 The xlib XIM support works reasonably well so long as the X11 libraries
|
|
575 are recent enough. It has been fairly well tested on Linux with glibc
|
|
576 2.0.5 and 2.0.6 and Kinput2 as an XIM server. In this configuration
|
|
577 X11 must be recompiled with X_LOCALE defined because glibc is lacking
|
|
578 localization for Japanese. The XIM support defaults to `no' except
|
|
579 when Motif is detected where it is stable with OSF libraries. The XIM
|
|
580 support in Lesstif (a Free Motif replacement) does not work as of
|
|
581 v0.82. If you enable this option, you will probably wish to install
|
|
582 the `locale' package which contains localized Splash screens and
|
|
583 Menubars.
|
|
584
|
272
|
585 The `--with-xfs' option enables use of a multilingual Menubar. At the
|
243
|
586 present time, only Japanese and French locales are supported. In
|
272
|
587 order to use a multilingual Menubar you must have the `locale' package
|
243
|
588 installed. The `locale' package does not have to be installed when
|
|
589 building XEmacs.
|
149
|
590
|
|
591 The `--with-canna' option enables the use of the Canna Japanese input
|
243
|
592 method. This is stable code and fairly well tested. In order to use
|
|
593 it, you will have to have the Canna server installed and running.
|
|
594 Canna versions 3.2pl2 and 3.5b2 are known to work. Version 3.2pl2 is
|
|
595 considered most stable than version 3.5b2. If Canna is already
|
|
596 installed, configure will autodetect it, so you never need to
|
|
597 explicitly use this option unless your Canna libraries are somewhere
|
|
598 strange. Canna run time support is currently bundled with the
|
272
|
599 `mule-base' package so there is nothing additional to install in order
|
243
|
600 to use it.
|
0
|
601
|
243
|
602 The `--with-wnn' and `--with-wnn6' options are for compiling with the Wnn
|
|
603 multi-language input method. `--with-wnn' is for compiling with Wnn-4.2,
|
|
604 the Free version of WNN. `--with-wnn6' is for compiling against WNN6,
|
|
605 the commercial version of WNN available from OMRON Corporation. This is
|
|
606 stable code and fairly well tested. In order to build with this
|
|
607 option, you will need to have the `egg-its' lisp package already
|
|
608 installed.
|
|
609
|
|
610 Please note that it is safe to build with as many of the options
|
|
611 `--with-xim', `--with-canna' and `--with-wnn' as your system
|
|
612 supports.
|
104
|
613
|
149
|
614 `configure' doesn't do any compilation or installation itself. It
|
|
615 just creates the files that influence those things: `./src/config.h',
|
|
616 and all the Makefile's in the build tree.
|
104
|
617
|
126
|
618 The `--with-pop', `--with-hesiod', and `--with-kerberos' options are used
|
|
619 in conjunction with movemail. As of XEmacs 20.1, movemail is identical
|
|
620 to the one used in Emacs.
|
|
621
|
0
|
622 When it is done, `configure' prints a description of what it did and
|
|
623 creates a shell script `config.status' which, when run, recreates the
|
|
624 same configuration. If `configure' exits with an error after
|
|
625 disturbing the status quo, it removes `config.status'.
|
|
626
|
|
627 4) Look at `./lisp/paths.el'; if some of those values are not right
|
|
628 for your system, set up the file `./lisp/site-init.el' with XEmacs
|
|
629 Lisp code to override them; it is not a good idea to edit paths.el
|
|
630 itself. YOU MUST USE THE LISP FUNCTION `setq' TO ASSIGN VALUES,
|
|
631 rather than `defvar', as used by `./lisp/paths.el'. For example,
|
|
632
|
|
633 (setq news-inews-program "/usr/bin/inews")
|
|
634
|
|
635 is how you would override the default value of the variable
|
|
636 news-inews-program (which is "/usr/local/inews").
|
|
637
|
|
638 Before you override a variable this way, *look at the value* that the
|
|
639 variable gets by default! Make sure you know what kind of value the
|
|
640 variable should have. If you don't pay attention to what you are
|
|
641 doing, you'll make a mistake.
|
|
642
|
333
|
643 Things may malfunction if the variable `directory-abbrev-alist' is not
|
|
644 set up to translate "temporary" automounter mount points into the
|
|
645 canonical form. XEmacs tries to detect how your automounter is
|
|
646 configured. If you have an unusual automounter configuration that
|
|
647 XEmacs cannot detect, you may need to change the value of
|
|
648 `directory-abbrev-alist'.
|
0
|
649
|
|
650 5) Put into `./lisp/site-init.el' or `./lisp/site-load.el' any Emacs
|
|
651 Lisp code you want XEmacs to load before it is dumped out. Use
|
|
652 site-load.el for additional libraries if you arrange for their
|
|
653 documentation strings to be in the lib-src/DOC file (see
|
|
654 src/Makefile.in.in if you wish to figure out how to do that). For all
|
|
655 else, use site-init.el.
|
|
656
|
|
657 If you set load-path to a different value in site-init.el or
|
|
658 site-load.el, XEmacs will use *precisely* that value when it starts up
|
|
659 again. If you do this, you are on your own!
|
|
660
|
|
661 Note that, on some systems, the code you place in site-init.el must
|
|
662 not use expand-file-name or any other function which may look
|
|
663 something up in the system's password and user information database.
|
|
664 See `./PROBLEMS' for more details on which systems this affects.
|
|
665
|
|
666 The `site-*.el' files are nonexistent in the distribution. You do not
|
|
667 need to create them if you have nothing to put in them.
|
|
668
|
|
669 6) Refer to the file `./etc/TERMS' for information on fields you may
|
|
670 wish to add to various termcap entries. The files `./etc/termcap.ucb'
|
|
671 and `./etc/termcap.dat' may already contain appropriately-modified
|
|
672 entries.
|
|
673
|
|
674 7) Run `make' in the top directory of the XEmacs distribution to finish
|
|
675 building XEmacs in the standard way. The final executable file is
|
|
676 named `src/emacs'. You can execute this file "in place" without
|
|
677 copying it, if you wish; then it automatically uses the sibling
|
|
678 directories ../lisp, ../lib-src, ../info.
|
|
679
|
|
680 Or you can "install" the executable and the other XEmacs into their
|
|
681 installed locations, with `make install'. By default, XEmacs's files
|
|
682 are installed in the following directories:
|
|
683
|
|
684 By default, XEmacs installs its files in the following directories:
|
|
685
|
|
686 `/usr/local/bin' holds the executable programs users normally run -
|
|
687 `xemacs', `etags', `ctags', `b2m', `emacsclient',
|
|
688 `gnuclient', `gnudoit', `gnuattach', and `rcs-checkin'.
|
|
689
|
|
690 `/usr/local/lib/xemacs-VERSION/lisp' holds the Emacs Lisp libraries;
|
|
691 `VERSION' stands for the number of the XEmacs version
|
|
692 you are installing, like `18.59' or `19.14'. Since
|
|
693 the lisp libraries change from one version of XEmacs to
|
|
694 another, including the version number in the path
|
|
695 allows you to have several versions of XEmacs installed
|
|
696 at the same time; this means that you don't have to
|
|
697 make XEmacs unavailable while installing a new version.
|
|
698
|
|
699 XEmacs searches for its lisp files in these
|
|
700 directories, and then in
|
|
701 `/usr/local/lib/xemacs/site-lisp/*'.
|
|
702
|
|
703 `/usr/local/lib/xemacs-VERSION/etc' holds the XEmacs tutorial, the
|
|
704 `yow' database, and other architecture-independent
|
|
705 files XEmacs might need while running. VERSION is as
|
|
706 specified for `.../lisp'.
|
|
707
|
|
708 `/usr/local/lib/xemacs/lock' contains files indicating who is
|
|
709 editing what, so XEmacs can detect editing clashes
|
|
710 between users.
|
|
711
|
|
712 `/usr/local/lib/xemacs-VERSION/CONFIGURATION-NAME' contains executable
|
|
713 programs used by XEmacs that users are not expected to
|
|
714 run themselves, and the DOC file. `VERSION' is the
|
|
715 number of the XEmacs version you are installing, and
|
243
|
716 `CONFIGURATION-NAME' is the host type of your system.
|
|
717 Since these files are specific to the version of
|
|
718 XEmacs, operating system, and architecture in use,
|
|
719 including the configuration name in the path allows
|
|
720 you to have several versions of XEmacs for any mix of
|
|
721 machines and operating systems installed at the same
|
|
722 time; this is useful for sites at which different
|
|
723 kinds of machines share the file system XEmacs is
|
|
724 installed on.
|
0
|
725
|
|
726 `/usr/local/lib/xemacs-VERSION/info' holds the on-line documentation
|
|
727 for XEmacs, known as "info files".
|
|
728
|
|
729 `/usr/local/man/man1' holds the man pages for the programs installed
|
|
730 in `/usr/local/bin'.
|
|
731
|
|
732 If these directories are not what you want, you can specify where to
|
|
733 install XEmacs's libraries and data files or where XEmacs should search
|
|
734 for its lisp files by giving values for `make' variables as part of
|
|
735 the command. See the section below called `MAKE VARIABLES' for more
|
|
736 information on this.
|
|
737
|
|
738 8) If your system uses lock files to interlock access to mailer inbox files,
|
|
739 then you might need to make the movemail program setuid or setgid
|
|
740 to enable it to write the lock files. We believe this is safe.
|
|
741 The setuid/setgid bits need not be set on any other XEmacs-related
|
|
742 executables.
|
|
743
|
243
|
744 9) You are done with the hard part! You can remove executables and
|
|
745 object files from the build directory by typing `make clean'. To also
|
|
746 remove the files that `configure' created (so you can compile XEmacs
|
|
747 for a different configuration), type `make distclean'.
|
0
|
748
|
243
|
749 10) You should now go to the XEmacs web page at http://www.xemacs.org/
|
|
750 and decide what additional Lisp support you wish to have.
|
0
|
751
|
|
752 MAKE VARIABLES
|
|
753
|
|
754 You can change where the build process installs XEmacs and its data
|
|
755 files by specifying values for `make' variables as part of the `make'
|
|
756 command line. For example, if you type
|
|
757
|
|
758 make install bindir=/usr/local/gnubin
|
|
759
|
|
760 the `bindir=/usr/local/gnubin' argument indicates that the XEmacs
|
|
761 executable files should go in `/usr/local/gnubin', not
|
|
762 `/usr/local/bin'.
|
|
763
|
|
764 Here is a complete list of the variables you may want to set.
|
|
765
|
|
766 `bindir' indicates where to put executable programs that users can
|
|
767 run. This defaults to /usr/local/bin.
|
|
768
|
|
769 `datadir' indicates where to put the architecture-independent
|
|
770 read-only data files that XEmacs refers to while it runs; it
|
|
771 defaults to /usr/local/lib. We create the following
|
|
772 subdirectories under `datadir':
|
|
773 - `xemacs-VERSION/lisp', containing the XEmacs lisp libraries, and
|
|
774
|
|
775 - `xemacs-VERSION/etc', containing the XEmacs tutorial and the
|
|
776 `yow' database.
|
|
777 `VERSION' is the number of the XEmacs version you are installing,
|
|
778 like `18.59' or `19.14'. Since these files vary from one version
|
|
779 of XEmacs to another, including the version number in the path
|
|
780 allows you to have several versions of XEmacs installed at the
|
|
781 same time; this means that you don't have to make XEmacs
|
|
782 unavailable while installing a new version.
|
|
783
|
|
784 `statedir' indicates where to put architecture-independent data files
|
|
785 that XEmacs modifies while it runs; it defaults to
|
|
786 /usr/local/lib as well. We create the following
|
|
787 subdirectories under `statedir':
|
|
788 - `xemacs/lock', containing files indicating who is editing
|
|
789 what, so XEmacs can detect editing clashes between
|
|
790 users.
|
|
791
|
|
792 `libdir' indicates where to put architecture-specific data files that
|
|
793 XEmacs refers to as it runs; it too defaults to `/usr/local/lib'.
|
|
794 We create the following subdirectories under `libdir':
|
|
795 - `xemacs-VERSION/CONFIGURATION-NAME', containing executable
|
|
796 programs used by XEmacs that users are not expected to run
|
|
797 themselves and the DOC file.
|
|
798 `VERSION' is the number of the XEmacs version you are installing,
|
243
|
799 and `CONFIGURATION-NAME' is the host type of your system.
|
|
800 Since these files are specific to the version of XEmacs,
|
|
801 operating system, and architecture in use, including the
|
|
802 configuration name in the path allows you to have several
|
|
803 versions of XEmacs for any mix of machines and operating
|
|
804 systems installed at the same time; this is useful for sites
|
|
805 at which different kinds of machines share the file system
|
|
806 XEmacs is installed on.
|
0
|
807
|
|
808 `infodir' indicates where to put the info files distributed with
|
|
809 XEmacs; it defaults to `/usr/local/lib/xemacs-VERSION/info'.
|
|
810
|
|
811 `mandir' indicates where to put the man pages for XEmacs and its
|
|
812 utilities (like `etags'); it defaults to
|
|
813 `/usr/local/man/man1'.
|
|
814
|
|
815 `prefix' doesn't give a path for any specific part of XEmacs; instead,
|
|
816 its value is used to determine the defaults for all the
|
|
817 architecture-independent path variables - `datadir',
|
|
818 `statedir', `infodir', and `mandir'. Its default value is
|
|
819 `/usr/local'; the other variables add on `lib' or `man' to it
|
|
820 by default.
|
|
821
|
|
822 For example, suppose your site generally places GNU software
|
|
823 under `/usr/users/software/gnusoft' instead of `/usr/local'.
|
|
824 By including
|
|
825 `prefix=/usr/users/software/gnusoft'
|
|
826 in the arguments to `make', you can instruct the build process
|
|
827 to place all of the XEmacs data files in the appropriate
|
|
828 directories under that path.
|
|
829
|
|
830 `exec_prefix' serves the same purpose as `prefix', but instead
|
|
831 determines the default values for the architecture-dependent
|
|
832 path variables - `bindir' and `libdir'.
|
|
833
|
|
834 The above variables serve analogous purposes in the makefiles for all
|
|
835 GNU software; here are some variables specific to XEmacs.
|
|
836
|
|
837 `lispdir' indicates where XEmacs installs and expects its lisp
|
|
838 libraries. Its default value, based on `datadir' (see above),
|
|
839 is `/usr/local/lib/xemacs-VERSION/lisp' (where `VERSION' is as
|
|
840 described above).
|
|
841
|
|
842 `sitelispdir' indicates where XEmacs should search for lisp libraries
|
|
843 specific to your site. XEmacs checks them in order before
|
|
844 checking `lispdir'. Its default value, based on `datadir'
|
|
845 (see above), is `/usr/local/lib/xemacs/site-lisp'.
|
|
846
|
|
847 `etcdir' indicates where XEmacs should install and expect the rest of
|
|
848 its architecture-independent data, like the tutorial and yow
|
|
849 database. Its default value, based on `datadir'
|
|
850 (see above), is `/usr/local/lib/xemacs-VERSION/etc' (where
|
|
851 `VERSION' is as described above).
|
|
852
|
|
853 `lockdir' indicates the directory where XEmacs keeps track of its
|
|
854 locking information. Its default value, based on `statedir'
|
|
855 (see above), is `/usr/local/lib/xemacs/lock'.
|
|
856
|
|
857 `archlibdir' indicates where XEmacs installs and expects the
|
|
858 executable files and other architecture-dependent data it uses
|
|
859 while running. Its default value, based on `libdir' (see
|
|
860 above), is `/usr/local/lib/xemacs-VERSION/CONFIGURATION-NAME'
|
|
861 (where VERSION and CONFIGURATION-NAME are as described above).
|
|
862
|
|
863 Remember that you must specify any variable values you need each time
|
|
864 you run `make' in the top directory. If you run `make' once to build
|
|
865 xemacs, test it, and then run `make' again to install the files, you
|
|
866 must provide the same variable settings each time. To make the
|
|
867 settings persist, you can edit them into the `Makefile' in the top
|
|
868 directory, but be aware that running the `configure' program erases
|
|
869 `Makefile' and rebuilds it from `Makefile.in'.
|
|
870
|
|
871 The top-level Makefile stores the variable settings it used in the
|
|
872 Makefiles for the subdirectories, so you don't have to specify them
|
|
873 when running make in the subdirectories.
|
|
874
|
|
875
|
|
876 CONFIGURATION BY HAND
|
|
877
|
|
878 Instead of running the `configure' program, you have to perform the
|
|
879 following steps.
|
|
880
|
|
881 1) Copy `./src/config.h.in' to `./src/config.h'.
|
|
882
|
|
883 2) Consult `./etc/MACHINES' to see what configuration name you should
|
|
884 use for your system. Look at the code of the `configure' script to
|
|
885 see which operating system and architecture description files from
|
|
886 `src/s' and `src/m' should be used for that configuration name. Edit
|
|
887 `src/config.h', and change the two `#include' directives to include
|
|
888 the appropriate system and architecture description files.
|
|
889
|
|
890 2) Edit `./src/config.h' to set the right options for your system. If
|
|
891 you need to override any of the definitions in the s/*.h and m/*.h
|
|
892 files for your system and machine, do so by editing config.h, not by
|
|
893 changing the s/*.h and m/*.h files. Occasionally you may need to
|
|
894 redefine parameters used in `./lib-src/movemail.c'.
|
|
895
|
|
896 3) If you're going to use the make utility to build XEmacs, you will
|
|
897 still need to run `configure' first, giving the appropriate values for
|
|
898 the variables in the sections entitled "Things `configure' Might Edit"
|
|
899 and "Where To Install Things." Note that you may only need to change
|
|
900 the variables `prefix' and `exec_prefix', since the rest of the
|
|
901 variables have reasonable defaults based on them. For each Makefile
|
|
902 variable of this type, there is a corresponding configure option; for
|
|
903 example, to change the location of the lock directory, you might use
|
|
904
|
|
905 ./configure --lockdir=/nfs/xemacslock
|
|
906
|
|
907 The `configure' script is built from `configure.in' by the `autoconf'
|
|
908 program. However, since XEmacs has configuration requirements that
|
185
|
909 autoconf can't meet, `configure.in' uses a marriage of custom-baked
|
0
|
910 configuration code and autoconf macros. New versions of autoconf
|
|
911 could very well break this arrangement, so it may be wise to avoid
|
|
912 rebuilding `configure' from `configure.in' when possible.
|
|
913
|
|
914
|
|
915 BUILDING XEMACS BY HAND
|
|
916
|
|
917 Once XEmacs is configured, running `make' in the top directory performs
|
|
918 the following steps.
|
|
919
|
|
920 1) Run `make src/paths.h' in the top directory. This produces
|
|
921 `./src/paths.h' from the template file `./src/paths.h.in', changing
|
|
922 the paths to the values specified in `./Makefile'.
|
|
923
|
|
924 2) Cd to `./lib-src' and run `make'. This creates executables named
|
|
925 `ctags' and `etags' and `wakeup' and `make-docfile' and `digest-doc'
|
|
926 and `test-distrib'. And others.
|
|
927
|
|
928 3) Cd to `./src' and Run `make'. This refers to files in the `./lisp'
|
|
929 and `./lib-src' subdirectories using names `../lisp' and
|
|
930 `../lib-src'.
|
|
931
|
|
932 This creates a file `./src/xemacs' which is the runnable XEmacs,
|
|
933 assigning it a new build version number by incrementing the build
|
|
934 version stored in `./lisp/version.el'.
|
|
935
|
|
936 It also creates a file in `./lib-src' whose name is `DOC' followed by
|
|
937 the current XEmacs version. This file contains documentation strings
|
|
938 for all the functions in XEmacs. Each time you run make to make a new
|
|
939 xemacs, a new DOC file with a new name is made. You must keep the DOC
|
|
940 file for an XEmacs version as long as you keep using that XEmacs
|
|
941 version.
|
|
942
|
|
943
|
|
944 INSTALLATION BY HAND
|
|
945
|
|
946 The steps below are done by running `make install' in the main
|
|
947 directory of the XEmacs distribution.
|
|
948
|
|
949 1) Copy `./lisp' and its subdirectories, `./etc', and the executables
|
|
950 in `./lib-src' to their final destinations, as selected in `./src/paths.h'.
|
|
951
|
|
952 Strictly speaking, not all of the executables in `./lib-src' need be copied.
|
|
953 - The programs `cvtmail', `emacsserver', `env', `fakemail', `hexl',
|
|
954 `movemail', `timer', `vcdiff', `wakeup', and `yow' are used by
|
|
955 XEmacs; they do need to be copied.
|
|
956 - The programs `etags', `ctags', `emacsclient', `b2m', `rcs2log',
|
|
957 `gnuclient', `gnudoit', and `gnuattach' are intended to be run
|
|
958 by users; they are handled below.
|
|
959 - The programs `make-docfile' and `test-distrib' were
|
|
960 used in building XEmacs, and are not needed any more.
|
|
961 - The programs `digest-doc' and `sorted-doc' convert a `DOC' file into
|
|
962 a file for users to read. There is no important reason to move them.
|
|
963
|
|
964 2) Copy the files in `./info' to the place specified in
|
|
965 `./lisp/site-init.el' or `./lisp/paths.el'. Note that if the
|
|
966 destination directory already contains a file named `dir', you
|
|
967 probably don't want to replace it with the `dir' file in the XEmacs
|
|
968 distribution. Instead, you should make sure that the existing `dir'
|
|
969 file contains an appropriate menu entry for the XEmacs info.
|
|
970
|
|
971 3) Create a directory for XEmacs to use for clash detection, named as
|
|
972 indicated by the PATH_LOCK macro in `./src/paths.h'.
|
|
973
|
|
974 4) Copy `./src/xemacs' to `/usr/local/bin', or to some other directory
|
|
975 in users' search paths. `./src/xemacs' has an alternate name
|
|
976 `./src/emacs-EMACSVERSION'; you may wish to make a symbolic link named
|
|
977 `/usr/local/bin/xemacs' pointing to that alternate name, as an easy way
|
|
978 of installing different versions.
|
|
979
|
|
980 You can delete `./src/temacs'.
|
|
981
|
|
982 5) Copy the programs `b2m', `emacsclient', `ctags', `etags', `rcs2log',
|
|
983 `gnuclient', `gnudoit', and `gnuattach' from `./lib-src' to
|
|
984 `/usr/local/bin'. These programs are intended for users to run.
|
|
985
|
|
986 6) Copy the man pages in `./etc' for xemacs, ctags, etags, and gnuserv
|
|
987 into the appropriate man directories.
|
|
988
|
|
989 7) The files in the `./src' subdirectory, except for `xemacs', are not
|
|
990 used by XEmacs once it is built. The source would be handy for
|
|
991 debugging.
|
|
992
|
|
993
|
|
994 PROBLEMS
|
|
995
|
|
996 See the file PROBLEMS in this directory for a list of various
|
|
997 problems sometimes encountered, and what to do about them.
|
70
|
998
|
|
999
|
179
|
1000 If all else fails, please see etc/InstallGuide courtesy
|
|
1001 of Jonathan Seth Hayward.
|