Mercurial > hg > xemacs-beta
comparison PROBLEMS @ 4842:1d775c6304d1
Use with-FOO consistently instead of enable-FOO
INSTALL, PROBLEMS, configure, configure.ac: Rename all instances of enable-FOO to with-FOO. enable-FOO has long
been aliased to with-FOO and we still preserve this, but formerly
we randomly used enable-FOO but with-BAR.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Wed, 13 Jan 2010 02:28:37 -0600 |
parents | dd933a82720c |
children | 1a9c94ba117c |
comparison
equal
deleted
inserted
replaced
4841:3465c3161fea | 4842:1d775c6304d1 |
---|---|
58 and xorg-x11-xbitmaps (Fedora Core 5). | 58 and xorg-x11-xbitmaps (Fedora Core 5). |
59 | 59 |
60 *** How do I configure to get the buffer tabs/progress bars? | 60 *** How do I configure to get the buffer tabs/progress bars? |
61 | 61 |
62 These features depend on support for "native widgets". Use the | 62 These features depend on support for "native widgets". Use the |
63 --enable-widgets option to configure. Configuration of widgets is | 63 --with-widgets option to configure. Configuration of widgets is |
64 automatic for "modern" toolkits (MS Windows, GTK, and Motif), but if | 64 automatic for "modern" toolkits (MS Windows, GTK, and Motif), but if |
65 you are using Xt and the Athena widgets, you will probably want to | 65 you are using Xt and the Athena widgets, you will probably want to |
66 specify a "3d" widget set. See configure --usage, and don't forget to | 66 specify a "3d" widget set. See configure --usage, and don't forget to |
67 install the corresponding development libraries. | 67 install the corresponding development libraries. |
68 | 68 |
299 *** Motif dialog boxes lose on Irix. | 299 *** Motif dialog boxes lose on Irix. |
300 | 300 |
301 Larry Auton <lda@control.att.com> writes: | 301 Larry Auton <lda@control.att.com> writes: |
302 Beware of not specifying | 302 Beware of not specifying |
303 | 303 |
304 --enable-dialogs=athena | 304 --with-dialogs=athena |
305 | 305 |
306 if it builds with the motif dialogs [boom!] you're a dead man. | 306 if it builds with the motif dialogs [boom!] you're a dead man. |
307 | 307 |
308 | 308 |
309 ** AIX | 309 ** AIX |
322 | 322 |
323 (For the record, the same issue affects a number of other functions | 323 (For the record, the same issue affects a number of other functions |
324 defined in string.h - basically anything the compiler knows how to | 324 defined in string.h - basically anything the compiler knows how to |
325 inline.) | 325 inline.) |
326 | 326 |
327 *** On AIX 4.3, you must specify --enable-dialogs=athena with configure | 327 *** On AIX 4.3, you must specify --with-dialogs=athena with configure |
328 | 328 |
329 *** The libXt shipped with AIX 4.3 up to 4.3.2 is broken. This causes | 329 *** The libXt shipped with AIX 4.3 up to 4.3.2 is broken. This causes |
330 xemacs -nw to fail in various ways. The official APAR is this: | 330 xemacs -nw to fail in various ways. The official APAR is this: |
331 | 331 |
332 APAR NUMBER: <IX89470> RESOLVED AS: PROGRAM ERROR | 332 APAR NUMBER: <IX89470> RESOLVED AS: PROGRAM ERROR |
390 1879048176 | 390 1879048176 |
391 | 391 |
392 are caused by using GNU ld. There are several workarounds available: | 392 are caused by using GNU ld. There are several workarounds available: |
393 | 393 |
394 In XEmacs 21.2 or later, configure using the new portable dumper | 394 In XEmacs 21.2 or later, configure using the new portable dumper |
395 (--enable-pdump). | 395 (--with-pdump). |
396 | 396 |
397 Alternatively, you can link using the Sun version of ld, which is | 397 Alternatively, you can link using the Sun version of ld, which is |
398 normally held in /usr/ccs/bin. This can be done by one of: | 398 normally held in /usr/ccs/bin. This can be done by one of: |
399 | 399 |
400 - building gcc with these configure flags: | 400 - building gcc with these configure flags: |
557 sort of thing to you with little or no clue what's wrong (often you | 557 sort of thing to you with little or no clue what's wrong (often you |
558 get screwed when one routine does an malloc(sizeof(foo_struct)) and | 558 get screwed when one routine does an malloc(sizeof(foo_struct)) and |
559 passes the result to something that things foo_struct is a bit bigger, | 559 passes the result to something that things foo_struct is a bit bigger, |
560 trashing memory.... | 560 trashing memory.... |
561 | 561 |
562 Here's typical crash backtrace. With --enable-pdump, this occurs | 562 Here's typical crash backtrace. With --with-pdump, this occurs |
563 usually at startup under X windows and xemacs -nw at least starts, while | 563 usually at startup under X windows and xemacs -nw at least starts, while |
564 without --pdump a similar crash is observed during build. | 564 without --pdump a similar crash is observed during build. |
565 | 565 |
566 #0 0x0fa460b8 in kill () at regcomp.c:637 | 566 #0 0x0fa460b8 in kill () at regcomp.c:637 |
567 637 regcomp.c: No such file or directory. | 567 637 regcomp.c: No such file or directory. |
580 | 580 |
581 *** On Irix 6.5, the MIPSpro compiler gets an internal compiler error | 581 *** On Irix 6.5, the MIPSpro compiler gets an internal compiler error |
582 | 582 |
583 The MIPSpro Compiler (at least version 7.2.1) can't seem to handle the | 583 The MIPSpro Compiler (at least version 7.2.1) can't seem to handle the |
584 union type properly, and fails to compile src/glyphs.c. To avoid this | 584 union type properly, and fails to compile src/glyphs.c. To avoid this |
585 problem, always build --enable-union-type=no (but that's the default, so | 585 problem, always build --with-union-type=no (but that's the default, so |
586 you should only see this problem if you're an XEmacs maintainer). | 586 you should only see this problem if you're an XEmacs maintainer). |
587 | 587 |
588 *** Linking with -rpath on IRIX. | 588 *** Linking with -rpath on IRIX. |
589 | 589 |
590 Darrell Kindred <dkindred@cmu.edu> writes: | 590 Darrell Kindred <dkindred@cmu.edu> writes: |
709 configuration for COFF with: | 709 configuration for COFF with: |
710 | 710 |
711 /path_to_xemacs_source/configure --with-gcc=no \ | 711 /path_to_xemacs_source/configure --with-gcc=no \ |
712 --with-site-includes=/usr/local/include \ | 712 --with-site-includes=/usr/local/include \ |
713 --with-site-libraries=/usr/local/lib \ | 713 --with-site-libraries=/usr/local/lib \ |
714 --with-xpm --with-xface --enable-sound=nas | 714 --with-xpm --with-xface --with-sound=nas |
715 | 715 |
716 This version now supports ELF builds. I highly recommend this to | 716 This version now supports ELF builds. I highly recommend this to |
717 reduce the in-core footprint of XEmacs. This is now how I compile | 717 reduce the in-core footprint of XEmacs. This is now how I compile |
718 all my test releases. Build it like this: | 718 all my test releases. Build it like this: |
719 | 719 |
720 /path_to_XEmacs_source/configure --with-gcc=no \ | 720 /path_to_XEmacs_source/configure --with-gcc=no \ |
721 --with-site-includes=/usr/local/include | 721 --with-site-includes=/usr/local/include |
722 --with-site-libraries=/usr/local/lib \ | 722 --with-site-libraries=/usr/local/lib \ |
723 --with-xpm --with-xface --enable-sound=nas --with-dynamic | 723 --with-xpm --with-xface --with-sound=nas --with-dynamic |
724 | 724 |
725 The compiler known as icc [ supplied with the OpenServer 5 Development | 725 The compiler known as icc [ supplied with the OpenServer 5 Development |
726 System ] generates a working binary, but it takes forever to generate | 726 System ] generates a working binary, but it takes forever to generate |
727 XEmacs. ICC also whines more about the code than /bin/cc does. I do | 727 XEmacs. ICC also whines more about the code than /bin/cc does. I do |
728 believe all its whining is legitimate, however. Note that you do | 728 believe all its whining is legitimate, however. Note that you do |
731 The way I handle the build procedure is: | 731 The way I handle the build procedure is: |
732 | 732 |
733 /path_to_XEmacs_source/configure --with-gcc=no \ | 733 /path_to_XEmacs_source/configure --with-gcc=no \ |
734 --with-site-includes=/usr/local/include \ | 734 --with-site-includes=/usr/local/include \ |
735 --with-site-libraries=/usr/local/lib \ | 735 --with-site-libraries=/usr/local/lib \ |
736 --with-xpm --with-xface --enable-sound=nas --with-dynamic \ | 736 --with-xpm --with-xface --with-sound=nas --with-dynamic \ |
737 --with-compiler="icc" | 737 --with-compiler="icc" |
738 | 738 |
739 NOTE I have the xpm, xface, and audio libraries and includes in | 739 NOTE I have the xpm, xface, and audio libraries and includes in |
740 /usr/local/lib, /usr/local/include. If you don't have these, | 740 /usr/local/lib, /usr/local/include. If you don't have these, |
741 don't include the "--with-*" arguments in any of my examples. | 741 don't include the "--with-*" arguments in any of my examples. |
1392 | 1392 |
1393 *** When I try to use the PostgreSQL functions, I get a message about | 1393 *** When I try to use the PostgreSQL functions, I get a message about |
1394 undefined symbols. | 1394 undefined symbols. |
1395 | 1395 |
1396 The only known case in which this happens is if you are using gcc, you | 1396 The only known case in which this happens is if you are using gcc, you |
1397 configured with --enable-error-checking=all and --enable-modules, and | 1397 configured with --with-error-checking=all and --with-modules, and |
1398 you compiled with no optimization. If you encounter this problem in any | 1398 you compiled with no optimization. If you encounter this problem in any |
1399 other situation, please inform xemacs-beta@xemacs.org. | 1399 other situation, please inform xemacs-beta@xemacs.org. |
1400 | 1400 |
1401 This problem stems from a gcc bug. With no optimization, functions | 1401 This problem stems from a gcc bug. With no optimization, functions |
1402 declared `extern inline' sometimes are not completely compiled away. An | 1402 declared `extern inline' sometimes are not completely compiled away. An |
1645 | 1645 |
1646 somewhere near the top. The problem is due to an improvement in GNU ld | 1646 somewhere near the top. The problem is due to an improvement in GNU ld |
1647 that sorts the ELF reloc sections in the executable, giving dramatic | 1647 that sorts the ELF reloc sections in the executable, giving dramatic |
1648 speedups in startup for large executables. It also confuses the | 1648 speedups in startup for large executables. It also confuses the |
1649 traditional unexec code in XEmacs, leading to the core dump. The | 1649 traditional unexec code in XEmacs, leading to the core dump. The |
1650 solution is to use the --enable-pdump or --with-ldflags='-z nocombreloc' | 1650 solution is to use the --with-pdump or --with-ldflags='-z nocombreloc' |
1651 options to configure. Recent 21.4 and 12.5 autodetect this in | 1651 options to configure. Recent 21.4 and 12.5 autodetect this in |
1652 configure. | 1652 configure. |
1653 | 1653 |
1654 Red Hat and SuSE (at least) distributed a prerelease version of ld | 1654 Red Hat and SuSE (at least) distributed a prerelease version of ld |
1655 (versions around 2.11.90.x.y) where autodetection is impossible. The | 1655 (versions around 2.11.90.x.y) where autodetection is impossible. The |
1656 recommended procedure is to upgrade to binutils >= 2.12 and rerun | 1656 recommended procedure is to upgrade to binutils >= 2.12 and rerun |
1657 configure. Otherwise you must apply the flags by hand. --enable-pdump | 1657 configure. Otherwise you must apply the flags by hand. --with-pdump |
1658 is recommended. | 1658 is recommended. |
1659 | 1659 |
1660 *** I want XEmacs to use the Alt key, not the XXX key, for Meta commands | 1660 *** I want XEmacs to use the Alt key, not the XXX key, for Meta commands |
1661 | 1661 |
1662 For historical reasons, XEmacs looks for a Meta key, then an Alt key. | 1662 For historical reasons, XEmacs looks for a Meta key, then an Alt key. |