comparison PROBLEMS @ 454:d7a9135ec789 r21-2-42

Import from CVS: tag r21-2-42
author cvs
date Mon, 13 Aug 2007 11:40:54 +0200
parents 3d3049ae1304
children 5aa1854ad537
comparison
equal deleted inserted replaced
453:270b05afd845 454:d7a9135ec789
185 (3.1.4.4), there are problems with -O3. I haven't investigated 185 (3.1.4.4), there are problems with -O3. I haven't investigated
186 further. 186 further.
187 187
188 188
189 ** SunOS/Solaris 189 ** SunOS/Solaris
190 *** Dumping error when using GNU binutils / GNU ld on a Sun.
191
192 Errors similar to the following:
193
194 Dumping under the name xemacs unexec():
195 dldump(/space/rpluim/xemacs-obj/src/xemacs): ld.so.1: ./temacs:
196 fatal: /space/rpluim/xemacs-obj/src/xemacs: unknown dynamic entry:
197 1879048176
198
199 are caused by using GNU ld. There are several workarounds available:
200
201 In XEmacs 21.2 or later, configure using the new portable dumper
202 (--pdump).
203
204 Alternatively, you can link using the Sun version of ld, which is
205 normally held in /usr/ccs/bin. This can be done by one of:
206
207 - building gcc with these configure flags:
208 configure --with-ld=/usr/ccs/bin/ld --with-as=/usr/ccs/bin/as
209
210 - adding -B/usr/ccs/bin/ to CFLAGS used to configure XEmacs
211 (Note: The trailing '/' there is significant.)
212
213 - uninstalling GNU ld.
214
215 The Solaris2 FAQ claims:
216
217 When you install gcc, don't make the mistake of installing
218 GNU binutils or GNU libc, they are not as capable as their
219 counterparts you get with Solaris 2.x.
220
190 *** Link failure when using acc on a Sun. 221 *** Link failure when using acc on a Sun.
191 222
192 To use acc, you need additional options just before the libraries, such as 223 To use acc, you need additional options just before the libraries, such as
193 224
194 /usr/lang/SC2.0.1/values-Xt.o -L/usr/lang/SC2.0.1/cg87 -L/usr/lang/SC2.0.1 225 /usr/lang/SC2.0.1/values-Xt.o -L/usr/lang/SC2.0.1/cg87 -L/usr/lang/SC2.0.1
206 237
207 *** Sed problems on Solaris 2.5 238 *** Sed problems on Solaris 2.5
208 239
209 There have been reports of Sun sed truncating very lines in the 240 There have been reports of Sun sed truncating very lines in the
210 Makefile during configuration. The workaround is to use GNU sed or, 241 Makefile during configuration. The workaround is to use GNU sed or,
211 even better, think of a better way to generate Makefile, and send us a 242 even better, think of a better way to generate Makefile, and send us a
212 patch. :-) 243 patch. :-)
213 244
214 *** On Solaris 2 I get undefined symbols from libcurses.a. 245 *** On Solaris 2 I get undefined symbols from libcurses.a.
215 246
216 You probably have /usr/ucblib/ on your LD_LIBRARY_PATH. Do the link with 247 You probably have /usr/ucblib/ on your LD_LIBRARY_PATH. Do the link with
228 This only occurs if you have LANG != C. This is a known bug with 259 This only occurs if you have LANG != C. This is a known bug with
229 /bin/sh fixed by installing Patch-ID# 101613-01. Or, you can use 260 /bin/sh fixed by installing Patch-ID# 101613-01. Or, you can use
230 bash, as a workaround. 261 bash, as a workaround.
231 262
232 *** On SunOS, you get linker errors 263 *** On SunOS, you get linker errors
233 ld: Undefined symbol 264 ld: Undefined symbol
234 _get_wmShellWidgetClass 265 _get_wmShellWidgetClass
235 _get_applicationShellWidgetClass 266 _get_applicationShellWidgetClass
236 267
237 The fix to this is to install patch 100573 for OpenWindows 3.0 268 The fix to this is to install patch 100573 for OpenWindows 3.0
238 or link libXmu statically. 269 or link libXmu statically.
252 This problem seems to arise only when the international language 283 This problem seems to arise only when the international language
253 extensions to X11R5 are installed. 284 extensions to X11R5 are installed.
254 285
255 *** On a Sun running SunOS 4.1.1, you get this error message from GNU ld: 286 *** On a Sun running SunOS 4.1.1, you get this error message from GNU ld:
256 287
257 /lib/libc.a(_Q_sub.o): Undefined symbol __Q_get_rp_rd referenced from text segment 288 /lib/libc.a(_Q_sub.o): Undefined symbol __Q_get_rp_rd referenced from text segment
258 289
259 The problem is in the Sun shared C library, not in GNU ld. 290 The problem is in the Sun shared C library, not in GNU ld.
260 291
261 The solution is to install Patch-ID# 100267-03 from Sun. 292 The solution is to install Patch-ID# 100267-03 from Sun.
262 293
263 *** SunOS 4.1.2: undefined symbol _get_wmShellWidgetClass 294 *** SunOS 4.1.2: undefined symbol _get_wmShellWidgetClass
264 295
265 Apparently the version of libXmu.so.a that Sun ships is hosed: it's missing 296 Apparently the version of libXmu.so.a that Sun ships is hosed: it's missing
266 some stuff that is in libXmu.a (the static version). Sun has a patch for 297 some stuff that is in libXmu.a (the static version). Sun has a patch for
267 this, but a workaround is to use the static version of libXmu, by changing 298 this, but a workaround is to use the static version of libXmu, by changing
268 the link command from "-lXmu" to "-Bstatic -lXmu -Bdynamic". If you have 299 the link command from "-lXmu" to "-Bstatic -lXmu -Bdynamic". If you have
269 OpenWindows 3.0, ask Sun for these patches: 300 OpenWindows 3.0, ask Sun for these patches:
270 100512-02 4.1.x OpenWindows 3.0 libXt Jumbo patch 301 100512-02 4.1.x OpenWindows 3.0 libXt Jumbo patch
271 100573-03 4.1.x OpenWindows 3.0 undefined symbols with shared libXmu 302 100573-03 4.1.x OpenWindows 3.0 undefined symbols with shared libXmu
312 There are a couple of problems [with use of -rpath with Irix ld], though: 343 There are a couple of problems [with use of -rpath with Irix ld], though:
313 344
314 1. The ld in IRIX 5.3 ignores all but the last -rpath 345 1. The ld in IRIX 5.3 ignores all but the last -rpath
315 spec, so the patched configure spits out a warning 346 spec, so the patched configure spits out a warning
316 if --x-libraries or --site-runtime-libraries are 347 if --x-libraries or --site-runtime-libraries are
317 specified under irix 5.x, and it only adds -rpath 348 specified under irix 5.x, and it only adds -rpath
318 entries for the --site-runtime-libraries. This bug was 349 entries for the --site-runtime-libraries. This bug was
319 fixed sometime between 5.3 and 6.2. 350 fixed sometime between 5.3 and 6.2.
320 351
321 2. IRIX gcc 2.7.2 doesn't accept -rpath directly, so 352 2. IRIX gcc 2.7.2 doesn't accept -rpath directly, so
322 it would have to be prefixed by -Xlinker or "-Wl,". 353 it would have to be prefixed by -Xlinker or "-Wl,".
418 Marcus Thiessel <marcus@xemacs.org> 449 Marcus Thiessel <marcus@xemacs.org>
419 450
420 This might be a sed problem. For your own safety make sure to use 451 This might be a sed problem. For your own safety make sure to use
421 GNU sed while dumping XEmacs. 452 GNU sed while dumping XEmacs.
422 453
423 *** On HP-UX 11.0 XEmacs causes excessive X11 errors when running. 454 *** On HP-UX 11.0 XEmacs causes excessive X11 errors when running.
424 (also appears on AIX as reported in comp.emacs.xemacs) 455 (also appears on AIX as reported in comp.emacs.xemacs)
425 456
426 Marcus Thiessel <marcus@xemacs.org> 457 Marcus Thiessel <marcus@xemacs.org>
427 458
428 Unfortunately, XEmacs releases prior to 21.0 don't work with 459 Unfortunately, XEmacs releases prior to 21.0 don't work with
433 and finally XEmacs gets killed. A workaround is to use the 464 and finally XEmacs gets killed. A workaround is to use the
434 Motif1.2_R6 libraries. You can the following line to your call to 465 Motif1.2_R6 libraries. You can the following line to your call to
435 configure: 466 configure:
436 467
437 --x-libraries="/usr/lib/Motif1.2_R6 -L/usr/lib/X11R6" 468 --x-libraries="/usr/lib/Motif1.2_R6 -L/usr/lib/X11R6"
438 469
439 Make sure /usr/lib/Motif1.2_R6/libXm.sl is a link to 470 Make sure /usr/lib/Motif1.2_R6/libXm.sl is a link to
440 /usr/lib/Motif1.2_R6/libXm.3. 471 /usr/lib/Motif1.2_R6/libXm.3.
441 472
442 *** On HP-UX 11.0: Object "" does not have windowed ancestor 473 *** On HP-UX 11.0: Object "" does not have windowed ancestor
443 474
454 485
455 ** SCO OpenServer 486 ** SCO OpenServer
456 *** Native cc on SCO OpenServer 5 is now OK. Icc may still throw you 487 *** Native cc on SCO OpenServer 5 is now OK. Icc may still throw you
457 a curve. Here is what Robert Lipe <robertl@arnet.com> says: 488 a curve. Here is what Robert Lipe <robertl@arnet.com> says:
458 489
459 Unlike XEmacs 19.13, building with the native cc on SCO OpenServer 5 490 Unlike XEmacs 19.13, building with the native cc on SCO OpenServer 5
460 now produces a functional binary. I will typically build this 491 now produces a functional binary. I will typically build this
461 configuration for COFF with: 492 configuration for COFF with:
462 493
463 /path_to_xemacs_source/configure --with-gcc=no \ 494 /path_to_xemacs_source/configure --with-gcc=no \
464 --site-includes=/usr/local/include --site-libraries=/usr/local/lib \ 495 --site-includes=/usr/local/include --site-libraries=/usr/local/lib \
465 --with-xpm --with-xface --with-sound=nas 496 --with-xpm --with-xface --with-sound=nas
466 497
467 This version now supports ELF builds. I highly recommend this to 498 This version now supports ELF builds. I highly recommend this to
468 reduce the in-core footprint of XEmacs. This is now how I compile 499 reduce the in-core footprint of XEmacs. This is now how I compile
469 all my test releases. Build it like this: 500 all my test releases. Build it like this:
470 501
471 /path_to_XEmacs_source/configure --with-gcc=no \ 502 /path_to_XEmacs_source/configure --with-gcc=no \
472 --site-includes=/usr/local/include --site-libraries=/usr/local/lib \ 503 --site-includes=/usr/local/include --site-libraries=/usr/local/lib \
473 --with-xpm --with-xface --with-sound=nas --dynamic 504 --with-xpm --with-xface --with-sound=nas --dynamic
474 505
475 The compiler known as icc [ supplied with the OpenServer 5 Development 506 The compiler known as icc [ supplied with the OpenServer 5 Development
476 System ] generates a working binary, but it takes forever to generate 507 System ] generates a working binary, but it takes forever to generate
477 XEmacs. ICC also whines more about the code than /bin/cc does. I do 508 XEmacs. ICC also whines more about the code than /bin/cc does. I do
478 believe all its whining is legitimate, however. Note that you do 509 believe all its whining is legitimate, however. Note that you do
479 have to 'cd src ; make LD=icc' to avoid linker errors. 510 have to 'cd src ; make LD=icc' to avoid linker errors.
480 511
482 513
483 /path_to_XEmacs_source/configure --with-gcc=no \ 514 /path_to_XEmacs_source/configure --with-gcc=no \
484 --site-includes=/usr/local/include --site-libraries=/usr/local/lib \ 515 --site-includes=/usr/local/include --site-libraries=/usr/local/lib \
485 --with-xpm --with-xface --with-sound=nas --dynamic --compiler="icc" 516 --with-xpm --with-xface --with-sound=nas --dynamic --compiler="icc"
486 517
487 NOTE I have the xpm, xface, and audio libraries and includes in 518 NOTE I have the xpm, xface, and audio libraries and includes in
488 /usr/local/lib, /usr/local/include. If you don't have these, 519 /usr/local/lib, /usr/local/include. If you don't have these,
489 don't include the "--with-*" arguments in any of my examples. 520 don't include the "--with-*" arguments in any of my examples.
490 521
491 In previous versions of XEmacs, you had to override the defaults while 522 In previous versions of XEmacs, you had to override the defaults while
492 compiling font-lock.o and extents.o when building with icc. This seems 523 compiling font-lock.o and extents.o when building with icc. This seems
493 to no longer be true, but I'm including this old information in case it 524 to no longer be true, but I'm including this old information in case it
494 resurfaces. The process I used was: 525 resurfaces. The process I used was:
495 526
496 make -k 527 make -k
497 [ procure pizza, beer, repeat ] 528 [ procure pizza, beer, repeat ]
498 cd src 529 cd src
499 make CC="icc -W0,-mP1COPT_max_tree_size=3000" font-lock.o extents.o 530 make CC="icc -W0,-mP1COPT_max_tree_size=3000" font-lock.o extents.o
500 make LD=icc 531 make LD=icc
501 532
502 If you want sound support, get the tls566 supplement from 533 If you want sound support, get the tls566 supplement from
503 ftp.sco.com:/TLS or any of its mirrors. It works just groovy 534 ftp.sco.com:/TLS or any of its mirrors. It works just groovy
504 with XEmacs. 535 with XEmacs.
505 536
506 The M-x manual-entry is known not to work. If you know Lisp and would 537 The M-x manual-entry is known not to work. If you know Lisp and would
507 like help in making it work, e-mail me at <robertl@dgii.com>. 538 like help in making it work, e-mail me at <robertl@dgii.com>.
508 (UNCHECKED for 19.15 -- it might work). 539 (UNCHECKED for 19.15 -- it might work).
509 540
510 In earlier releases, gnuserv/gnuclient/gnudoit would open a frame 541 In earlier releases, gnuserv/gnuclient/gnudoit would open a frame
511 just fine, but the client would lock up and the server would 542 just fine, but the client would lock up and the server would
512 terminate when you used C-x # to close the frame. This is now 543 terminate when you used C-x # to close the frame. This is now
513 fixed in XEmacs. 544 fixed in XEmacs.
514 545
515 In etc/ there are two files of note. emacskeys.sco and emacsstrs.sco. 546 In etc/ there are two files of note. emacskeys.sco and emacsstrs.sco.
516 The comments at the top of emacskeys.sco describe its function, and 547 The comments at the top of emacskeys.sco describe its function, and
517 the emacstrs.sco is a suitable candidate for /usr/lib/keyboard/strings 548 the emacstrs.sco is a suitable candidate for /usr/lib/keyboard/strings
548 by defining BROKEN_SIGIO in src/s/cygwin32.h, however this currently 579 by defining BROKEN_SIGIO in src/s/cygwin32.h, however this currently
549 leads to instability in XEmacs. 580 leads to instability in XEmacs.
550 581
551 *** The XEmacs executable crashes at startup. 582 *** The XEmacs executable crashes at startup.
552 583
553 This can be caused by many things. 584 This can be caused by many things.
554 585
555 If you are running with X11 you need to have cygwin b19 or cygwin 586 If you are running with X11 you need to have cygwin b19 or cygwin
556 b20.1 or greater, cygwin b20 will not work. 587 b20.1 or greater, cygwin b20 will not work.
557 588
558 If you are running with cygwin b19 make sure you are using egcs 1.0.2 589 If you are running with cygwin b19 make sure you are using egcs 1.0.2
692 723
693 *** Reading and writing files is very very slow. 724 *** Reading and writing files is very very slow.
694 725
695 Try evaluating the form (setq lock-directory nil) and see if that helps. 726 Try evaluating the form (setq lock-directory nil) and see if that helps.
696 There is a problem with file-locking on some systems (possibly related 727 There is a problem with file-locking on some systems (possibly related
697 to NFS) that I don't understand. Please send mail to the address 728 to NFS) that I don't understand. Please send mail to the address
698 xemacs@xemacs.org if you figure this one out. 729 xemacs@xemacs.org if you figure this one out.
699 730
700 *** When emacs starts up, I get lots of warnings about unknown keysyms. 731 *** When emacs starts up, I get lots of warnings about unknown keysyms.
701 732
702 If you are running the prebuilt binaries, the Motif library expects to find 733 If you are running the prebuilt binaries, the Motif library expects to find
703 certain thing in the XKeysymDB file. This file is normally in /usr/lib/X11/ 734 certain thing in the XKeysymDB file. This file is normally in /usr/lib/X11/
704 or in /usr/openwin/lib/. If you keep yours in a different place, set the 735 or in /usr/openwin/lib/. If you keep yours in a different place, set the
705 environment variable $XKEYSYMDB to point to it before starting emacs. If 736 environment variable $XKEYSYMDB to point to it before starting emacs. If
706 you still have the problem after doing that, perhaps your version of X is 737 you still have the problem after doing that, perhaps your version of X is
707 too old. There is a copy of the MIT X11R5 XKeysymDB file in the emacs `etc' 738 too old. There is a copy of the MIT X11R5 XKeysymDB file in the emacs `etc'
708 directory. Try using that one. 739 directory. Try using that one.
709 740
710 *** My X resources used to work, and now some of them are being ignored. 741 *** My X resources used to work, and now some of them are being ignored.
711 742
712 Check the resources in .../etc/Emacs.ad (which is the same as the file 743 Check the resources in .../etc/Emacs.ad (which is the same as the file
713 sample.Xdefaults). Perhaps some of the default resources built in to 744 sample.Xdefaults). Perhaps some of the default resources built in to
714 emacs are now overriding your existing resources. Copy and edit the 745 emacs are now overriding your existing resources. Copy and edit the
715 resources in Emacs.ad as necessary. 746 resources in Emacs.ad as necessary.
716 747
717 *** I have focus problems when I use `M-o' to switch to another screen 748 *** I have focus problems when I use `M-o' to switch to another screen
718 without using the mouse. 749 without using the mouse.
868 *** TTY redisplay is slow. 899 *** TTY redisplay is slow.
869 900
870 XEmacs has fairly new TTY redisplay support (beginning from 19.12), 901 XEmacs has fairly new TTY redisplay support (beginning from 19.12),
871 which doesn't include some basic TTY optimizations -- like using 902 which doesn't include some basic TTY optimizations -- like using
872 scrolling regions to move around blocks of text. This is why 903 scrolling regions to move around blocks of text. This is why
873 redisplay on the traditional terminals, or over slow lines can be very 904 redisplay on the traditional terminals, or over slow lines can be very
874 slow. 905 slow.
875 906
876 If you are interested in fixing this, please let us know at 907 If you are interested in fixing this, please let us know at
877 <xemacs@xemacs.org>. 908 <xemacs@xemacs.org>.
878 909
1004 on the flag to output ^M at the end of each line. You can fix the 1035 on the flag to output ^M at the end of each line. You can fix the
1005 problem by adding this to your .cshrc file: 1036 problem by adding this to your .cshrc file:
1006 1037
1007 if ($?EMACS) then 1038 if ($?EMACS) then
1008 if ($EMACS == "t") then 1039 if ($EMACS == "t") then
1009 unset edit 1040 unset edit
1010 stty -icrnl -onlcr -echo susp ^Z 1041 stty -icrnl -onlcr -echo susp ^Z
1011 endif 1042 endif
1012 endif 1043 endif
1013 1044
1014 *** An error message such as `X protocol error: BadMatch (invalid 1045 *** An error message such as `X protocol error: BadMatch (invalid
1331 Internationalization was not the top priority for GNU Libc 2.0. 1362 Internationalization was not the top priority for GNU Libc 2.0.
1332 As of this writing (1998-12-28) you may get crashes while running 1363 As of this writing (1998-12-28) you may get crashes while running
1333 XEmacs in a non-C locale. For example, `LC_ALL=en_US xemacs' crashes 1364 XEmacs in a non-C locale. For example, `LC_ALL=en_US xemacs' crashes
1334 while `LC_ALL=C xemacs' runs fine. This happens for example with GNU 1365 while `LC_ALL=C xemacs' runs fine. This happens for example with GNU
1335 libc 2.0.7. Installing libintl.a and libintl.h built from gettext 1366 libc 2.0.7. Installing libintl.a and libintl.h built from gettext
1336 0.10.35 and re-building XEmacs solves the crashes. Presumably soon 1367 0.10.35 and re-building XEmacs solves the crashes. Presumably soon
1337 everyone will upgrade to GNU Libc 2.1 and this problem will go away. 1368 everyone will upgrade to GNU Libc 2.1 and this problem will go away.
1338 1369
1339 *** `C-z', or `M-x suspend-emacs' hangs instead of suspending. 1370 *** `C-z', or `M-x suspend-emacs' hangs instead of suspending.
1340 1371
1341 If you build with `gpm' support on Linux, you cannot suspend XEmacs 1372 If you build with `gpm' support on Linux, you cannot suspend XEmacs
1375 127.0.0.1 localhost HOSTNAME 1406 127.0.0.1 localhost HOSTNAME
1376 1407
1377 Also make sure that the `/etc/host.conf' files contains the following 1408 Also make sure that the `/etc/host.conf' files contains the following
1378 lines: 1409 lines:
1379 1410
1380 order hosts, bind 1411 order hosts, bind
1381 multi on 1412 multi on
1382 1413
1383 Any changes, permanent and temporary, to the host name should be 1414 Any changes, permanent and temporary, to the host name should be
1384 indicated in the `/etc/hosts' file, since it acts a limited local 1415 indicated in the `/etc/hosts' file, since it acts a limited local
1385 database of addresses and names (e.g., some SLIP connections 1416 database of addresses and names (e.g., some SLIP connections
1642 is giving it back 3. 1673 is giving it back 3.
1643 1674
1644 The solution is to add a pair of quotes around `tty` to make it a 1675 The solution is to add a pair of quotes around `tty` to make it a
1645 single word: 1676 single word:
1646 1677
1647 if (`tty` == "/dev/console") 1678 if (`tty` == "/dev/console")
1648 1679
1649 should be changed to: 1680 should be changed to:
1650 1681
1651 if ("`tty`" == "/dev/console") 1682 if ("`tty`" == "/dev/console")
1652 1683
1653 Even better, move things that set up terminal sections out of .cshrc 1684 Even better, move things that set up terminal sections out of .cshrc
1654 and into .login. 1685 and into .login.
1655 1686
1656 1687
1784 1815
1785 ** The kWnn and cWnn support for Chinese and Korean needs developers 1816 ** The kWnn and cWnn support for Chinese and Korean needs developers
1786 and testers. It probably doesn't work. 1817 and testers. It probably doesn't work.
1787 1818
1788 ** There are no `native XEmacs' TUTORIALs for any Asian languages, 1819 ** There are no `native XEmacs' TUTORIALs for any Asian languages,
1789 including Japanese. FSF Emacs and XEmacs tutorials are quite similar, 1820 including Japanese. FSF Emacs and XEmacs tutorials are quite similar,
1790 so it should be sufficient to skim through the differences and apply 1821 so it should be sufficient to skim through the differences and apply
1791 them to the Japanese version. 1822 them to the Japanese version.
1792 1823
1793 ** We only have localized menus translated for Japanese, and the 1824 ** We only have localized menus translated for Japanese, and the
1794 Japanese menus are developing bitrot (the Mule menu appears in 1825 Japanese menus are developing bitrot (the Mule menu appears in