Mercurial > hg > xemacs-beta
annotate INSTALL @ 5704:37b107e878b8
More corrections to INSTALL by Robert Royer.
| author | Stephen J. Turnbull <stephen@xemacs.org> |
|---|---|
| date | Fri, 28 Dec 2012 12:35:44 +0900 |
| parents | a95c89dc9695 |
| children | 9c17f7be0b92 |
| rev | line source |
|---|---|
| 0 | 1 XEmacs Installation Guide |
| 1338 | 2 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
3 Copyright (c) 1994-1996 Board of Trustees, University of Illinois |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
4 Copyright (c) 1994-1999, 2003, 2008, 2012 Free Software Foundation, Inc. |
| 412 | 5 |
| 0 | 6 Permission is granted to anyone to make or distribute verbatim copies |
| 7 of this document as received, in any medium, provided that the | |
| 8 copyright notice and permission notice are preserved, | |
| 9 and that the distributor grants the recipient permission | |
| 10 for further redistribution as permitted by this notice. | |
| 11 | |
| 12 Permission is granted to distribute modified versions | |
| 13 of this document, or of portions of it, | |
| 14 under the above conditions, provided also that they | |
| 15 carry prominent notices stating who last changed them, | |
| 16 and that any new or changed statements about the activities | |
| 17 of the Free Software Foundation are approved by the Foundation. | |
| 18 | |
| 442 | 19 BUILDING AND INSTALLATION FOR UNIX AND CYGWIN |
| 20 | |
| 21 (for Microsoft Windows, see nt/README also.) | |
| 22 | |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
23 This file is in the process of revision. Some random information that didn't |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
24 fit elsewhere is appended to the end of the file. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
25 |
| 442 | 26 PREREQUISITES |
| 27 ============= | |
| 404 | 28 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
29 Modern systems generally have more than enough RAM and virtual memory to run |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
30 XEmacs well. If you run into an "insufficient memory" error when building |
|
5704
37b107e878b8
More corrections to INSTALL by Robert Royer.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5699
diff
changeset
|
31 or on the first execution, see the 'PROBLEMS' file. Insufficient stack |
|
37b107e878b8
More corrections to INSTALL by Robert Royer.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5699
diff
changeset
|
32 space is a separate problem, also addressed in 'PROBLEMS'. |
| 0 | 33 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
34 Building XEmacs requires about 100 Mb of disk space (including the XEmacs |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
35 sources). Once installed, XEmacs occupies about 200 MB in the file system |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
36 where it is installed, including the executable files, Lisp libraries, |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
37 miscellaneous data files, and on-line documentation. |
| 149 | 38 |
| 2427 | 39 XEmacs requires an ANSI C compiler, such as GCC. If you wish to build the |
| 40 documentation yourself, you will need at least version 1.68 of makeinfo (GNU | |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
41 texinfo-3.11). GNU Texinfo 4.2 is strongly recommended; it is necessary for |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
42 building Lisp packages, and we may move to it for the core. |
| 398 | 43 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
44 BASIC INSTALLATION |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
45 ================== |
| 424 | 46 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
47 Since you are reading this, we assume you have already acquired XEmacs in |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
48 source form, and the packages as tarballs. If not, see www.xemacs.org. |
| 1338 | 49 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
50 Building and installing XEmacs from source can be as simple as |
| 1338 | 51 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
52 cd /usr/local/src/xemacs; ./configure; make; make install |
| 1338 | 53 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
54 followed by installing the packages |
| 1338 | 55 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
56 mkdir -p /usr/local/share/xemacs |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
57 cd /usr/local/share/xemacs |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
58 tar xzf /tmp/xemacs-sumo.tar.gz |
| 1338 | 59 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
60 However, this depends on the presence of relevant development resources on |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
61 your system, and there are a few frequently used features that are not built |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
62 in by default. To build XEmacs incorporating such features, the steps |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
63 required are exactly as above, except that you need to start by confirming |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
64 the availability of required libraries and headers, and select them by |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
65 invoking configure with the appropriate options. |
| 0 | 66 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
67 Add-on Libraries |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
68 ---------------- |
| 1338 | 69 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
70 A note on terminology: unfortunately the terms "library" and "package" are |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
71 heavily overloaded. In this section, "library" refers to an external body of |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
72 executable code which may be linked with XEmacs at build time to provide |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
73 support for system features, such as images, audio, stream compression, |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
74 databases, and input methods. Libraries must be available when XEmacs is |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
75 built. A "module" is also a dynamically loadable library, but it is built |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
76 from the XEmacs sources, after the XEmacs executable is built. |
| 149 | 77 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
78 We assume that your system has a GUI windowing system, specifically X11 (the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
79 X Window System) or Microsoft Windows. XEmacs can also use various toolkits |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
80 and widget kits for X11, including Xt, GTK+/GNOME, and CDE, depending on |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
81 platform. If you don't have a window system installed, XEmacs will be built |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
82 only with terminal support. (For unreleased ports to Qt/KDE and Mac OS X, |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
83 ask on the xemacs-beta@xemacs.org mailing list.) |
| 0 | 84 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
85 XEmacs can use a large number of additional libraries that are commonly |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
86 available in many operating system distributions. Many are also available as |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
87 open source distributions. These include: |
| 594 | 88 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
89 GTK+, GNOME: |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
90 An alternative to the Xt toolkit on X11-based window systems. GNOME |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
91 is the desktop environment usually used with GTK+. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
92 Xaw3d, XawNeXT, XawXPM, Xaw95: |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
93 Variants on the basic Athena widgets, which change the "look and feel" |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
94 of XEmacs built using the Xt toolkit. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
95 Motif, CDE, Tooltalk: |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
96 Mostly useful on Solaris systems (CDE and Tooltalk may be obsolete). |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
97 Motif may be substituted for the Athena widgets on most systems |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
98 supporting X11. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
99 XPM, JPEG, TIFF, PNG, compface: |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
100 Image format libraries. XPM and PNG are almost essential (they are |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
101 used to display parts of the XEmacs GUI). |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
102 zlib: |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
103 Supports gzip compression and decompression. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
104 socks: |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
105 An old system for passing firewalls (may be obsolete). |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
106 GMP, MP: |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
107 Multiple precision arithmetic libraries ("bignums") from GNU and BSD. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
108 curses, ncurses, termcap: |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
109 Character-based terminal support. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
110 ALSA, OSS, ESD, NAS: |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
111 Various systems for audio output. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
112 Canna, SJ3, Wnn: |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
113 Input systems for Japanese. (XEmacs accesses these libraries directly |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
114 rather than through more modern protocols such ibus and IIIMF. XEmacs |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
115 can use XIM, but that is now considered obsolete.) |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
116 Databases: |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
117 GNU DBM, Berkeley DB, PostgreSQL, LDAP. |
| 0 | 118 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
119 WARNING: In many distributions, you may have the necessary libraries |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
120 installed, but not the "header files" which provide the APIs used by XEmacs |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
121 to link to the libraries. Such distributions provide additional packages, |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
122 usually given names ending in "-dev" or "-devel", to supply the header files. |
| 0 | 123 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
124 XEmacs looks only in the default system directories for header files and |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
125 libraries. This will be sufficient unless you have built and installed |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
126 libraries yourself, or you use an add-on package manager like MacPorts on Mac |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
127 OS X. In this case you will need to supply the "--with-site-prefixes" |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
128 option, setting it to the root of the installation of such packages. Eg, the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
129 most common setting is "--with-site-prefixes=/usr/local", which tells the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
130 build process to search for headers in "/usr/local/include" for libraries |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
131 under "/usr/local/lib". (Use a colon to separate multiple directories.) |
| 0 | 132 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
133 If you need help installing additional libraries and header files, the best |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
134 resource is the help channels for your OS distribution. If that doesn't |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
135 help, or you think you have the right files installed but the built XEmacs |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
136 doesn't seem to have all the corresponding features, check with the newsgroup |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
137 'comp.emacs.xemacs' or the mailing list 'xemacs-beta@xemacs.org'. |
| 1338 | 138 |
|
5704
37b107e878b8
More corrections to INSTALL by Robert Royer.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5699
diff
changeset
|
139 SELECTING CONFIGURE OPTIONS |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
140 =========================== |
| 0 | 141 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
142 Options are generally of the form `--with-FEATURE' to use a feature or |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
143 `--without-FEATURE' to not use a feature. (Unlike the `configure' program |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
144 used in other applications, either `--with-FEATURE' or `--enable-FEATURE' can |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
145 be used to enable the same feature.) |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
146 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
147 To get a long list of options and usage for the `configure' script, use |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
148 `./configure --help' (piped to less if you prefer that to scrolling your |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
149 terminal). |
| 0 | 150 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
151 Each option's explanation says what its default is. For Boolean options, the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
152 default may be "yes", "no", or "auto". If the default is "no", the feature |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
153 will not be included, and if any option that depends on it is enabled, |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
154 configure will fail with a fatal error. If the default is "yes", the feature |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
155 will be included, and configure will fail with a fatal error if any required |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
156 headers or libraries cannot be found. If the default is "auto", the feature |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
157 will be included if configure can find the needed headers and libraries. |
| 0 | 158 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
159 Even if a feature's default is "auto", it is useful to explicitly request its |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
160 configuration. If the necessary headers or libraries aren't found, configure |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
161 will fail loudly instead of silently configuring an XEmacs without your |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
162 favorite features. |
| 0 | 163 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
164 Configuring the Installation Locations |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
165 -------------------------------------- |
| 1338 | 166 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
167 Often the default location for the XEmacs installation ("/usr/local") is |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
168 appropriate. If you prefer to put the installation somewhere else, use the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
169 `--prefix' option, such as `--prefix=/opt/local/xemacs'. |
| 1338 | 170 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
171 As of late 2011, XEmacs is transitioning from the traditional "$prefix/lib" |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
172 location to the FHS-conforming location "$prefix/share" for packages. If you |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
173 already have packages installed under, say, "/usr/local/lib" and would prefer |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
174 not to move them, use `--with-system-packages=/usr/local/lib/xemacs'. (The |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
175 value of this option should be the name of the directory containing the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
176 "xemacs-packages", "mule-packages", and/or "site-packages" hierarchies.) |
| 1338 | 177 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
178 The standard configuration of XEmacs builds in absolute paths for its various |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
179 support files. It is possible to make the XEmacs installation relocatable by |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
180 using the option `--without-prefix'. Then all paths are computed at runtime |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
181 relative to the "bin" directory where the XEmacs executable is located. |
| 0 | 182 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
183 There are a plethora of additional options for controlling exactly where |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
184 different parts of XEmacs are installed. We *strongly* recommend sticking |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
185 with the standard layout, except as just described. If you want to |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
186 experiment, these additional configure options are described in a later |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
187 section. |
| 0 | 188 |
| 1338 | 189 Internationalization Options |
| 190 ---------------------------- | |
| 0 | 191 |
| 3050 | 192 The `--with-mule' option enables MUlti-Lingual Emacs (Mule) support, |
| 1338 | 193 needed to support non-Latin-1 (including Asian) languages. Mule |
| 194 support is required for Asian language and Unicode (multibyte and wide | |
| 195 character) support. With the advent of the Euro and European | |
| 196 Community expansion, Mule support is also recommended for Western | |
| 197 Europeans. Enabling Mule support requires the mule-base package | |
| 198 installed prior to building XEmacs. The `--with-xim', --with-xfs', | |
| 199 `--with-canna', `--with-wnn' and `--with-wnn6' options require | |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
200 Mule support. (Default: no.) |
| 243 | 201 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
202 The `--with-canna' option enables the use of the Canna Japanese input method. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
203 This is stable code and fairly well tested. In order to use it, you will |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
204 have to have the Canna server installed and running. Canna versions 3.2pl2, |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
205 3.5b2, and 3.7p3 are known to work. Version 3.2pl2 is considered more stable |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
206 than version 3.5b2; the stability of 3.7p3 is still unknown. If Canna is |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
207 already installed, configure will autodetect it, so you never need to |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
208 explicitly use this option unless your Canna libraries are somewhere strange. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
209 Canna run time support is currently bundled with the `mule-base' package so |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
210 there is nothing additional to install in order to use it. NOTE TO OEMS: If |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
211 modules are supported and enabled, the libcanna API support will be build as |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
212 a module. (Default: no.) |
| 0 | 213 |
| 243 | 214 The `--with-wnn' and `--with-wnn6' options are for compiling with the Wnn |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
215 multi-language input method. `--with-wnn' is for compiling with Wnn-4.2, the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
216 Free version of WNN. `--with-wnn6' is for compiling against WNN6, the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
217 commercial version of WNN available from OMRON Corporation. This is stable |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
218 code and fairly well tested. In order to build with this option, you will |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
219 need to have the `egg-its' lisp package already installed. (Default: no.) |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
220 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
221 The `--with-xim' option enables use of the X11 XIM mechanism to allow an |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
222 input method to input text into XEmacs. The input method is shared among all |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
223 the X applications sharing an X display and using the same language. The XIM |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
224 support comes in two flavors: `motif' and `xlib'. The Motif support (the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
225 XmIm* functions) is preferred when available. The XIM support defaults to |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
226 `no' except when Motif is detected where it is stable with OSF libraries. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
227 The XIM support in Lesstif (a Free Motif replacement) does not work as of |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
228 v0.82. If you enable this option, you will probably wish to install the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
229 `locale' package which contains localized Splash screens and Menubars. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
230 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
231 (This option is deprecated and will be removed.) The `--with-xfs' option |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
232 enables use of a multilingual Menubar. At the present time, only Japanese |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
233 and French locales are supported. In order to use a multilingual Menubar you |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
234 must have the `locale' package installed. The `locale' package does not have |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
235 to be installed when building XEmacs. (Default: no.) |
| 243 | 236 |
| 237 Please note that it is safe to build with as many of the options | |
| 238 `--with-xim', `--with-canna' and `--with-wnn' as your system | |
| 239 supports. | |
| 104 | 240 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
241 Configuring the Window System |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
242 ----------------------------- |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
243 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
244 If you prefer the GTK+ look and feel to Xt, specify `--with-gtk'. You can |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
245 also enable support for some GNOME desktop features with `--with-gnome'. You |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
246 cannot use both GTK+ and Xt at the same time. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
247 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
248 If you don't want X Window System support at all, specify `--without-x'. If |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
249 you omit this option, `configure' will try to autodetect whether your system |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
250 has X Window System support, and arrange to use it if present. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
251 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
252 On Cygwin, you can configure support for the "native" MS Windows GUI with |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
253 `--with-msw'. XEmacs supports both `--with-msw' and `--with-x' at the same |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
254 time. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
255 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
256 The `--with-menubars=TYPE' option allows you to specify which X |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
257 toolkit you wish to use for the menubar. The valid options are |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
258 `lucid', `motif' and `no'. The default is `lucid' which is a |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
259 Motif-lookalike menubar. We highly recommend its usage over the real |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
260 Motif menubar. (In fact, the Motif menubar is currently broken.) If |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
261 `no' is specified then support for menubars will not be compiled in. |
| 1338 | 262 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
263 The `--with-scrollbars=TYPE' option allows you to specify which X toolkit you |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
264 wish to use for the scrollbars. The valid options are `lucid', `motif', |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
265 `athena', and `no'. The default is `lucid' which is a Motif-lookalike |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
266 scrollbar. If `no' is specified then support for scrollbars will not be |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
267 compiled in. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
268 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
269 The `--with-dialogs=TYPE' option allows you to specify which X toolkit you |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
270 wish to use for the dialog boxes. The valid options are `athena', `motif, |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
271 and `no. The `lucid' option is accepted and will result in the `athena' |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
272 toolkit being used. If the Motif toolkit can be found the default is |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
273 `motif'. Otherwise, the default is `athena'. If `no' is specified then |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
274 support for dialog boxes will not be compiled in. |
| 1338 | 275 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
276 The `--with-toolbars' option allows you to enable or disable toolbar |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
277 support. The default is `yes' if support for a windowing system is |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
278 included. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
279 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
280 The `--with-dragndrop' option compiles in the generic drag and drop API. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
281 This is automatically added if one of the drag and drop protocols is found |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
282 (currently CDE, MSWindows, and GTK). *WARNING* The Drag'n'drop support is |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
283 under development and is considered experimental. |
| 1338 | 284 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
285 Miscellaneous Features |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
286 ---------------------- |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
287 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
288 The `--with-xpm' option specifies that XEmacs should support X11 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
289 Pixmaps. (Default: auto.) |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
290 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
291 The `--with-xface' option specifies that XEmacs should support |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
292 X-Faces. (Default: auto.) |
| 1338 | 293 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
294 The `--with-database' option specifies that XEmacs should be built with |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
295 simple database support. The valid options are `no' or a comma-separated |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
296 list of one or more of `dbm', `gnudbm' or `berkdb'. (Default: auto.) |
| 1338 | 297 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
298 The `--with-postgresql' option specifies that XEmacs should be built with |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
299 PostgreSQL support, linking with libpq. (Default: auto.) NOTE TO OEMS: If |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
300 modules are enabled, the libpq API support will be build as a module. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
301 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
302 The `--with-ldap' option specifies that XEmacs should be build with LDAP |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
303 support, using the OpenLDAP libraries. (Default: auto.) NOTE TO OEMS: If |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
304 modules are enabled, the OpenLDAP API support will be build as a module. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
305 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
306 The `--with-socks' option specifies that XEmacs should be built with |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
307 SOCKS support. This requires the libsocks library. (Default: no.) |
| 1338 | 308 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
309 The `--with-sound=TYPE' option specifies that XEmacs should be built with |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
310 sound support. Native (`--with-sound=native') sound support is currently |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
311 available only on Sun SparcStations, SGI's, HP9000s, and systems (such as |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
312 Linux) with soundcard.h. Network Audio Support (NAS) (`--with-sound=nas') is |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
313 an extension to X that you may or may not have for your system. For NAS, you |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
314 will probably need to provide the paths to the nas include and library |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
315 directories to configure. ESD ("Enlightened Sound Daemon") |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
316 (`--with-sound=esd') is a third-party library which interacts with a special |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
317 sound daemon. If `--with-sound' is not specified, `configure' will attempt |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
318 to determine if your configuration supports native sound and define |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
319 --with-sound for you. If your native sound library is not in a standard |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
320 location you can specify it with the `--with-native-sound-lib=LIB' flag. For |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
321 Linux, `/dev/audio' is required for SunAudio files and `/dev/dsp' is required |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
322 for raw data and WAVE format files. You may specify as many sound types as |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
323 your system supports, separated by commas: `--with-sound=nas,native'. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
324 (Default: auto.) |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
325 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
326 The `--with-tty' option enables TTY support. (Default: yes.) |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
327 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
328 The `--with-ncurses' options specifies use of the ncurses library for tty |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
329 support. (Default: auto.) |
| 442 | 330 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
331 The `--with-gpm' option compiles in GPM mouse support for ttys. (Default: |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
332 no.) |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
333 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
334 The `--with-external-widget' option specifies that XEmacs should be |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
335 built with support for being used as a widget by other X11 applications. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
336 This functionality should be considered beta. (Default: no.) |
| 845 | 337 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
338 The `--with-tooltalk' option specifies that XEmacs should be built |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
339 with ToolTalk support for interconnecting with other applications. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
340 ToolTalk is not yet supported on all architectures. If you use this |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
341 option, you should have the tooltalk package (see etc/PACKAGES) |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
342 installed prior to building XEmacs. (Default: no.) |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
343 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
344 The `--with-sparcworks' option specifies that XEmacs should be built |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
345 with support for Sun Sparcworks 3.0.1 and up (including Sun WorkShop). |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
346 This functionality is only of use on SunOS 4.1.x and Solaris 2.x |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
347 systems. If you use this option, you should have the Sun package (see |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
348 etc/PACKAGES) installed prior to building XEmacs. (Default: no.) |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
349 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
350 The `--with-cde' option allows you to enable or disable CDE drag and |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
351 drop support. `configure' will attempt to detect this option and |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
352 define `--with-cde' for you. (Default: no.) |
| 442 | 353 |
| 354 RUNNING CONFIGURE | |
| 355 ================= | |
| 356 | |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
357 `configure' doesn't do any compilation or installation itself. It just |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
358 creates the files that influence those things: `./src/config.h', and all the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
359 Makefiles in the build tree. |
| 442 | 360 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
361 XEmacs supports the implicit --srcdir option to allow building outside of the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
362 source tree. This is recommended; it only requires adding a single build |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
363 directory, cd'ing there, and invoking configure: |
| 0 | 364 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
365 mkdir +build |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
366 cd +build |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
367 ../configure [--OPTION[=VALUE]] ... |
| 0 | 368 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
369 If you want to build in the source tree for some reason, cd to the top level |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
370 directory of the XEmacs distribution, and run the program `configure' as |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
371 follows: |
| 371 | 372 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
373 ./configure [--OPTION[=VALUE]] ... |
| 442 | 374 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
375 When it is done, `configure' prints a description of what it did and creates |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
376 a shell script `config.status' which, when run, recreates the same |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
377 configuration. If `configure' exits with an error after disturbing the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
378 status quo, it removes `config.status'. If `configure' doesn't work as |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
379 expected, the file `config.log' contains details of the tests run and their |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
380 results. |
| 0 | 381 |
| 442 | 382 RUNNING MAKE |
| 383 ============ | |
| 384 | |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
385 `configure' also creates an `Installation' file in the top directory of the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
386 build tree. Do read this file before running `make'! It's not very long. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
387 You can save much grief by checking that expected features are listed there. |
| 0 | 388 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
389 Run `make' in the top directory of the XEmacs distribution to finish building |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
390 XEmacs in the standard way. The final executable file is named `src/xemacs'. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
391 You can execute this file in place without copying it, if you wish; then it |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
392 automatically uses the sibling directories ../lisp, ../lib-src, ../info. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
393 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
394 Or you can install the executable and the other XEmacs into their permanent |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
395 locations, with `make install'. By default, XEmacs's files are installed in |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
396 the following directories: |
| 0 | 397 |
| 398 `/usr/local/bin' holds the executable programs users normally run - | |
| 388 | 399 `xemacs', `etags', `ctags', `b2m', `emacsclient', `ellcc', |
|
4782
1523f1d28be1
Remove more obsolete files. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
4769
diff
changeset
|
400 `gnuclient', `gnudoit', and `gnuattach'. |
| 0 | 401 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
402 `/usr/local/share/xemacs-VERSION/lisp' holds the basic Emacs Lisp libraries |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
403 (including core implementations of many Lisp primitives); |
| 0 | 404 `VERSION' stands for the number of the XEmacs version |
|
5704
37b107e878b8
More corrections to INSTALL by Robert Royer.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5699
diff
changeset
|
405 you are installing, like `21.4.22' or `21.5-b32'. Since |
| 0 | 406 the lisp libraries change from one version of XEmacs to |
| 407 another, including the version number in the path | |
| 408 allows you to have several versions of XEmacs installed | |
| 409 at the same time; this means that you don't have to | |
| 410 make XEmacs unavailable while installing a new version. | |
| 411 | |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
412 `/usr/local/share/xemacs/xemacs-packages' |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
413 `/usr/local/share/xemacs/mule-packages' |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
414 `/usr/local/share/xemacs/site-packages' |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
415 XEmacs searches for "packaged" Emacs Lisp applications or |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
416 extensions and their support files in these hierarchies. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
417 Each hierarchy has its own set of lisp, etc, info, lib-src, |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
418 and pkginfo subdirectories. The pkginfo subdirectory |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
419 contains "MANIFEST" files used when installing or removing |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
420 packages. Each of the others has the same purpose as the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
421 similarly-named directory for "core XEmacs". |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
422 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
423 `/usr/local/share/xemacs/site-lisp' |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
424 A last-resort location for Lisp files (optional). |
| 0 | 425 |
|
5150
0353d546dc1e
Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents:
4842
diff
changeset
|
426 `/usr/local/share/xemacs-VERSION/etc' holds the XEmacs tutorial, the |
|
4785
d6cfba1cc388
Remove the lib-src/yow binary, which is currently unused anyway. See message
Jerry James <james@xemacs.org>
parents:
4782
diff
changeset
|
427 Unicode database, and other architecture-independent |
| 0 | 428 files XEmacs might need while running. VERSION is as |
| 429 specified for `.../lisp'. | |
| 430 | |
|
5150
0353d546dc1e
Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents:
4842
diff
changeset
|
431 `/usr/local/share/xemacs/lock' contains files indicating who is |
| 0 | 432 editing what, so XEmacs can detect editing clashes |
| 433 between users. | |
| 434 | |
| 435 `/usr/local/lib/xemacs-VERSION/CONFIGURATION-NAME' contains executable | |
| 436 programs used by XEmacs that users are not expected to | |
| 437 run themselves, and the DOC file. `VERSION' is the | |
| 438 number of the XEmacs version you are installing, and | |
| 243 | 439 `CONFIGURATION-NAME' is the host type of your system. |
| 440 Since these files are specific to the version of | |
| 441 XEmacs, operating system, and architecture in use, | |
| 442 including the configuration name in the path allows | |
| 443 you to have several versions of XEmacs for any mix of | |
| 444 machines and operating systems installed at the same | |
| 445 time; this is useful for sites at which different | |
| 446 kinds of machines share the file system XEmacs is | |
| 447 installed on. | |
| 0 | 448 |
| 388 | 449 `/usr/local/lib/xemacs-VERSION/CONFIGURATION-NAME/modules' holds the Emacs |
| 450 dynamically loadable modules. These are special programs | |
| 451 typically written in C that can be loaded in much the same | |
| 452 way that Lisp packages are. Not all systems support | |
| 453 dynamic modules, so do not be alarmed if this directory | |
| 454 does not exist or is empty. | |
| 455 | |
| 456 XEmacs searches for modules in this directory, or any | |
| 457 sub-directory of it, and then in | |
| 458 `/usr/local/lib/xemacs/site-modules/*'. | |
| 459 | |
|
5150
0353d546dc1e
Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents:
4842
diff
changeset
|
460 `/usr/local/share/xemacs-VERSION/info' holds the on-line documentation |
| 0 | 461 for XEmacs, known as "info files". |
| 462 | |
| 463 `/usr/local/man/man1' holds the man pages for the programs installed | |
| 464 in `/usr/local/bin'. | |
| 465 | |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
466 If you have specified the `--prefix' option, it will replace "/usr/local" |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
467 in the locations above. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
468 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
469 STRIPPING BINARIES |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
470 ================== |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
471 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
472 This saves nothing but a small (by modern standards) amount of disk space; |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
473 the symbol table is not loaded into memory at execution time. If you do |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
474 encounter a crash or other serious bug, the first thing the developers will |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
475 do is ask you to build an XEmacs with a full symbol table, anyway. Don't |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
476 strip the XEmacs binary. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
477 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
478 MAIL-LOCKING POST-INSTALLATION |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
479 ============================== |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
480 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
481 If your system uses dot-locking to interlock access to mailer inbox files, |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
482 then you might need to make the movemail program setuid or setgid to enable |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
483 it to write the lock files. We believe this is not a security hole. The |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
484 setuid/setgid bits need not be set on any other XEmacs-related executables. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
485 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
486 CLEANING UP |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
487 ========== |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
488 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
489 You are done with the hard part! You can remove executables and object files |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
490 from the build directory by typing `make clean'. To also remove the files |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
491 that `configure' created (so you can compile XEmacs for a different |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
492 configuration), type `make distclean'. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
493 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
494 READ THE FAQ |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
495 ============ |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
496 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
497 Do it! |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
498 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
499 PROBLEMS |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
500 ======== |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
501 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
502 The most common problem is that you forgot to read and follow the directions |
|
5704
37b107e878b8
More corrections to INSTALL by Robert Royer.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5699
diff
changeset
|
503 for installing bootstrap packages in the FAQ. You cannot have a normal |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
504 XEmacs without downloading some additional packages. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
505 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
506 See the file PROBLEMS in this directory for a list of various problems |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
507 sometimes encountered, and what to do about them. PROBLEMS is also the place |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
508 where platform-specific build notes can be found. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
509 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
510 ADVANCED CONFIGURATION |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
511 ====================== |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
512 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
513 There are a large number of options to configure that can be used to control |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
514 the build and installation process. These are primarily of interest to |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
515 developers and OEMs. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
516 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
517 Controlling the Host Type |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
518 ------------------------- |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
519 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
520 Almost always, you should let `configure' (actually the shell script |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
521 `config.guess') guess your host type, by omitting the CONFIGURATION-NAME |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
522 argument. If you like to experiment, specify a configuration name in the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
523 form MACHINE-VENDOR-OPSYS, for example: |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
524 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
525 sparc-sun-solaris2.6 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
526 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
527 using the command form |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
528 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
529 ./configure [CONFIGURATION-NAME] [--OPTION[=VALUE]] ... |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
530 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
531 See config.guess and configure.ac for valid values for MACHINE, VENDOR, and |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
532 OPSYS. Also check `./etc/MACHINES' for advice on building on particular |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
533 machines. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
534 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
535 Specifying Location of Headers and Libraries |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
536 -------------------------------------------- |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
537 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
538 The `--with-site-includes=DIR' and `--with-site-libraries=DIR' options allow |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
539 you to specify additional places the compiler should look for include files |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
540 and object libraries. You may specify multiple DIR's by enclosing the list |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
541 in quotes. All the external libraries you want to use with XEmacs (e.g. xpm, |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
542 wnn, ...) described later should have their include and library directories |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
543 defined using these options. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
544 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
545 The `--with-site-runtime-libraries=DIR' option specifies directories to |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
546 search for shared libraries at run time. If you use this option, you must |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
547 specify ALL of the directories containing shared libraries at run time, |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
548 including system directories. Please read the information about "ADD-ON |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
549 LIBRARIES" above very carefully. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
550 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
551 The `--x-includes=DIR' and `--x-libraries=DIR' options tell the build process |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
552 where the compiler should look for the include files and object libraries |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
553 used with the X Window System. Normally, `configure' is able to find them; |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
554 these options are necessary if you have your X Window System files installed |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
555 in unusual places. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
556 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
557 Configuring the Build Process |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
558 ----------------------------- |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
559 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
560 The `--with-gcc=PROGRAM' option specifies that the build process should |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
561 compile XEmacs using GCC. The `--with-compiler' option allows you to specify |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
562 some other compiler to be used to compile XEmacs. If neither option is |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
563 specified, the environment variable CC is used instead. Otherwise the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
564 compiler will then default to 'cc'. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
565 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
566 The `--with-xemacs-compiler=PROGRAM' option specifies the compiler control |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
567 program for the xemacs binary only. Other C code will be compiled according |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
568 to the `--with-gcc' and `--with-compiler' options above. This is useful if |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
569 you wish to compile XEmacs with a C++ compiler, because the utilities in |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
570 ./lib-src cannot be compiled as C++. This option is primarily intended for |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
571 use by the maintainers. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
572 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
573 The `--with-cflags=FLAGS' option specifies all of the CFLAGS the build |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
574 process should use when compiling XEmacs, except for flags controlling |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
575 warning generation. Otherwise the value of the environment variable CFLAGS |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
576 is consulted. If that is also undefined, CFLAGS defaults to "-g -O" for gcc |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
577 and "-g" for all other compilers. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
578 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
579 The `--with-cflags-warning=FLAGS' option specifies the warnings to be |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
580 generated. There is normally no reason to use this flag, as XEmacs turns on |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
581 as many warnings as possible, and is still intended to build with no |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
582 warnings. If you get any undocumented warnings, please report them as |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
583 bugs---they very often are, or at least indicate possible bitrot. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
584 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
585 The `--with-cflags-optimization=FLAGS' option specifies the optimizations to |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
586 be used. There is normally no reason to use this flag, as XEmacs will |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
587 already set the maximum safe optimization flags appropriate for the compiler |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
588 being invoked. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
589 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
590 The `--with-cflags-debugging=FLAGS' option specifies debugging information to |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
591 be generated. You should avoid using this flag, as it makes most severe or |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
592 fatal bugs hard-to-impossible to diagnose and fix. Debugging information |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
593 does not slow down XEmacs at runtime, and it doesn't make the binary very |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
594 much bigger. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
595 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
596 The `--with-dynamic' option specifies that configure should try to link |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
597 XEmacs dynamically rather than statically. `--with-static' specifies the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
598 reverse. XEmacs's configure script detects whether dynamic linking can be |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
599 done on all platforms we know of; these options are normally unnecessary. |
| 0 | 600 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
601 The `--with-modules' option specifies that XEmacs be built with support for |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
602 runtime loadable modules. NOTE TO OEMS: XEmacs can be distributed configured |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
603 to support several options based on external APIs (currently LDAP, |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
604 PostgreSQL, and Canna) as loadable modules. You can distribute an XEmacs |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
605 binary package with these options enabled without depending on the external |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
606 package. XEmacs will fail gracefully at runtime, issuing an error message |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
607 indicating that the required support was not found on the system. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
608 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
609 You can build XEmacs for several different machine types from a single source |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
610 directory. To do this, you must use a version of `make' that supports the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
611 `VPATH' variable, such as GNU `make'. Create separate build directories for |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
612 the different configuration types, and in each one, run the XEmacs |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
613 `configure' script. `configure' looks for the Emacs source code in the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
614 directory that `configure' is in. The `--srcdir' option may not work |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
615 correctly (traditionally it was overridden by the directory containing |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
616 `configure'). |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
617 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
618 Configuring the Installation Layout |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
619 ----------------------------------- |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
620 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
621 The `--prefix=PREFIXDIR' option specifies where the installation process |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
622 should put XEmacs and its data files. This defaults to `/usr/local'. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
623 - XEmacs (and the other utilities users run) go in PREFIXDIR/bin |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
624 (unless the `--exec-prefix' option says otherwise). |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
625 - The architecture-independent files go in PREFIXDIR/share/xemacs-VERSION |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
626 (where VERSION is the version number of XEmacs, like `21.0'). |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
627 - The architecture-dependent files go in |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
628 PREFIXDIR/lib/xemacs-VERSION/CONFIGURATION-NAME |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
629 (where CONFIGURATION-NAME is the host type, like mips-dec-ultrix4.2), |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
630 unless the `--exec-prefix' option says otherwise. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
631 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
632 The `--exec-prefix=EXECDIR' option allows you to specify a separate portion |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
633 of the directory tree for installing architecture-specific files, like |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
634 executables and utility programs. If specified, |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
635 - XEmacs (and the other utilities users run) go in EXECDIR/bin, and |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
636 - The architecture-dependent files go in |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
637 EXECDIR/lib/xemacs-VERSION/CONFIGURATION-NAME. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
638 EXECDIR/bin should be a directory that is normally in users' PATHs. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
639 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
640 If you specify --prefix (or any of the other installation directory options), |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
641 they will get compiled into the xemacs executable so it will be able to find |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
642 its various associated files. However, XEmacs has quite elaborate logic to |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
643 find out the locations of these directories dynamically. Sometimes, it is |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
644 desirable *not* to compile these directories into the executable so you can |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
645 move the XEmacs installation around (as whole) at will. This is true for |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
646 binary kits, for instance. Therefore, you can specify --without-prefix on |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
647 the configure command line to prevent the installation prefix to become part |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
648 of the generated executable; everything else will continue to work as usual. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
649 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
650 Unlike previous versions of XEmacs (21.4 or earlier), |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
651 architecture-independent files (in particular, the Lisp files and |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
652 package hierarchies) by default get installed under `/usr/local/share' |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
653 rather than `/usr/local/lib'. To create a setup as in previous |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
654 versions, use the `--datadir=/usr/local/lib' option to configure. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
655 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
656 Options for Developers and Special Requirements |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
657 ----------------------------------------------- |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
658 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
659 The `--with-rel-alloc' option can be used to either enable or disable |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
660 use of the relocating allocator. Turning on --with-rel-alloc will allow |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
661 XEmacs to return unused memory to the operating system, thereby reducing |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
662 its memory footprint. However, it may make XEmacs runs more slowly, |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
663 especially if your system's `mmap' implementation is missing or |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
664 inefficient. Generally, it's best to go with the default configuration |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
665 for your system. You can tweak this based on how you use XEmacs, and |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
666 the memory and cpu resources available on your system. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
667 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
668 The `--with-system-malloc' option can be used to either enable or |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
669 disable use of the system malloc. Generally, it's best to go with the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
670 default configuration for your system. Note that on many systems |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
671 using the system malloc disables the use of the relocating allocator. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
672 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
673 The `--with-debug-malloc' option can be used to link a special |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
674 debugging version of malloc. Debug Malloc is not included with XEmacs |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
675 and is intended for use only by the developers. It may be obtained |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
676 from <URL:http://www.letters.com/dmalloc/>. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
677 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
678 The `--with-debug' and `--with-error-checking' options are primarily |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
679 useful to the developers. `--with-debug' incorporates code for |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
680 performing various tests, but does not impose a speed penalty. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
681 `--with-error-checking' adds additional tests to many of the commonly |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
682 used macros, and imposes a speed penalty. Using either or both of these |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
683 options can make bug reports more useful to the developers. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
684 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
685 The `--verbose' option is useful only to the developers. It displays |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
686 additional information, useful for debugging `configure'. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
687 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
688 AUXILIARY PATHS |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
689 =============== |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
690 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
691 After configuring, look at `./lisp/paths.el'; if some of those values are not |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
692 right for your system, set up the file `./lisp/site-init.el' with XEmacs Lisp |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
693 code to override them; it is not a good idea to edit paths.el itself. YOU |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
694 MUST USE THE LISP FUNCTION `setq' TO ASSIGN VALUES, rather than `defvar', as |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
695 used by `./lisp/paths.el'. For example, |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
696 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
697 (setq news-inews-program "/usr/bin/inews") |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
698 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
699 is how you would override the default value of the variable |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
700 news-inews-program (which is "/usr/local/inews"). |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
701 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
702 Before you override a variable this way, *look at the value* that the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
703 variable gets by default! Make sure you know what kind of value the variable |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
704 should have. If you don't pay attention to what you are doing, you'll make a |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
705 mistake. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
706 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
707 Things may malfunction if the variable `directory-abbrev-alist' is not set up |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
708 to translate "temporary" automounter mount points into the canonical form. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
709 XEmacs tries to detect how your automounter is configured. If you have an |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
710 unusual automounter configuration that XEmacs cannot detect, you may need to |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
711 change the value of `directory-abbrev-alist'. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
712 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
713 SITE-SPECIFIC STARTUP CODE |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
714 ========================== |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
715 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
716 Put into `./lisp/site-init.el' or `./lisp/site-load.el' any Emacs Lisp code |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
717 you want XEmacs to load before it is dumped out. Use site-load.el for |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
718 additional libraries if you arrange for their documentation strings to be in |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
719 the lib-src/DOC file (see src/Makefile.in.in if you wish to figure out how to |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
720 do that). For all else, use site-init.el. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
721 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
722 Note that, on some systems, the code you place in site-init.el must not use |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
723 expand-file-name or any other function which may look something up in the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
724 system's password and user information database. See `./PROBLEMS' for more |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
725 details on which systems this affects. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
726 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
727 The `site-*.el' files are nonexistent in the distribution. You do not need |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
728 to create them if you have nothing to put in them. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
729 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
730 TERMCAP CONFIGURATION |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
731 ===================== |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
732 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
733 Refer to the file `./etc/TERMS' for information on fields you may wish to add |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
734 to various termcap entries. The files `./etc/termcap.ucb' and |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
735 `./etc/termcap.dat' may already contain appropriately-modified entries. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
736 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
737 ADVANCED MAKE |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
738 ============= |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
739 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
740 If the default installation directories are not what you want, you can |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
741 specify where to install XEmacs's libraries and data files or where XEmacs |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
742 should search for its lisp files by giving values for `make' variables as |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
743 part of the command. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
744 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
745 You can change where the build process installs XEmacs and its data files by |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
746 specifying values for `make' variables as part of the `make' command line. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
747 For example, if you type |
| 0 | 748 |
| 749 make install bindir=/usr/local/gnubin | |
| 750 | |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
751 the `bindir=/usr/local/gnubin' argument indicates that the XEmacs executable |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
752 files should go in `/usr/local/gnubin', not `/usr/local/bin'. |
| 0 | 753 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
754 Note that this is not tested or recommended, and specifying installation |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
755 locations here rather than via `configure' may not work as expected. Here |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
756 is a complete list of the variables you may want to set. |
| 0 | 757 |
| 758 `bindir' indicates where to put executable programs that users can | |
| 759 run. This defaults to /usr/local/bin. | |
| 760 | |
| 761 `datadir' indicates where to put the architecture-independent | |
| 762 read-only data files that XEmacs refers to while it runs; it | |
|
5704
37b107e878b8
More corrections to INSTALL by Robert Royer.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5699
diff
changeset
|
763 defaults to /usr/local/share. We create the following |
| 0 | 764 subdirectories under `datadir': |
|
5704
37b107e878b8
More corrections to INSTALL by Robert Royer.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5699
diff
changeset
|
765 |
| 0 | 766 - `xemacs-VERSION/lisp', containing the XEmacs lisp libraries, and |
| 767 | |
| 768 - `xemacs-VERSION/etc', containing the XEmacs tutorial and the | |
| 769 `yow' database. | |
|
5704
37b107e878b8
More corrections to INSTALL by Robert Royer.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5699
diff
changeset
|
770 |
| 0 | 771 `VERSION' is the number of the XEmacs version you are installing, |
|
5704
37b107e878b8
More corrections to INSTALL by Robert Royer.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5699
diff
changeset
|
772 like `21.4.22' or `21.5-b32'. Since these files vary from one |
|
37b107e878b8
More corrections to INSTALL by Robert Royer.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5699
diff
changeset
|
773 version of XEmacs to another, including the version number in the |
|
37b107e878b8
More corrections to INSTALL by Robert Royer.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5699
diff
changeset
|
774 path allows you to have several versions of XEmacs installed at |
|
37b107e878b8
More corrections to INSTALL by Robert Royer.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5699
diff
changeset
|
775 the same time; this means that you don't have to make XEmacs |
| 0 | 776 unavailable while installing a new version. |
| 777 | |
|
5150
0353d546dc1e
Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents:
4842
diff
changeset
|
778 `datarootdir' indicates where to put the documentation. (Usually, |
|
0353d546dc1e
Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents:
4842
diff
changeset
|
779 this is identical to `datadir'---in the default configuration |
|
0353d546dc1e
Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents:
4842
diff
changeset
|
780 `datadir' is set to the value of `datarootdir'.) |
|
0353d546dc1e
Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents:
4842
diff
changeset
|
781 Specifically, the man pages are put in the `man' subdirectory |
|
0353d546dc1e
Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents:
4842
diff
changeset
|
782 of `datarootdir', and the info pages are put in the |
|
0353d546dc1e
Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents:
4842
diff
changeset
|
783 `xemacs/info' subdirectory. |
|
0353d546dc1e
Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents:
4842
diff
changeset
|
784 |
| 0 | 785 `statedir' indicates where to put architecture-independent data files |
| 786 that XEmacs modifies while it runs; it defaults to | |
| 787 /usr/local/lib as well. We create the following | |
| 788 subdirectories under `statedir': | |
| 789 - `xemacs/lock', containing files indicating who is editing | |
| 790 what, so XEmacs can detect editing clashes between | |
| 791 users. | |
| 792 | |
| 793 `libdir' indicates where to put architecture-specific data files that | |
| 794 XEmacs refers to as it runs; it too defaults to `/usr/local/lib'. | |
| 795 We create the following subdirectories under `libdir': | |
| 796 - `xemacs-VERSION/CONFIGURATION-NAME', containing executable | |
| 797 programs used by XEmacs that users are not expected to run | |
| 1338 | 798 themselves, and the DOC file. |
| 0 | 799 `VERSION' is the number of the XEmacs version you are installing, |
| 243 | 800 and `CONFIGURATION-NAME' is the host type of your system. |
| 801 Since these files are specific to the version of XEmacs, | |
| 802 operating system, and architecture in use, including the | |
| 803 configuration name in the path allows you to have several | |
| 804 versions of XEmacs for any mix of machines and operating | |
| 805 systems installed at the same time; this is useful for sites | |
| 806 at which different kinds of machines share the file system | |
| 807 XEmacs is installed on. | |
| 0 | 808 |
| 809 `infodir' indicates where to put the info files distributed with | |
|
5150
0353d546dc1e
Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents:
4842
diff
changeset
|
810 XEmacs; it defaults to `/usr/local/share/xemacs-VERSION/info'. |
| 0 | 811 |
| 812 `mandir' indicates where to put the man pages for XEmacs and its | |
| 813 utilities (like `etags'); it defaults to | |
| 814 `/usr/local/man/man1'. | |
| 815 | |
| 816 `prefix' doesn't give a path for any specific part of XEmacs; instead, | |
| 817 its value is used to determine the defaults for all the | |
| 818 architecture-independent path variables - `datadir', | |
| 819 `statedir', `infodir', and `mandir'. Its default value is | |
| 820 `/usr/local'; the other variables add on `lib' or `man' to it | |
| 821 by default. | |
| 822 | |
| 823 For example, suppose your site generally places GNU software | |
| 824 under `/usr/users/software/gnusoft' instead of `/usr/local'. | |
| 825 By including | |
| 826 `prefix=/usr/users/software/gnusoft' | |
| 827 in the arguments to `make', you can instruct the build process | |
| 828 to place all of the XEmacs data files in the appropriate | |
| 829 directories under that path. | |
| 830 | |
| 831 `exec_prefix' serves the same purpose as `prefix', but instead | |
| 832 determines the default values for the architecture-dependent | |
| 833 path variables - `bindir' and `libdir'. | |
| 834 | |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
835 The above variables serve analogous purposes in the makefiles for all GNU |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
836 software; here are some variables specific to XEmacs. |
| 0 | 837 |
| 838 `lispdir' indicates where XEmacs installs and expects its lisp | |
| 839 libraries. Its default value, based on `datadir' (see above), | |
|
5150
0353d546dc1e
Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents:
4842
diff
changeset
|
840 is `/usr/local/share/xemacs-VERSION/lisp' (where `VERSION' is as |
| 0 | 841 described above). |
| 842 | |
| 843 `sitelispdir' indicates where XEmacs should search for lisp libraries | |
| 844 specific to your site. XEmacs checks them in order before | |
| 845 checking `lispdir'. Its default value, based on `datadir' | |
|
5150
0353d546dc1e
Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents:
4842
diff
changeset
|
846 (see above), is `/usr/local/share/xemacs/site-lisp'. |
| 0 | 847 |
| 848 `etcdir' indicates where XEmacs should install and expect the rest of | |
| 849 its architecture-independent data, like the tutorial and yow | |
| 850 database. Its default value, based on `datadir' | |
|
5150
0353d546dc1e
Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents:
4842
diff
changeset
|
851 (see above), is `/usr/local/share/xemacs-VERSION/etc' (where |
| 0 | 852 `VERSION' is as described above). |
| 853 | |
| 854 `lockdir' indicates the directory where XEmacs keeps track of its | |
| 855 locking information. Its default value, based on `statedir' | |
|
5150
0353d546dc1e
Reflect change from `lib' to `share' in INSTALL.
Mike Sperber <sperber@deinprogramm.de>
parents:
4842
diff
changeset
|
856 (see above), is `/usr/local/share/xemacs/lock'. |
| 0 | 857 |
| 858 `archlibdir' indicates where XEmacs installs and expects the | |
| 859 executable files and other architecture-dependent data it uses | |
| 860 while running. Its default value, based on `libdir' (see | |
| 861 above), is `/usr/local/lib/xemacs-VERSION/CONFIGURATION-NAME' | |
| 862 (where VERSION and CONFIGURATION-NAME are as described above). | |
| 863 | |
| 420 | 864 `docdir' indicates where to put Lisp documentation strings that XEmacs |
| 442 | 865 refers to as it runs. It defaults to the value of `archlibdir' |
| 420 | 866 (see above). |
| 867 | |
| 388 | 868 `moduledir' indicates where XEmacs installs and expects to find |
| 869 any dynamic modules. Its default value, based on | |
| 870 `archlibdir' (see above) is | |
| 871 `/usr/local/lib/xemacs-VERSION/CONFIGURATION-NAME/modules' | |
| 872 (where VERSION and CONFIGURATION-NAME are as described above). | |
| 873 By their very nature, dynamic loadable modules are architecture- | |
| 442 | 874 dependent, and care should be taken not to set this directory |
| 875 to a system- or architecture-independent directory. | |
| 388 | 876 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
877 Remember that you must specify any variable values you need each time you run |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
878 `make' in the top directory. If you run `make' once to build xemacs, test |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
879 it, and then run `make' again to install the files, you must provide the same |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
880 variable settings each time. To make the settings persist, you can edit them |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
881 into the `Makefile' in the top directory, but be aware that running the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
882 `configure' program erases `Makefile' and rebuilds it from `Makefile.in'. |
| 1283 | 883 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
884 The top-level Makefile stores the variable settings it used in the Makefiles |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
885 for the subdirectories, so you don't have to specify them when running make |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
886 in the subdirectories. |
| 0 | 887 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
888 Using GNU Make allows for simultaneous builds with and without the --srcdir |
|
5704
37b107e878b8
More corrections to INSTALL by Robert Royer.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5699
diff
changeset
|
889 option (see the section Running Configure). |
| 0 | 890 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
891 MAIL LOCKING |
|
4508
742a23369b74
Improve package documentation.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
3179
diff
changeset
|
892 ============ |
| 0 | 893 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
894 For most platforms, configure or the src/s file have the preferred method for |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
895 locking mail spool files preconfigured. Otherwise you must find out for |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
896 yourself. Do not choose a locking protocol "on the objective merits." |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
897 XEmacs must use the same method as other mail utilities on your system, or |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
898 you WILL lose mail. |
| 398 | 899 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
900 Presently, XEmacs supports lockf, flock, and dot locking. Specify the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
901 locking method via the --with-mail-locking=METHOD option to configure. Valid |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
902 values for METHOD are --with-mail-locking are `lockf', `flock', and `dot'. |
| 3050 | 903 |
| 904 APPENDIX: CORRESPONDENCE TO OLD CONFIGURE OPTIONS | |
| 905 ================================================= | |
| 906 | |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
907 Here is a full translation of command line arguments. Note that any option |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
908 starting with "--with" may also be specified with "--enable". This list may |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
909 not be up-to-date. |
| 3050 | 910 |
| 911 Old | New | |
| 912 ------------------------------------------ | |
| 913 General options: | |
| 914 ---------------- | |
| 915 | |
| 916 --help Unchanged | |
| 917 --usage Removed | |
| 918 --verbose Unchanged | |
| 919 --extra-verbose Removed | |
| 920 | |
| 921 Compilation options: | |
| 922 -------------------- | |
| 923 | |
| 924 --compiler --with-compiler | |
| 925 --xemacs-compiler --with-xemacs-compiler | |
| 926 --with-gcc Unchanged | |
| 927 --cflags --with-cflags | |
| 928 --cflags-warning --with-cflags-warning | |
| 929 --debug --with-debug | |
| 930 New --with-cflags-debug | |
| 931 New --with-optimization | |
| 932 New --with-cflags-optimization | |
| 933 --cpp --with-cpp | |
| 934 --cppflags --with-cppflags | |
| 935 --libs --with-libs | |
| 936 --ldflags --with-ldflags | |
| 937 --site-includes --with-site-includes | |
| 938 --site-libraries --with-site-libraries | |
| 939 --site-prefixes --with-site-prefixes | |
| 940 --site-runtime-libraries --with-site-runtime-libraries | |
| 941 --dynamic --with-dynamic | |
| 942 --srcdir Unchanged | |
| 943 | |
| 944 Installation options: | |
| 945 --------------------- | |
| 946 | |
| 947 --prefix Unchanged | |
| 948 --with-prefix Unchanged | |
| 949 --with-netinstall Unchanged | |
| 950 --bindir Unchanged | |
| 951 --datadir Unchanged | |
| 952 --statedir Unchanged | |
| 953 --libdir Unchanged | |
| 954 --infodir Unchanged | |
| 955 --mandir Unchanged | |
| 956 --lispdir --with-lispdir | |
| 957 --sitelispdir Removed | |
| 958 --etcdir --with-etcdir | |
| 959 --lockdir Removed | |
| 960 --archlibdir --with-archlibdir | |
| 961 --docdir --with-docdir | |
| 962 --moduledir --with-moduledir | |
| 963 | |
| 964 Run-time path-searching options: | |
| 965 -------------------------------- | |
| 966 | |
| 967 --with-site-lisp Unchanged | |
| 968 --with-site-modules Unchanged | |
| 969 --package-path --with-package-path | |
| 970 --infopath --with-infopath | |
| 971 | |
| 972 Window-system options: | |
| 973 ---------------------- | |
| 974 | |
| 975 --with-gtk Unchanged | |
| 976 --with-gnome Unchanged | |
| 977 --with-x11 Unchanged | |
| 978 --x-includes Unchanged | |
| 979 --x-libraries Unchanged | |
| 980 --with-msw Unchanged | |
| 981 --with-toolbars Unchanged | |
| 982 --with-wmcommand Unchanged | |
| 983 --with-athena Unchanged | |
| 984 --with-menubars Unchanged | |
| 985 --with-scrollbars Unchanged | |
| 986 --with-dialogs Unchanged | |
| 987 --with-widgets Unchanged | |
| 988 --with-dragndrop Unchanged | |
| 989 --with-cde Unchanged | |
| 990 --with-xmu Unchanged | |
| 991 --external-widget --with-external-widget | |
| 992 | |
| 993 TTY (character terminal) options: | |
| 994 --------------------------------- | |
| 995 | |
| 996 --with-tty Unchanged | |
| 997 --with-ncurses Unchanged | |
| 998 --with-gpm Unchanged | |
| 999 | |
| 1000 Image options: | |
| 1001 -------------- | |
| 1002 | |
| 1003 --with-xpm Unchanged | |
| 1004 --with-png Unchanged | |
| 1005 --with-jpeg Unchanged | |
| 1006 --with-tiff Unchanged | |
| 1007 --with-xface Unchanged | |
| 1008 --with-gif Unchanged | |
| 1009 | |
| 1010 Sound options: | |
| 1011 -------------- | |
| 1012 | |
| 1013 --with-sound Unchanged | |
| 1014 --native-sound-lib=LIB --with-native-sound-lib | |
| 1015 | |
| 1016 Internationalization options: | |
| 1017 ----------------------------- | |
| 1018 | |
| 1019 --with-mule Unchanged | |
| 1020 --with-xim Unchanged | |
| 1021 --with-canna Unchanged | |
| 1022 --with-wnn Unchanged | |
| 1023 --with-wnn6 Unchanged | |
| 1024 --with-xfs Unchanged | |
| 1025 | |
| 1026 File-related options: | |
| 1027 --------------------- | |
| 1028 | |
| 1029 --with-default-eol-detection Unchanged | |
| 1030 --with-clash-detection Unchanged | |
| 1031 | |
| 1032 Database options: | |
| 1033 ----------------- | |
| 1034 | |
| 1035 --with-database Unchanged | |
| 1036 --with-ldap Unchanged | |
| 1037 --with-postgresql Unchanged | |
| 1038 | |
| 1039 Mail options: | |
| 1040 ------------- | |
| 1041 | |
| 1042 --mail-locking=TYPE --with-mail-locking | |
| 1043 --with-pop Unchanged | |
| 1044 --with-kerberos Unchanged | |
| 1045 --with-hesiod Unchanged | |
| 1046 | |
| 1047 Networking options: | |
| 1048 ------------------- | |
| 1049 | |
| 1050 --with-tooltalk Unchanged | |
| 1051 --with-socks Unchanged | |
| 1052 --with-dnet Unchanged | |
| 1053 --with-ipv6-cname Unchanged | |
| 1054 | |
| 1055 Memory allocation options: | |
| 1056 -------------------------- | |
| 1057 | |
| 1058 --rel-alloc --with-rel-alloc | |
| 1059 --with-dlmalloc Unchanged | |
| 1060 --with-system-malloc Unchanged | |
| 1061 --with-debug-malloc Unchanged | |
| 1062 | |
| 1063 Emacs Lisp options: | |
| 1064 ------------------- | |
| 1065 | |
| 1066 --use-number-lib --with-bignum | |
| 1067 | |
| 1068 Debugging options: | |
| 1069 ------------------ | |
| 1070 | |
| 1071 --debug --with-debug | |
| 1072 --error-checking --with-error-checking | |
| 1073 --memory-usage-stats --with-memory-usage-stats | |
| 1074 --quick-build --with-quick-build | |
| 1075 --use-union-type --with-union-type | |
| 1076 --with-quantify Unchanged | |
| 1077 --with-purify Unchanged | |
| 1078 | |
| 1079 Developer options: | |
| 1080 ------------------ | |
| 1081 | |
| 1082 --with-workshop Unchanged | |
| 1083 --pdump --with-pdump | |
| 1084 --use-kkcc --with-kkcc | |
| 1085 --with-modules Unchanged | |
| 1086 | |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1087 The output files produced by this new configure should be almost identical to |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1088 those produced by the old. This can be tested with the provided regression |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1089 test script. This script runs the two versions of configure with the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1090 supplied list of command line arguments and reports any differences. Please |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1091 add your favorite configuration command lines to the list before running the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1092 test. The script is run as: |
| 3050 | 1093 |
| 1094 $ tests/autoconf/regressiontest.pl /absolute/path/to/2.13/configure \ | |
| 1095 /absolute/path/to/2.59/configure >diffs.txt | |
| 1096 | |
| 1097 The only differences should be: | |
| 1098 - those related to changes in the command line arguments | |
| 1099 - the change of SYS_SIGLIST_DECLARED to HAVE_DECL_SYS_SIGLIST (because the old | |
| 1100 form has been removed), and | |
| 1101 - The removal of trailing comments in src/config.h. | |
| 1102 | |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1103 RANDOM NOTES |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1104 ============ |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1105 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1106 Definitions |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1107 ----------- |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1108 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1109 A note on terminology: unfortunately the terms "library" and "package" are |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1110 heavily overloaded. In the following, "library" refers to an external body |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1111 of executable code which may be linked with XEmacs at build time to provide |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1112 support for system features, such as images, audio, stream compression, |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1113 databases, and input methods. A "Lisp library" is a file of Lisp code which |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1114 may be loaded into XEmacs at run-time to provide editor features. A |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1115 "package" is a specially prepared Lisp library or set of Lisp libraries, |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1116 providing for easy installation, upgrade, and removal of applications written |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1117 in Lisp. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1118 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1119 Package System |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1120 -------------- |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1121 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1122 The FAQ sections 1.7 and 2.1 contain information vital to have a fully |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1123 working XEmacs. It includes a description of available packages, and how to |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1124 bootstrap XEmacs from a minimal or a complete set of packages. This |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1125 information was not included in this file only because it is too large for |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1126 this terse INSTALL. The FAQ is available in Texinfo format in |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1127 man/xemacs-faq.texi, as an Info file once you build XEmacs, and online at |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1128 http://www.xemacs.org/Documentation/21.5/html/xemacs-faq_1.html. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1129 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1130 Other |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1131 ----- |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1132 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1133 On some systems, X11, Motif and CDE are optional additions. On MacOS/X |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1134 systems prior to 10.2, you may download X11R6 for Mac OS X from |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1135 http://www.apple.com/macosx/x11/download/. In later releases X11 is |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1136 available as an optional package on the installation CDs. In either case you |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1137 need both the runtime libraries and the SDK (in a sidebar of that page at the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1138 time of writing). There is also a 3rd-party implementation of X11R6 for the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1139 Mac at http://www.xdarwin.org/. On Solaris, the SUNWaudmo package enables |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1140 native sound support. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1141 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1142 You can get (most of) them from the XEmacs FTP archive at |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1143 <ftp://ftp.xemacs.org/pub/xemacs/aux>. Information about what |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1144 each library does is available in the file |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1145 <ftp://ftp.xemacs.org/pub/xemacs/aux/00README.txt>. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1146 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1147 (This note is probably obsolete.) Dynamic linking has pros and cons. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1148 Dynamically linking 3rd party libraries to XEmacs decreases the size of the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1149 binary, and means you don't need to rebuild XEmacs to take advantage of |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1150 improvements in the libraries. On the other hand, XEmacs can fail subtly if |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1151 the semantics of a library changes, other users may not be able to use your |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1152 "private" copies of the libraries, and you may have to relink XEmacs, or even |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1153 omit the feature, if the ABI changes when the libraries are upgraded. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1154 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1155 Use the `--with-site-includes' and `--with-site-libraries' options when |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1156 building XEmacs to allow configure to find the external software packages. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1157 For your convenience these can be set together by using the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1158 `--with-site-prefixes' option. This will set these variables as needed |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1159 assuming your libraries are organised as a typical /usr tree. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1160 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1161 If you link dynamically with external libraries, usually denoted by ".so" |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1162 (Unix), ".dll" (Windows), or ".dylib" (MacOS) file extensions, on some |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1163 systems you may also need to add the library directories to the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1164 `--with-site-runtime-libraries' option. It is typically necessary only if |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1165 you link with dynamic libraries that are installed in non-standard |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1166 directories, or if you expect some of the libraries used to build XEmacs to |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1167 be in a different directory at run time than at build time. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1168 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1169 NOTE: This option has unusual semantics. ONLY libraries found in the |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1170 directories specified in this option will be used at runtime. This means you |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1171 must specify ALL directories you want searched at runtime in this option |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1172 (perhaps excluding a very small number of standard system library paths). |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1173 |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1174 Directories specified with `--with-site-libraries' are NOT automatically |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1175 added. The rationale is that most users will not need this option, and this |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1176 allows the builder to specify exactly the needed directories. Specifying |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1177 unnecessary directories leads to obscure problems (typically startup delays) |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1178 if those directories are mounted over a network, and the automounter |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1179 configuration changes. Not all systems need this option; it's best to avoid |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1180 using it if you can. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1181 |
|
5704
37b107e878b8
More corrections to INSTALL by Robert Royer.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5699
diff
changeset
|
1182 To specify multiple directories in these commands, use a list delimited by |
|
37b107e878b8
More corrections to INSTALL by Robert Royer.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5699
diff
changeset
|
1183 spaces, colons, or commas. You will need to protect space-delimited lists |
|
37b107e878b8
More corrections to INSTALL by Robert Royer.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5699
diff
changeset
|
1184 from shell parsing by quoting them. |
|
37b107e878b8
More corrections to INSTALL by Robert Royer.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5699
diff
changeset
|
1185 |
|
5699
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1186 If you haven't built XEmacs 21.5 recently, the change from the configure |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1187 script based on Autoconf 2.13 can be a shock. Appendix: Correspondence to |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1188 Old Configure Options (at the end of this document) contains a list of old |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1189 options and their new equivalents. |
|
a95c89dc9695
Reorganize and update INSTALL.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5384
diff
changeset
|
1190 |
