1 |
This file describes various problems that have been encountered |
This file describes various problems that have been encountered |
2 |
in compiling, installing and running GNU Emacs. |
in compiling, installing and running GNU Emacs. |
3 |
|
|
4 |
|
* Segfault on GNU/Linux using certain recent versions of the Linux kernel. |
5 |
|
|
6 |
|
With certain recent Linux kernels (like the one of Redhat Fedora Core |
7 |
|
1), the new "Exec-shield" functionality is enabled by default, which |
8 |
|
creates a different memory layout that breaks the emacs dumper. |
9 |
|
|
10 |
|
You can check the Exec-shield state like this: |
11 |
|
|
12 |
|
cat /proc/sys/kernel/exec-shield |
13 |
|
|
14 |
|
It returns 1 or 2 when Exec-shield is enabled, 0 otherwise. Please |
15 |
|
read your system documentation for more details on Exec-shield and |
16 |
|
associated commands. |
17 |
|
|
18 |
|
When Exec-shield is enabled, building Emacs will segfault during the |
19 |
|
execution of this command: |
20 |
|
|
21 |
|
temacs --batch --load loadup [dump|bootstrap] |
22 |
|
|
23 |
|
To work around this problem, it is necessary to temporarily disable |
24 |
|
Exec-shield while building Emacs, using the `setarch' command like |
25 |
|
this: |
26 |
|
|
27 |
|
setarch i386 ./configure <configure parameters> |
28 |
|
setarch i386 make <make parameters> |
29 |
|
|
30 |
|
* Characters are displayed as empty boxes or with wrong font under X. |
31 |
|
|
32 |
|
This can occur when two different versions of FontConfig are used. |
33 |
|
For example, XFree86 4.3.0 has one version and Gnome usually comes |
34 |
|
with a newer version. Emacs compiled with --with-gtk will then use |
35 |
|
the newer version. In most cases the problem can be temporarily |
36 |
|
fixed by stopping the application that has the error (it can be |
37 |
|
Emacs or any other application), removing ~/.fonts.cache-1, |
38 |
|
and then start the application again. |
39 |
|
If removing ~/.fonts.cache-1 and restarting doesn't help, the |
40 |
|
application with problem must be recompiled with the same version |
41 |
|
of FontConfig as the rest of the system uses. For KDE, it is |
42 |
|
sufficient to recompile Qt. |
43 |
|
|
44 |
* Process output truncated on Mac OS X (Carbon) when using pty's. |
* Process output truncated on Mac OS X (Carbon) when using pty's. |
45 |
|
|
46 |
There appears to be a problem with the implementation of pty's on the |
There appears to be a problem with the implementation of pty's on the |