59 |
with some non-default options), always clean the source |
with some non-default options), always clean the source |
60 |
directories before running `configure' again: |
directories before running `configure' again: |
61 |
|
|
62 |
make distclean |
make distclean |
63 |
./configure |
./configure |
64 |
|
|
65 |
5. Invoke the `make' program: |
5. Invoke the `make' program: |
127 |
Here's the list of these optional libraries, and the URLs where they |
Here's the list of these optional libraries, and the URLs where they |
128 |
can be found: |
can be found: |
129 |
|
|
130 |
. libXaw3d for fancy 3D-style |
. libXaw3d for fancy 3D-style |
131 |
scroll bars: ftp://ftp.x.org/contrib/widgets/Xaw3d/ |
scroll bars: ftp://ftp.x.org/contrib/widgets/Xaw3d/ |
132 |
. libxpm for XPM: ftp://ftp.x.org/contrib/libraries/ |
. libxpm for XPM: ftp://ftp.x.org/contrib/libraries/ |
133 |
Get version 3.4k or later, which lets Emacs |
Get version 3.4k or later, which lets Emacs |
134 |
use its own color allocation functions. |
use its own color allocation functions. |
135 |
. libpng for PNG: ftp://www.libpng.org/pub/png/ |
. libpng for PNG: ftp://www.libpng.org/pub/png/ |
136 |
. libz (for PNG): http://www.info-zip.org/pub/infozip/zlib/ |
. libz (for PNG): http://www.info-zip.org/pub/infozip/zlib/ |
138 |
Get version 6b -- 6a is reported to fail in |
Get version 6b -- 6a is reported to fail in |
139 |
Emacs. |
Emacs. |
140 |
. libtiff for TIFF: http://www.libtiff.org/ |
. libtiff for TIFF: http://www.libtiff.org/ |
141 |
. libungif for GIF: |
. libungif for GIF: |
142 |
http://prtr-13.ucsc.edu/~badger/software/libungif/index.shtml |
http://prtr-13.ucsc.edu/~badger/software/libungif/index.shtml |
143 |
Ensure you get version 4.1.0b1 or higher of libungif -- a bug in |
Ensure you get version 4.1.0b1 or higher of libungif -- a bug in |
144 |
4.1.0 can crash Emacs. |
4.1.0 can crash Emacs. |
152 |
|
|
153 |
* Extra fonts |
* Extra fonts |
154 |
|
|
155 |
|
At first, Emacs does not include fonts and does not install them. You |
156 |
|
must do this yourself. |
157 |
|
|
158 |
To take proper advantage of Emacs 21's mule-unicode charsets, you need |
To take proper advantage of Emacs 21's mule-unicode charsets, you need |
159 |
a Unicode font. For information on Unicode fonts for X, see |
a Unicode font. For information on Unicode fonts for X, see |
160 |
<URL:http://czyborra.com/unifont/>, |
<URL:http://czyborra.com/unifont/>, |
173 |
and <URL:ftp://ftp.xfree86.org/pub/X.Org/contrib/fonts/>. |
and <URL:ftp://ftp.xfree86.org/pub/X.Org/contrib/fonts/>. |
174 |
|
|
175 |
|
|
176 |
|
|
177 |
DETAILED BUILDING AND INSTALLATION: |
DETAILED BUILDING AND INSTALLATION: |
178 |
|
|
179 |
(This is for a Unix or Unix-like system. For MS-DOS and Windows 3.X, |
(This is for a Unix or Unix-like system. For MS-DOS and Windows 3.X, |
187 |
insufficient, you will get an error in the command `temacs -batch -l |
insufficient, you will get an error in the command `temacs -batch -l |
188 |
loadup dump', found in `./src/Makefile.in', or possibly when |
loadup dump', found in `./src/Makefile.in', or possibly when |
189 |
running the final dumped Emacs. |
running the final dumped Emacs. |
190 |
|
|
191 |
Building Emacs requires about 140 MB of disk space (including the |
Building Emacs requires about 140 MB of disk space (including the |
192 |
Emacs sources) Once installed, Emacs occupies about 77 MB in the file |
Emacs sources) Once installed, Emacs occupies about 77 MB in the file |
193 |
system where it is installed; this includes the executable files, Lisp |
system where it is installed; this includes the executable files, Lisp |
231 |
|
|
232 |
To get more attractive menus, you can specify an X toolkit when you |
To get more attractive menus, you can specify an X toolkit when you |
233 |
configure Emacs; use the option `--with-x-toolkit=TOOLKIT', where |
configure Emacs; use the option `--with-x-toolkit=TOOLKIT', where |
234 |
TOOLKIT is `athena' or `motif' (`yes' and `lucid' are synonyms for |
TOOLKIT is `athena', `motif' or `gtk' (`yes' and `lucid' are synonyms for |
235 |
`athena'). On some systems, it does not work to use a toolkit with |
`athena'). On some systems, it does not work to use a toolkit with |
236 |
shared libraries. A free implementation of Motif, called LessTif, is |
shared libraries. A free implementation of Motif, called LessTif, is |
237 |
available ftom <http://www.lesstif.org>. Compiling with LessTif or |
available ftom <http://www.lesstif.org>. Compiling with LessTif or |
241 |
installed (see "Image support libraries" above for Xaw3d |
installed (see "Image support libraries" above for Xaw3d |
242 |
availability). |
availability). |
243 |
|
|
244 |
|
If `--with-x-toolkit=gtk' is specified, you can tell configure where |
245 |
|
to search for GTK by specifying `--with-pkg-config-prog=PATH' where |
246 |
|
PATH is the pathname to pkg-config. Note that GTK version 2.0 or |
247 |
|
newer is required for Emacs. |
248 |
|
|
249 |
The `--with-gcc' option specifies that the build process should |
The `--with-gcc' option specifies that the build process should |
250 |
compile Emacs using GCC. If you don't want to use GCC, specify |
compile Emacs using GCC. If you don't want to use GCC, specify |
251 |
`--with-gcc=no'. If you omit this option, `configure' will search |
`--with-gcc=no'. If you omit this option, `configure' will search |
502 |
that `configure' created (so you can compile Emacs for a different |
that `configure' created (so you can compile Emacs for a different |
503 |
configuration), type `make distclean'. If you don't need some, or all |
configuration), type `make distclean'. If you don't need some, or all |
504 |
of the input methods from the Leim package, you can remove the |
of the input methods from the Leim package, you can remove the |
505 |
unneeded files in the leim/quail, leim/skk, and leim/skk-dic |
unneeded files in the leim subdirectories of your site's lisp |
506 |
subdirectories of your site's lisp directory (usually |
directory (usually /usr/local/share/emacs/VERSION/). |
|
/usr/local/share/emacs/VERSION/). |
|
507 |
|
|
508 |
|
|
509 |
|
|
543 |
We create the following subdirectories under `libexecdir': |
We create the following subdirectories under `libexecdir': |
544 |
- `emacs/VERSION/CONFIGURATION-NAME', containing executable |
- `emacs/VERSION/CONFIGURATION-NAME', containing executable |
545 |
programs used by Emacs that users are not expected to run |
programs used by Emacs that users are not expected to run |
546 |
themselves. |
themselves. |
547 |
`VERSION' is the number of the Emacs version you are installing, |
`VERSION' is the number of the Emacs version you are installing, |
548 |
and `CONFIGURATION-NAME' is the argument you gave to the |
and `CONFIGURATION-NAME' is the argument you gave to the |
549 |
`configure' program to identify the architecture and operating |
`configure' program to identify the architecture and operating |
687 |
in `./lib-src' to their final destinations, as selected in `./src/paths.h'. |
in `./lib-src' to their final destinations, as selected in `./src/paths.h'. |
688 |
|
|
689 |
Strictly speaking, not all of the executables in `./lib-src' need be copied. |
Strictly speaking, not all of the executables in `./lib-src' need be copied. |
690 |
- The programs `cvtmail', `emacsserver', `fakemail', `hexl', |
- The programs `cvtmail', `fakemail', `hexl', |
691 |
`movemail', `profile', `rcs2log', `timer', `vcdiff', `wakeup', |
`movemail', `profile', `rcs2log', `timer', `vcdiff', `wakeup', |
692 |
and `yow' are used by Emacs; they do need to be copied. |
and `yow' are used by Emacs; they do need to be copied. |
693 |
- The programs `etags', `ctags', `emacsclient', `b2m', and `rcs-checkin' |
- The programs `etags', `ctags', `emacsclient', `b2m', and `rcs-checkin' |