Mercurial > hg > xemacs-beta
comparison PROBLEMS @ 442:abe6d1db359e r21-2-36
Import from CVS: tag r21-2-36
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 11:35:02 +0200 |
| parents | 3a7e78e1142d |
| children | 3078fd1074e8 |
comparison
equal
deleted
inserted
replaced
| 441:72a7cfa4a488 | 442:abe6d1db359e |
|---|---|
| 142 | 142 |
| 143 | 143 |
| 144 ** AIX | 144 ** AIX |
| 145 *** On AIX 4.3, you must specify --with-dialogs=athena with configure | 145 *** On AIX 4.3, you must specify --with-dialogs=athena with configure |
| 146 | 146 |
| 147 *** The libXt shipped with AIX 4.3 is broken. This causes xemacs -nw | 147 *** The libXt shipped with AIX 4.3 up to 4.3.2 is broken. This causes |
| 148 to fail in various ways. The solution is to build against stock | 148 xemacs -nw to fail in various ways. The official APAR is this: |
| 149 X11R6. | 149 |
| 150 APAR NUMBER: <IX89470> RESOLVED AS: PROGRAM ERROR | |
| 151 | |
| 152 ABSTRACT: | |
| 153 <IX89470>: LIBXT.A INCORRECT HANDLING OF EXCEPTIONS IN XTAPPADDINPUT | |
| 154 | |
| 155 The solution is to install X11.base.lib at version >=4.3.2.5. | |
| 150 | 156 |
| 151 *** On AIX, you get this compiler error message: | 157 *** On AIX, you get this compiler error message: |
| 152 | 158 |
| 153 Processing include file ./XMenuInt.h | 159 Processing include file ./XMenuInt.h |
| 154 1501-106: (S) Include file X11/Xlib.h not found. | 160 1501-106: (S) Include file X11/Xlib.h not found. |
| 392 You can get these standard X tools by anonymous FTP to | 398 You can get these standard X tools by anonymous FTP to |
| 393 hpcvaaz.cv.hp.com. Essentially all X programs need these. | 399 hpcvaaz.cv.hp.com. Essentially all X programs need these. |
| 394 | 400 |
| 395 *** On HP-UX, problems with make | 401 *** On HP-UX, problems with make |
| 396 | 402 |
| 397 Marcus Thiessel <marcus_thiessel@hp.com> | 403 Marcus Thiessel <marcus@xemacs.org> |
| 398 | 404 |
| 399 Some releases of XEmacs (e.g. 20.4) require GNU make to build | 405 Some releases of XEmacs (e.g. 20.4) require GNU make to build |
| 400 successfully. You don't need GNU make when building 21.x. | 406 successfully. You don't need GNU make when building 21.x. |
| 401 | 407 |
| 402 *** On HP-UX 9.05 XEmacs won't compile or coredump during the build. | 408 *** On HP-UX 9.05 XEmacs won't compile or coredump during the build. |
| 403 | 409 |
| 404 Marcus Thiessel <marcus_thiessel@hp.com> | 410 Marcus Thiessel <marcus@xemacs.org> |
| 405 | 411 |
| 406 This might be a sed problem. For your own safety make sure to use | 412 This might be a sed problem. For your own safety make sure to use |
| 407 GNU sed while dumping XEmacs. | 413 GNU sed while dumping XEmacs. |
| 408 | 414 |
| 409 *** On HP-UX 11.0 XEmacs causes excessive X11 errors when running. | 415 *** On HP-UX 11.0 XEmacs causes excessive X11 errors when running. |
| 410 | 416 (also appears on AIX as reported in comp.emacs.xemacs) |
| 411 Marcus Thiessel <marcus_thiessel@hp.com> | 417 |
| 418 Marcus Thiessel <marcus@xemacs.org> | |
| 412 | 419 |
| 413 Unfortunately, XEmacs releases prior to 21.0 don't work with | 420 Unfortunately, XEmacs releases prior to 21.0 don't work with |
| 414 Motif2.1. It will compile but you will get excessive X11 errors like | 421 Motif2.1. It will compile but you will get excessive X11 errors like |
| 415 | 422 |
| 416 xemacs: X Error of failed request: BadGC (invalid GC parameter) | 423 xemacs: X Error of failed request: BadGC (invalid GC parameter) |
| 421 | 428 |
| 422 --x-libraries="/usr/lib/Motif1.2_R6 -L/usr/lib/X11R6" | 429 --x-libraries="/usr/lib/Motif1.2_R6 -L/usr/lib/X11R6" |
| 423 | 430 |
| 424 Make sure /usr/lib/Motif1.2_R6/libXm.sl is a link to | 431 Make sure /usr/lib/Motif1.2_R6/libXm.sl is a link to |
| 425 /usr/lib/Motif1.2_R6/libXm.3. | 432 /usr/lib/Motif1.2_R6/libXm.3. |
| 433 | |
| 434 *** On HP-UX 11.0: Object "" does not have windowed ancestor | |
| 435 | |
| 436 Marcus Thiessel <marcus@xemacs.org> | |
| 437 | |
| 438 XEmacs dies without core file and reports: | |
| 439 | |
| 440 Error: Object "" does not have windowed ancestor. | |
| 441 | |
| 442 This is a bug. Please apply the patch PHSS_19964 (check if | |
| 443 superseded). The other alternative is to link with Motif1.2_R6 (see | |
| 444 previous item). | |
| 445 | |
| 426 | 446 |
| 427 ** SCO OpenServer | 447 ** SCO OpenServer |
| 428 *** Native cc on SCO OpenServer 5 is now OK. Icc may still throw you | 448 *** Native cc on SCO OpenServer 5 is now OK. Icc may still throw you |
| 429 a curve. Here is what Robert Lipe <robertl@arnet.com> says: | 449 a curve. Here is what Robert Lipe <robertl@arnet.com> says: |
| 430 | 450 |
| 501 | 521 |
| 502 *** X11 not detected. | 522 *** X11 not detected. |
| 503 | 523 |
| 504 This is usually because xmkmf is not in your path or because you are | 524 This is usually because xmkmf is not in your path or because you are |
| 505 using the default cygwin shell. The default cygwin shell (/bin/sh.exe) | 525 using the default cygwin shell. The default cygwin shell (/bin/sh.exe) |
| 506 is ash which appears to work in most circumstances but has some wierd | 526 is ash which appears to work in most circumstances but has some weird |
| 507 failure modes. I recommend replacing sh.exe with bash.exe, this will | 527 failure modes. I recommend replacing sh.exe with bash.exe, this will |
| 508 mean configure is slower but more reliable. | 528 mean configure is slower but more reliable. |
| 509 | 529 |
| 510 *** Subprocesses do not work. | 530 *** Subprocesses do not work. |
| 511 | 531 |
| 1023 if ( ! ${?TERMCAP} ) setenv TERMCAP ~/my-termcap-file | 1043 if ( ! ${?TERMCAP} ) setenv TERMCAP ~/my-termcap-file |
| 1024 | 1044 |
| 1025 Or you could set TERMCAP only when you set TERM--which should not | 1045 Or you could set TERMCAP only when you set TERM--which should not |
| 1026 happen in a non-login shell. | 1046 happen in a non-login shell. |
| 1027 | 1047 |
| 1028 *** The popup menu appears at the buttom/right of my screen. | 1048 *** The popup menu appears at the bottom/right of my screen. |
| 1029 | 1049 |
| 1030 You probably have something like the following in your ~/.Xdefaults | 1050 You probably have something like the following in your ~/.Xdefaults |
| 1031 | 1051 |
| 1032 Emacs.geometry: 81x56--9--1 | 1052 Emacs.geometry: 81x56--9--1 |
| 1033 | 1053 |
| 1405 event (mouse, keyboard, expose...) results in a "poll: Interrupted | 1425 event (mouse, keyboard, expose...) results in a "poll: Interrupted |
| 1406 system call" message in the window where XEmacs was | 1426 system call" message in the window where XEmacs was |
| 1407 launched. Forcing a static link of libc.a alone by adding | 1427 launched. Forcing a static link of libc.a alone by adding |
| 1408 /usr/lib/libc.a at the end of the link line solves this. Note that | 1428 /usr/lib/libc.a at the end of the link line solves this. Note that |
| 1409 my 9.07 build of 19.14b17 and my (old) build of 19.13 both exhibit | 1429 my 9.07 build of 19.14b17 and my (old) build of 19.13 both exhibit |
| 1410 the same behaviour. I've tried various hpux patches to no avail. If | 1430 the same behavior. I've tried various hpux patches to no avail. If |
| 1411 this problem cannot be solved before the release date, binary kits | 1431 this problem cannot be solved before the release date, binary kits |
| 1412 for HP *must* be linked statically against libc, otherwise this | 1432 for HP *must* be linked statically against libc, otherwise this |
| 1413 problem will show up. (This is directed at whoever will volunteer | 1433 problem will show up. (This is directed at whoever will volunteer |
| 1414 for this kit, as I won't be available to do it, unless 19.14 gets | 1434 for this kit, as I won't be available to do it, unless 19.14 gets |
| 1415 delayed until mid-june ;-). I think this problem will be an FAQ soon | 1435 delayed until mid-june ;-). I think this problem will be an FAQ soon |
| 1435 keysym Mode_switch = NoSymbol | 1455 keysym Mode_switch = NoSymbol |
| 1436 add mod1 = Meta_L | 1456 add mod1 = Meta_L |
| 1437 keysym Meta_R = Mode_switch | 1457 keysym Meta_R = Mode_switch |
| 1438 add mod2 = Mode_switch | 1458 add mod2 = Mode_switch |
| 1439 EOF | 1459 EOF |
| 1460 | |
| 1461 | |
| 1462 *** XEmacs dumps core at startup when native audio is used. Native | |
| 1463 audio does not work with recent versions of HP-UX. | |
| 1464 | |
| 1465 Under HP-UX 10.20 and later (e.g., HP-UX 11.XX), with native audio | |
| 1466 enabled, the dumped XEmacs binary ("xemacs") core dumps at startup if | |
| 1467 recent versions of the libAlib.sl audio shared library is used. Note | |
| 1468 that "temacs" will run, but "xemacs" will dump core. This, of course, | |
| 1469 causes the XEmacs build to fail. If GNU malloc is enabled, a stack | |
| 1470 trace will show XEmacs to have crashed in the "first" call to malloc(). | |
| 1471 | |
| 1472 This bug currently exists in all versions of XEmacs, when the undump | |
| 1473 mechanism is used. It is not known if using the experimental portable | |
| 1474 dumper will allow native audio to work. | |
| 1475 | |
| 1476 **** Cause: | |
| 1477 | |
| 1478 Recent versions of the HP-UX 10.20 (and later) audio shared library (in | |
| 1479 /opt/audio/lib), pulls in the libdce shared library, which pulls in a | |
| 1480 thread (libcma) library. This prevents the HP-UX undump() routine (in | |
| 1481 unexhp9k800.c) from properly working. What's happening is that some | |
| 1482 initialization routines are being called in the libcma library, *BEFORE* | |
| 1483 main() is called, and these initialization routines are calling | |
| 1484 malloc(). Unfortunately, in order for the undumper to work, XEmacs must | |
| 1485 adjust (move upwards) the sbrk() value *BEFORE* the first call to | |
| 1486 malloc(); if malloc() is called before XEmacs has properly adjusted sbrk | |
| 1487 (which is what is happening), dumped memory that is being used by | |
| 1488 XEmacs, is improperly re-allocated for use by malloc() and the dumped | |
| 1489 memory is corrupted. This causes XEmacs to die an horrible death. | |
| 1490 | |
| 1491 It is believed that versions of the audio library past December 1998 | |
| 1492 will trigger this problem. Under HP-UX 10.20, you probably have to | |
| 1493 install audio library patches to encounter this. It's probable that | |
| 1494 recent "fresh, out-of-the-box" HP-UX 11.XX workstations also have this | |
| 1495 problem. For HP-UX 10.20, it's believed that audio patch PHSS_17121 (or | |
| 1496 a superceeding one, like PHSS_17554, PHSS_17971, PHSS_18777, PHSS_21481, | |
| 1497 or PHSS_21662, etc.) will trigger this. | |
| 1498 | |
| 1499 To check if your audio library will cause problems for XEmacs, run | |
| 1500 "chatr /opt/audio/lib/libAlib.sl". If "libdce" appears in the displayed | |
| 1501 shared library list, XEmacs will probably encounter problems if audio is | |
| 1502 enabled. | |
| 1503 | |
| 1504 **** Workaround: | |
| 1505 | |
| 1506 Don't enable native audio. Re-run configure without native audio | |
| 1507 support. | |
| 1508 | |
| 1509 If your site supports it, try using NAS (Network Audio Support). | |
| 1510 | |
| 1511 Try using the experimental portable dumper. It may work, or it may | |
| 1512 not. | |
| 1513 | |
| 1440 | 1514 |
| 1441 *** `Pid xxx killed due to text modification or page I/O error' | 1515 *** `Pid xxx killed due to text modification or page I/O error' |
| 1442 | 1516 |
| 1443 On HP-UX, you can get that error when the Emacs executable is on an NFS | 1517 On HP-UX, you can get that error when the Emacs executable is on an NFS |
| 1444 file system. HP-UX responds this way if it tries to swap in a page and | 1518 file system. HP-UX responds this way if it tries to swap in a page and |
