Commit f995538b authored by Glenn Morris's avatar Glenn Morris

* etc/PROBLEMS: Remove old information no longer of relevance.

parent 81ac4f35
2010-05-27 Glenn Morris <>
* PROBLEMS: Remove old information no longer of relevance.
2010-05-24 Stefan Monnier <>
* NEWS: Add sections for Emacs-23.3.
......@@ -9,7 +9,9 @@ See the end of the file for license conditions.
This file describes various problems that have been encountered
in compiling, installing and running GNU Emacs. Try doing C-c C-t
and browsing through the outline headers. (See C-h m for help on
Outline mode.)
Outline mode.) Information about systems that are no longer supported,
and old Emacs releases, has been removed. Consult older versions of
this file if you are interested in that information.
* Mule-UCS doesn't work in Emacs 23.
......@@ -520,21 +522,6 @@ earlier versions.
((consp (sgml-entity-text entity)) ; external id?
(let* ((extid (sgml-entity-text entity))
You should not be using a version older than 11.52 if you can avoid
*** Emacs 21 freezes when visiting a TeX file with AUCTeX installed.
Emacs 21 needs version 10 or later of AUCTeX; upgrading should solve
these problems.
*** No colors in AUCTeX with Emacs 21.
Upgrade to AUC TeX version 10 or later, and make sure it is
byte-compiled with Emacs 21.
*** Lines are not updated or new lines are added in the buffer upon commit.
......@@ -642,9 +629,6 @@ To work around the problem, you could either (a) set the variable
invoking `df'; (b) use `df' from the GNU Fileutils package; or
(c) use CVS, which is Free Software, instead of ClearCase.
*** Versions of the W3 package released before Emacs 21.1 don't run
under Emacs 21. This fixed in W3 version 4.0pre.47.
*** The LDAP support rely on ldapsearch program from OpenLDAP version 2.
It can fail to work with ldapsearch program from OpenLDAP version 1.
......@@ -929,12 +913,6 @@ mule-unicode-2500-33ff:-gnu-unifont-*-iso10646-1,\
*** Athena/Lucid toolkit limitations
The Athena/Lucid toolkit cannot display UTF-8 strings in the menu, so
if you have UTF-8 buffer names, the buffer menu won't display the
names properly. The GTK+ toolkit works properly.
** The UTF-8/16/7 coding systems don't encode CJK (Far Eastern) characters.
Emacs directly supports the Unicode BMP whose code points are in the
......@@ -2415,20 +2393,6 @@ you are working on the host called `marvin'. Then an entry in the
The solution is to remove this line from `etc/fstab'.
*** src/Makefile and lib-src/Makefile are truncated--most of the file missing.
*** Compiling wakeup, in lib-src, says it can't make wakeup.c.
This can happen if configure uses GNU sed version 2.03. That version
had a bug. GNU sed version 2.05 works properly.To solve the
problem, install the current version of GNU Sed, then rerun Emacs's
configure script.
*** Compiling lib-src says there is no rule to make test-distrib.c.
This results from a bug in a VERY old version of GNU Sed. To solve
the problem, install the current version of GNU Sed, then rerun
Emacs's configure script.
*** Building a 32-bit executable on a 64-bit GNU/Linux architecture.
First ensure that the necessary 32-bit system libraries and include
......@@ -2559,31 +2523,6 @@ A solution is to link with GCC, like this:
Since the .o object files already exist, this will not recompile Emacs
with GCC, but just restart by trying again to link temacs.
*** AIX 1.3 ptf 0013: Link failure.
There is a real duplicate definition of the function `_slibc_free' in
the library /lib/libc_s.a (just do nm on it to verify). The
workaround/fix is:
cd /lib
ar xv libc_s.a NLtmtime.o
ar dv libc_s.a NLtmtime.o
*** AIX 4.1.2: Linker error messages such as
ld: 0711-212 SEVERE ERROR: Symbol .__quous, found in the global symbol table
of archive /usr/lib/libIM.a, was not defined in archive member shr.o.
This is a problem in libIM.a. You can work around it by executing
these shell commands in the src subdirectory of the directory where
you build Emacs:
cp /usr/lib/libIM.a .
chmod 664 libIM.a
ranlib libIM.a
Then change -lIM to ./libIM.a in the command to link temacs (in
*** Sun with acc: Link failure when using acc on a Sun.
To use acc, you need additional options just before the libraries, such as
......@@ -2872,108 +2811,19 @@ of its files pure after dumping, but the variables declared static and
not initialized are not supposed to be pure. On these systems you
may need to add "#define static" to the m- or the s- file.
* Emacs 19 problems
** Error messages `Wrong number of arguments: #<subr where-is-internal>, 5'.
This typically results from having the powerkey library loaded.
Powerkey was designed for Emacs 19.22. It is obsolete now because
Emacs 19 now has this feature built in; and powerkey also calls
where-is-internal in an obsolete way.
So the fix is to arrange not to load powerkey.
* Runtime problems on legacy systems
This section covers bugs reported on very old hardware or software.
If you are using hardware and an operating system shipped after 2000,
it is unlikely you will see any of these.
** Ancient operating systems
AIX 4.2 was end-of-lifed on Dec 31st, 1999.
*** AIX: You get this compiler error message:
Processing include file ./XMenuInt.h
1501-106: (S) Include file X11/Xlib.h not found.
This means your system was installed with only the X11 runtime i.d
libraries. You have to find your sipo (bootable tape) and install
X11Dev... with smit.
(This report must be ancient. Bootable tapes are long dead.)
*** AIX 3.2.4: Releasing Ctrl/Act key has no effect, if Shift is down.
Due to a feature of AIX, pressing or releasing the Ctrl/Act key is
ignored when the Shift, Alt or AltGr keys are held down. This can
lead to the keyboard being "control-locked"--ordinary letters are
treated as control characters.
You can get out of this "control-locked" state by pressing and
releasing Ctrl/Act while not pressing or holding any other keys.
*** AIX 3.2.5: You get this message when running Emacs:
Could not load program emacs
Symbol smtcheckinit in csh is undefined
Error was: Exec format error
or this one:
Could not load program .emacs
Symbol _system_con in csh is undefined
Symbol _fp_trapsta in csh is undefined
Error was: Exec format error
These can happen when you try to run on AIX 3.2.5 a program that was
compiled with 3.2.4. The fix is to recompile.
*** AIX 4.2: Emacs gets a segmentation fault at startup.
If you are using IBM's xlc compiler, compile emacs.c
without optimization; that should avoid the problem.
*** ISC Unix
**** ISC: display-time causes kernel problems on ISC systems.
Under Interactive Unix versions 3.0.1 and 4.0 (and probably other
versions), display-time causes the loss of large numbers of STREVENT
cells. Eventually the kernel's supply of these cells is exhausted.
This makes emacs and the whole system run slow, and can make other
processes die, in particular pcnfsd.
Other emacs functions that communicate with remote processes may have
the same problem. Display-time seems to be far the worst.
The only known fix: Don't run display-time.
**** Sunos 5.3: Subprocesses remain, hanging but not zombies.
*** Sunos 5.3: Subprocesses remain, hanging but not zombies.
A bug in Sunos 5.3 causes Emacs subprocesses to remain after Emacs
exits. Sun patch # 101415-02 is part of the fix for this, but it only
applies to ptys, and doesn't fix the problem with subprocesses
communicating through pipes.
*** Irix
*** Irix 6.2: No visible display on mips-sgi-irix6.2 when compiling with GCC 2.8.1.
This problem went away after installing the latest IRIX patches
as of 8 Dec 1998.
The same problem has been reported on Irix 6.3.
*** Irix 6.3: substituting environment variables in file names
in the minibuffer gives peculiar error messages such as
Substituting nonexistent environment variable ""
This is not an Emacs bug; it is caused by something in SGI patch
003082 August 11, 1998.
**** OPENSTEP 4.2: Compiling syntax.c with gcc fails.
......@@ -3014,81 +2864,6 @@ called. The problem does not happen if you compile with GCC.
This can happen if you configure Emacs without specifying the precise
version of Solaris that you are using.
**** Solaris 2.3 and 2.4: Unpredictable segmentation faults.
A user reported that this happened in 19.29 when it was compiled with
the Sun compiler, but not when he recompiled with GCC 2.7.0.
We do not know whether something in Emacs is partly to blame for this.
**** Solaris 2.4: Emacs dumps core on startup.
Bill Sebok says that the cause of this is Solaris 2.4 vendor patch
102303-05, which extends the Solaris linker to deal with the Solaris
Common Desktop Environment's linking needs. You can fix the problem
by removing this patch and installing patch 102049-02 instead.
However, that linker version won't work with CDE.
Solaris 2.5 comes with a linker that has this bug. It is reported that if
you install all the latest patches (as of June 1996), the bug is fixed.
We suspect the crucial patch is one of these, but we don't know
for certain.
103093-03: [README] SunOS 5.5: kernel patch (2140557 bytes)
102832-01: [README] OpenWindows 3.5: Xview Jumbo Patch (4181613 bytes)
103242-04: [README] SunOS 5.5: linker patch (595363 bytes)
(One user reports that the bug was fixed by those patches together
with patches 102980-04, 103279-01, 103300-02, and 103468-01.)
If you can determine which patch does fix the bug, please tell
Meanwhile, the GNU linker links Emacs properly on both Solaris 2.4 and
Solaris 2.5.
**** Solaris 2.4: Dired hangs and C-g does not work. Or Emacs hangs
forever waiting for termination of a subprocess that is a zombie. says the problem is in X11R6. Rebuild
after changing the file xc/config/cf/sunLib.tmpl. Change the lines
#if ThreadedX
#define SharedX11Reqs -lthread
#if OSMinorVersion < 4
#if ThreadedX
#define SharedX11Reqs -lthread
Be sure also to edit x/config/cf/ so that OSMinorVersion is 4
(as it should be for Solaris 2.4). The file has three definitions for
OSMinorVersion: the first is for x86, the second for SPARC under
Solaris, and the third for SunOS 4. Make sure to update the
definition for your type of machine and system.
Then do `make Everything' in the top directory of X11R6, to rebuild
the makefiles and rebuild X. The X built this way work only on
Solaris 2.4, not on 2.3.
For multithreaded X to work it is necessary to install patch
101925-02 to fix problems in header files [2.4]. You need
to reinstall gcc or re-run just-fixinc after installing that
However, Frank Rust <> used a simpler solution:
he changed
#define ThreadedX YES
#define ThreadedX NO
in and did `make World' to rebuild X11R6. Removing all
`-DXTHREAD*' flags and `-lthread' entries from lib/X11/Makefile and
typing 'make install' in that directory also seemed to work.
**** Solaris 2.x: GCC complains "64 bit integer types not supported".
This suggests that GCC is not installed correctly. Most likely you
......@@ -3139,18 +2914,11 @@ libraries.
*** HP/UX versions before 11.0
HP/UX 9 was end-of-lifed in December 1998.
HP/UX 10 was end-of-lifed in May 1999.
**** HP/UX 9: Emacs crashes with SIGBUS or SIGSEGV after you delete a frame.
We think this is due to a bug in the X libraries provided by HP. With
the alternative X libraries in /usr/contrib/mitX11R5/lib, the problem
does not happen.
*** HP/UX 10: Large file support is disabled.
See the comments in src/s/hpux10.h.
See the comments in src/s/hpux10-20.h.
*** HP/UX: Emacs is slow using X11R5.
......@@ -3161,16 +2929,7 @@ libXmu.a, libXext.a and others. HP/UX normally doesn't come with
those libraries installed. To get good performance, you need to
install them and rebuild Emacs.
*** Ultrix and Digital Unix
**** Ultrix 4.2: `make install' fails on install-doc with `Error 141'.
This happens on Ultrix 4.2 due to failure of a pipeline of tar
commands. We don't know why they fail, but the bug seems not to be in
Emacs. The workaround is to run the shell command in install-doc by
**** Digital Unix 4.0: Garbled display on non-X terminals when Emacs runs.
*** Digital Unix 4.0: Garbled display on non-X terminals when Emacs runs.
So far it appears that running `tset' triggers this problem (when TERM
is vt100, at least). If you do not run `tset', then Emacs displays
......@@ -3178,21 +2937,6 @@ properly. If someone can tell us precisely which effect of running
`tset' actually causes the problem, we may be able to implement a fix
in Emacs.
**** Ultrix: `expand-file-name' fails to work on any but the machine you dumped Emacs on.
On Ultrix, if you use any of the functions which look up information
in the passwd database before dumping Emacs (say, by using
expand-file-name in site-init.el), then those functions will not work
in the dumped Emacs on any host but the one Emacs was dumped on.
The solution? Don't use expand-file-name in site-init.el, or in
anything it loads. Yuck - some solution.
I'm not sure why this happens; if you can find out exactly what is
going on, and perhaps find a fix or a workaround, please let us know.
Perhaps the YP functions cache some information, the cache is included
in the dumped Emacs, and is then inaccurate on any other host.
*** SVr4
**** SVr4: On some variants of SVR4, Emacs does not work at all with X.
......@@ -3215,102 +2959,8 @@ configure script) that reads:
This makes Emacs use memory less efficiently, but seems to work around
the kernel bug.
*** Irix 5 and earlier
Exactly when Irix-5 end-of-lifed is obscure. But since Irix 6.0
shipped in 1994, it has been some years.
**** Irix 5.2: unexelfsgi.c can't find cmplrs/stsupport.h.
The file cmplrs/stsupport.h was included in the wrong file set in the
Irix 5.2 distribution. You can find it in the optional fileset
compiler_dev, or copy it from some other Irix 5.2 system. A kludgy
workaround is to change unexelfsgi.c to include sym.h instead of
**** Irix 5.3: "out of virtual swap space".
This message occurs when the system runs out of swap space due to too
many large programs running. The solution is either to provide more
swap space or to reduce the number of large programs being run. You
can check the current status of the swap space by executing the
command `swap -l'.
You can increase swap space by changing the file /etc/fstab. Adding a
line like this:
/usr/swap/swap.more swap swap pri=3 0 0
where /usr/swap/swap.more is a file previously created (for instance
by using /etc/mkfile), will increase the swap space by the size of
that file. Execute `swap -m' or reboot the machine to activate the
new swap area. See the manpages for `swap' and `fstab' for further
The objectserver daemon can use up lots of memory because it can be
swamped with NIS information. It collects information about all users
on the network that can log on to the host.
If you want to disable the objectserver completely, you can execute
the command `chkconfig objectserver off' and reboot. That may disable
some of the window system functionality, such as responding CDROM
You can also remove NIS support from the objectserver. The SGI `admin'
FAQ has a detailed description on how to do that; see question 35
("Why isn't the objectserver working?"). The admin FAQ can be found at
**** Irix 5.3: Emacs crashes in utmpname.
This problem is fixed in Patch 3175 for Irix 5.3.
It is also fixed in Irix versions 6.2 and up.
**** Irix 6.0: Make tries (and fails) to build a program named unexelfsgi.
A compiler bug inserts spaces into the string "unexelfsgi . o"
in src/Makefile. Edit src/Makefile, after configure is run,
find that string, and take out the spaces.
Compiler fixes in Irix 6.0.1 should eliminate this problem.
*** SCO Unix and UnixWare
**** SCO 3.2v4: Unusable default font.
The Open Desktop environment comes with default X resource settings
that tell Emacs to use a variable-width font. Emacs cannot use such
fonts, so it does not work.
This is caused by the file /usr/lib/X11/app-defaults/ScoTerm, which is
the application-specific resource file for the `scoterm' terminal
emulator program. It contains several extremely general X resources
that affect other programs besides `scoterm'. In particular, these
resources affect Emacs also:
*Font: -*-helvetica-medium-r-*--12-*-p-*
*Background: scoBackground
*Foreground: scoForeground
The best solution is to create an application-specific resource file for
Emacs, /usr/lib/X11/sco/startup/Emacs, with the following contents:
Emacs*Font: -*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1
Emacs*Background: white
Emacs*Foreground: black
(These settings mimic the Emacs defaults, but you can change them to
suit your needs.) This resource file is only read when the X server
starts up, so you should restart it by logging out of the Open Desktop
environment or by running `scologin stop; scologin start` from the shell
as root. Alternatively, you can put these settings in the
/usr/lib/X11/app-defaults/Emacs resource file and simply restart Emacs,
but then they will not affect remote invocations of Emacs that use the
Open Desktop display.
These resource files are not normally shared across a network of SCO
machines; you must create the file on each machine individually.
**** SCO 4.2.0: Regular expressions matching bugs on SCO systems.
On SCO, there are problems in regexp matching when Emacs is compiled
......@@ -3342,20 +2992,6 @@ According to Martin Sohnius, you can also retune this in the kernel:
(He recommends you not change the stack limit, though.)
These changes take effect when you reboot.
*** Linux 1.x
**** Linux 1.0-1.04: Typing C-c C-c in Shell mode kills your X server.
This happens with Linux kernel 1.0 thru 1.04, approximately. The workaround is
to define SIGNALS_VIA_CHARACTERS in config.h and recompile Emacs.
Newer Linux kernel versions don't have this problem.
**** Linux 1.3: Output from subprocess (such as man or diff) is randomly
truncated on GNU/Linux systems.
This is due to a kernel bug which seems to be fixed in Linux version
** Windows 3.1, 95, 98, and ME
*** MS-Windows NT/95: Problems running Perl under Emacs
......@@ -3629,37 +3265,6 @@ were built for an older system version,
made the problem go away.
** Sunos 4.1.1: there are errors compiling sysdep.c.
If you get errors such as
"sysdep.c", line 2017: undefined structure or union
"sysdep.c", line 2017: undefined structure or union
"sysdep.c", line 2019: nodename undefined
This can result from defining LD_LIBRARY_PATH. It is very tricky
to use that environment variable with Emacs. The Emacs configure
script links many test programs with the system libraries; you must
make sure that the libraries available to configure are the same
ones available when you build Emacs.
** SunOS 4.1.1: You get this error message from GNU ld:
/lib/libc.a(_Q_sub.o): Undefined symbol __Q_get_rp_rd referenced from text segment
The problem is in the Sun shared C library, not in GNU ld.
The solution is to install Patch-ID# 100267-03 from Sun.
** Sunos 4.1: Undefined symbols when linking using --with-x-toolkit.
If you get the undefined symbols _atowc _wcslen, _iswprint, _iswspace,
_iswcntrl, _wcscpy, and _wcsncpy, then you need to add -lXwchar after
-lXaw in the command that links temacs.
This problem seems to arise only when the international language
extensions to X11R5 are installed.
** SunOS: Emacs gets error message from linker on Sun.
If the error message says that a symbol such as `f68881_used' or
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment