diff options
Diffstat (limited to 'etc/PROBLEMS')
| -rw-r--r-- | etc/PROBLEMS | 105 |
1 files changed, 82 insertions, 23 deletions
diff --git a/etc/PROBLEMS b/etc/PROBLEMS index 9ce3b8e9602..6c72bacae11 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS | |||
| @@ -213,15 +213,15 @@ configuring your compiler to use the native linker instead of GNU ld. | |||
| 213 | This happens because of bugs in Gtk+. Gtk+ 2.10 seems to be OK. See bug | 213 | This happens because of bugs in Gtk+. Gtk+ 2.10 seems to be OK. See bug |
| 214 | http://bugzilla.gnome.org/show_bug.cgi?id=85715. | 214 | http://bugzilla.gnome.org/show_bug.cgi?id=85715. |
| 215 | 215 | ||
| 216 | ** Emacs compiled with Gtk+ crashes on startup on cygwin. | 216 | ** Emacs compiled with Gtk+ crashes on startup on Cygwin. |
| 217 | 217 | ||
| 218 | A typical error message is | 218 | A typical error message is |
| 219 | ***MEMORY-ERROR***: emacs[5172]: GSlice: failed to allocate 504 bytes | 219 | ***MEMORY-ERROR***: emacs[5172]: GSlice: failed to allocate 504 bytes |
| 220 | (alignment: 512): Function not implemented | 220 | (alignment: 512): Function not implemented |
| 221 | 221 | ||
| 222 | Emacs supplies its own malloc, but glib (part of Gtk+) calls memalign and on | 222 | Emacs supplies its own malloc, but glib (part of Gtk+) calls memalign and on |
| 223 | cygwin that becomes the cygwin supplied memalign. As malloc is not the | 223 | Cygwin, that becomes the Cygwin supplied memalign. As malloc is not the |
| 224 | cygwin malloc, the cygwin memalign always returns ENOSYS. A fix for this | 224 | Cygwin malloc, the Cygwin memalign always returns ENOSYS. A fix for this |
| 225 | problem would be welcome. | 225 | problem would be welcome. |
| 226 | 226 | ||
| 227 | * General runtime problems | 227 | * General runtime problems |
| @@ -1198,7 +1198,7 @@ The problems seem to depend on the version of LessTif and the Motif | |||
| 1198 | emulation for which it is set up. | 1198 | emulation for which it is set up. |
| 1199 | 1199 | ||
| 1200 | Only the Motif 1.2 emulation seems to be stable enough in LessTif. | 1200 | Only the Motif 1.2 emulation seems to be stable enough in LessTif. |
| 1201 | Lesstif 0.92-17's Motif 1.2 emulation seems to work okay on FreeBSD. | 1201 | LessTif 0.92-17's Motif 1.2 emulation seems to work okay on FreeBSD. |
| 1202 | On GNU/Linux systems, lesstif-0.92.6 configured with "./configure | 1202 | On GNU/Linux systems, lesstif-0.92.6 configured with "./configure |
| 1203 | --enable-build-12 --enable-default-12" is reported to be the most | 1203 | --enable-build-12 --enable-default-12" is reported to be the most |
| 1204 | successful. The binary GNU/Linux package | 1204 | successful. The binary GNU/Linux package |
| @@ -1295,7 +1295,7 @@ be carried out at the same time: | |||
| 1295 | improves performance dramatically, at the slight expense of correctness | 1295 | improves performance dramatically, at the slight expense of correctness |
| 1296 | of the X protocol. lbxproxy acheives the performance gain by grouping | 1296 | of the X protocol. lbxproxy acheives the performance gain by grouping |
| 1297 | several X requests in one TCP packet and sending them off together, | 1297 | several X requests in one TCP packet and sending them off together, |
| 1298 | instead of requiring a round-trip for each X request in a seperate | 1298 | instead of requiring a round-trip for each X request in a separate |
| 1299 | packet. The switches that seem to work best for emacs are: | 1299 | packet. The switches that seem to work best for emacs are: |
| 1300 | -noatomsfile -nowinattr -cheaterrors -cheatevents | 1300 | -noatomsfile -nowinattr -cheaterrors -cheatevents |
| 1301 | Note that the -nograbcmap option is known to cause problems. | 1301 | Note that the -nograbcmap option is known to cause problems. |
| @@ -1401,7 +1401,7 @@ The easy way to do this is to put | |||
| 1401 | 1401 | ||
| 1402 | in your site-init.el file. | 1402 | in your site-init.el file. |
| 1403 | 1403 | ||
| 1404 | * Runtime problems on character termunals | 1404 | * Runtime problems on character terminals |
| 1405 | 1405 | ||
| 1406 | ** Emacs spontaneously displays "I-search: " at the bottom of the screen. | 1406 | ** Emacs spontaneously displays "I-search: " at the bottom of the screen. |
| 1407 | 1407 | ||
| @@ -2102,6 +2102,18 @@ pop-up menu interaction. | |||
| 2102 | Windows 95 and Windows NT up to version 4.0 do not support help text | 2102 | Windows 95 and Windows NT up to version 4.0 do not support help text |
| 2103 | for menus. Help text is only available in later versions of Windows. | 2103 | for menus. Help text is only available in later versions of Windows. |
| 2104 | 2104 | ||
| 2105 | When "ClearType" method is selected as the "method to smooth edges of | ||
| 2106 | screen fonts" (in Display Properties, Appearance tab, under | ||
| 2107 | "Effects"), there are various problems related to display of | ||
| 2108 | characters: 2-pixel trace is left behind when moving overlays, bold | ||
| 2109 | fonts can be hard to read, small portions of some characters could | ||
| 2110 | appear chopped, etc. This happens because, under ClearType, | ||
| 2111 | characters are drawn outside their advertised bounding box. Emacs 21 | ||
| 2112 | disabled the use of ClearType, whereas Emacs 22 allows it and has some | ||
| 2113 | code to enlarge the width of the bounding box. Apparently, this | ||
| 2114 | display feature needs more changes to get it 100% right. A workaround | ||
| 2115 | is to disable ClearType. | ||
| 2116 | |||
| 2105 | There are problems with display if mouse-tracking is enabled and the | 2117 | There are problems with display if mouse-tracking is enabled and the |
| 2106 | mouse is moved off a frame, over another frame then back over the first | 2118 | mouse is moved off a frame, over another frame then back over the first |
| 2107 | frame. A workaround is to click the left mouse button inside the frame | 2119 | frame. A workaround is to click the left mouse button inside the frame |
| @@ -2113,16 +2125,32 @@ not as severely as in 21.1. | |||
| 2113 | An inactive cursor remains in an active window after the Windows | 2125 | An inactive cursor remains in an active window after the Windows |
| 2114 | Manager driven switch of the focus, until a key is pressed. | 2126 | Manager driven switch of the focus, until a key is pressed. |
| 2115 | 2127 | ||
| 2116 | Windows input methods are not recognized by Emacs. Some | 2128 | Windows input methods are not recognized by Emacs. However, some |
| 2117 | of these input methods cause the keyboard to send characters encoded | 2129 | of these input methods cause the keyboard to send characters encoded |
| 2118 | in the appropriate coding system (e.g., ISO 8859-1 for Latin-1 | 2130 | in the appropriate coding system (e.g., ISO 8859-1 for Latin-1 |
| 2119 | characters, ISO 8859-8 for Hebrew characters, etc.). To make this | 2131 | characters, ISO 8859-8 for Hebrew characters, etc.). To make these |
| 2120 | work, set the keyboard coding system to the appropriate value after | 2132 | input methods work with Emacs, set the keyboard coding system to the |
| 2121 | you activate the Windows input method. For example, if you activate | 2133 | appropriate value after you activate the Windows input method. For |
| 2122 | the Hebrew input method, type "C-x RET k iso-8859-8 RET". (Emacs | 2134 | example, if you activate the Hebrew input method, type this: |
| 2123 | ought to recognize the Windows language-change event and set up the | 2135 | |
| 2124 | appropriate keyboard encoding automatically, but it doesn't do that | 2136 | C-x RET k hebrew-iso-8bit RET |
| 2125 | yet.) | 2137 | |
| 2138 | (Emacs ought to recognize the Windows language-change event and set up | ||
| 2139 | the appropriate keyboard encoding automatically, but it doesn't do | ||
| 2140 | that yet.) In addition, to use these Windows input methods, you | ||
| 2141 | should set your "Language for non-Unicode programs" (on Windows XP, | ||
| 2142 | this is on the Advanced tab of Regional Settings) to the language of | ||
| 2143 | the input method. | ||
| 2144 | |||
| 2145 | To bind keys that produce non-ASCII characters with modifiers, you | ||
| 2146 | must specify raw byte codes. For instance, if you want to bind | ||
| 2147 | META-a-grave to a command, you need to specify this in your `~/.emacs': | ||
| 2148 | |||
| 2149 | (global-set-key [?\M-\340] ...) | ||
| 2150 | |||
| 2151 | The above example is for the Latin-1 environment where the byte code | ||
| 2152 | of the encoded a-grave is 340 octal. For other environments, use the | ||
| 2153 | encoding appropriate to that environment. | ||
| 2126 | 2154 | ||
| 2127 | The %b specifier for format-time-string does not produce abbreviated | 2155 | The %b specifier for format-time-string does not produce abbreviated |
| 2128 | month names with consistent widths for some locales on some versions | 2156 | month names with consistent widths for some locales on some versions |
| @@ -2295,12 +2323,36 @@ the Emacs configure script, which should now find the jpeg library. | |||
| 2295 | Alternatively, modify the generated src/Makefile to link the .a file | 2323 | Alternatively, modify the generated src/Makefile to link the .a file |
| 2296 | explicitly, and edit src/config.h to define HAVE_JPEG. | 2324 | explicitly, and edit src/config.h to define HAVE_JPEG. |
| 2297 | 2325 | ||
| 2326 | *** `configure' warns ``accepted by the compiler, rejected by the preprocessor''. | ||
| 2327 | |||
| 2328 | This indicates a mismatch between the C compiler and preprocessor that | ||
| 2329 | configure is using. For example, on Solaris 10 trying to use | ||
| 2330 | CC=/opt/SUNWspro/bin/cc (the Sun Studio compiler) together with | ||
| 2331 | CPP=/usr/ccs/lib/cpp can result in errors of this form (you may also | ||
| 2332 | see the error ``"/usr/include/sys/isa_defs.h", line 500: undefined control''). | ||
| 2333 | |||
| 2334 | The solution is to tell configure to use the correct C preprocessor | ||
| 2335 | for your C compiler (CPP="/opt/SUNWspro/bin/cc -E" in the above | ||
| 2336 | example). | ||
| 2337 | |||
| 2338 | *** `configure' fails with ``"junk.c", line 660: invalid input token: 8.elc'' | ||
| 2339 | |||
| 2340 | The final stage of the Emacs configure process uses the C preprocessor | ||
| 2341 | to generate the Makefiles. Errors of this form can occur if the C | ||
| 2342 | preprocessor inserts extra whitespace into its output. The solution | ||
| 2343 | is to find the switches that stop your preprocessor from inserting extra | ||
| 2344 | whitespace, add them to CPPFLAGS, and re-run configure. For example, | ||
| 2345 | this error can occur on Solaris 10 when using the Sun Studio compiler | ||
| 2346 | ``Sun C 5.8'' with its preprocessor CPP="/opt/SUNWspro/bin/cc -E". | ||
| 2347 | The relevant switch in this case is "-Xs" (``compile assuming | ||
| 2348 | (pre-ANSI) K & R C style code''). | ||
| 2349 | |||
| 2298 | ** Compilation | 2350 | ** Compilation |
| 2299 | 2351 | ||
| 2300 | *** Building Emacs over NFS fails with ``Text file busy''. | 2352 | *** Building Emacs over NFS fails with ``Text file busy''. |
| 2301 | 2353 | ||
| 2302 | This was reported to happen when building Emacs on a GNU/Linux system | 2354 | This was reported to happen when building Emacs on a GNU/Linux system |
| 2303 | (RedHat Linux 6.2) using a build directory automounted from Solaris | 2355 | (Red Hat Linux 6.2) using a build directory automounted from Solaris |
| 2304 | (SunOS 5.6) file server, but it might not be limited to that | 2356 | (SunOS 5.6) file server, but it might not be limited to that |
| 2305 | configuration alone. Presumably, the NFS server doesn't commit the | 2357 | configuration alone. Presumably, the NFS server doesn't commit the |
| 2306 | files' data to disk quickly enough, and the Emacs executable file is | 2358 | files' data to disk quickly enough, and the Emacs executable file is |
| @@ -2387,17 +2439,17 @@ files are installed. Then use: | |||
| 2387 | 2439 | ||
| 2388 | (using the location of the 32-bit X libraries on your system). | 2440 | (using the location of the 32-bit X libraries on your system). |
| 2389 | 2441 | ||
| 2390 | *** Building the Cygwin port for MS-Windows can fail with some GCC version | 2442 | *** Building the Cygwin port for MS-Windows can fail with some GCC versions |
| 2391 | 2443 | ||
| 2392 | Building Emacs 22 with Cygwin builds of GCC 3.4.4-1 and 3.4.4-2 is | 2444 | Building Emacs 22 with Cygwin builds of GCC 3.4.4-1 and 3.4.4-2 is |
| 2393 | reported to either fail or cause Emacs to segfault at run time. In | 2445 | reported to either fail or cause Emacs to segfault at run time. In |
| 2394 | addition, the Cygwin GCC 3.4.4-2 has problems with generating debug | 2446 | addition, the Cygwin GCC 3.4.4-2 has problems with generating debug |
| 2395 | info. Cygwin users are advised not to use these versions of GCC for | 2447 | info. Cygwin users are advised not to use these versions of GCC for |
| 2396 | compiling Emacs. GCC versions 4.0.3, 4.1.1, and 4.1.2 reportedly | 2448 | compiling Emacs. GCC versions 4.0.3, 4.0.4, 4.1.1, and 4.1.2 |
| 2397 | build a working Cygwin binary of Emacs, so we recommend these GCC | 2449 | reportedly build a working Cygwin binary of Emacs, so we recommend |
| 2398 | versions. Note that these three versions of GCC, 4.0.3, 4.1.1, and | 2450 | these GCC versions. Note that these versions of GCC, 4.0.3, 4.0.4, |
| 2399 | 4.1.2, are currently the _only_ versions known to succeed in building | 2451 | 4.1.1, and 4.1.2, are currently the _only_ versions known to succeed |
| 2400 | Emacs (as of v22.1). | 2452 | in building Emacs (as of v22.1). |
| 2401 | 2453 | ||
| 2402 | *** Building the native MS-Windows port with Cygwin GCC can fail. | 2454 | *** Building the native MS-Windows port with Cygwin GCC can fail. |
| 2403 | 2455 | ||
| @@ -2548,7 +2600,7 @@ The fix is to install a newer version of ncurses, such as version 4.2. | |||
| 2548 | 2600 | ||
| 2549 | *** Linux: Segfault during `make bootstrap' under certain recent versions of the Linux kernel. | 2601 | *** Linux: Segfault during `make bootstrap' under certain recent versions of the Linux kernel. |
| 2550 | 2602 | ||
| 2551 | With certain recent Linux kernels (like the one of Redhat Fedora Core | 2603 | With certain recent Linux kernels (like the one of Red Hat Fedora Core |
| 2552 | 1 and newer), the new "Exec-shield" functionality is enabled by default, which | 2604 | 1 and newer), the new "Exec-shield" functionality is enabled by default, which |
| 2553 | creates a different memory layout that breaks the emacs dumper. Emacs tries | 2605 | creates a different memory layout that breaks the emacs dumper. Emacs tries |
| 2554 | to handle this at build time, but if the workaround used fails, these | 2606 | to handle this at build time, but if the workaround used fails, these |
| @@ -2718,6 +2770,13 @@ should now succeed. | |||
| 2718 | You need to install a recent version of Texinfo; that package | 2770 | You need to install a recent version of Texinfo; that package |
| 2719 | supplies the `install-info' command. | 2771 | supplies the `install-info' command. |
| 2720 | 2772 | ||
| 2773 | *** Installing to a directory with spaces in the name fails. | ||
| 2774 | |||
| 2775 | For example, if you call configure with a directory-related option | ||
| 2776 | with spaces in the value, eg --enable-locallisppath='/path/with\ spaces'. | ||
| 2777 | Using directory paths with spaces is not supported at this time: you | ||
| 2778 | must re-configure without using spaces. | ||
| 2779 | |||
| 2721 | ** First execution | 2780 | ** First execution |
| 2722 | 2781 | ||
| 2723 | *** Emacs binary is not in executable format, and cannot be run. | 2782 | *** Emacs binary is not in executable format, and cannot be run. |