comparison PROBLEMS @ 524:1f4790508db6

[xemacs-hg @ 2001-05-09 13:46:55 by ben] once and for all
author ben
date Wed, 09 May 2001 13:46:55 +0000
parents 5aa1854ad537
children 512e4a478e9d
comparison
equal deleted inserted replaced
523:cd662ad69f40 524:1f4790508db6
18 info about the Outline mode. 18 info about the Outline mode.
19 19
20 Also, Try finding the things you need using one of the search commands 20 Also, Try finding the things you need using one of the search commands
21 XEmacs provides (e.g. `C-s'). 21 XEmacs provides (e.g. `C-s').
22 22
23 A general advice: 23 General advice:
24 WATCH OUT for .emacs file! ~/.emacs is your Emacs init file. If 24 WATCH OUT for your init file! (~/.xemacs/init.el or ~/.emacs) If
25 you observe strange problems, invoke XEmacs with the `-q' option 25 you observe strange problems, invoke XEmacs with the `-vanilla'
26 and see if you can repeat the problem. 26 option and see if you can repeat the problem.
27 27
28 28
29 * Problems with building XEmacs 29 * Problems with building XEmacs
30 =============================== 30 ===============================
31 31
550 550
551 Note: Much of the above entry is probably not valid for XEmacs 21.0 551 Note: Much of the above entry is probably not valid for XEmacs 21.0
552 and later. 552 and later.
553 553
554 ** Cygwin 554 ** Cygwin
555
555 *** In general use etc/check_cygwin_setup.sh to trap environment problems. 556 *** In general use etc/check_cygwin_setup.sh to trap environment problems.
556 557
557 The script etc/check_cygwin_setup.sh will attempt to detect whether 558 The script etc/check_cygwin_setup.sh will attempt to detect whether
558 you have a suitable environment for building. This script may not work 559 you have a suitable environment for building. This script may not work
559 correctly if you are using ash instead of bash (see below). 560 correctly if you are using ash instead of bash (see below).
560 561
561 *** X11 not detected. 562 *** Syntax errors running configure scripts, make failing with exit code 127
563 in inexplicable situations, etc.
564
565 This may be because you are using the default cygwin shell. The
566 default cygwin shell (/bin/sh.exe) is ash which appears to work in
567 most circumstances but has some weird failure modes. You need to
568 replace the symlink with bash.exe.
569
570 *** Lots of compile errors, esp. on lines containing macro definitions
571 terminated by backslashes.
572
573 Your partition holding the source files is mounted binary. It needs
574 to be mounted text. (This will not screw up any binary files because
575 the Cygwin utilities specify explicitly whether they want binary or
576 text mode when working with source vs. binary files, which overrides
577 the mount type.) To fix this, you just need to run the appropriate
578 mount command once -- afterwards, the settings are remembered in the
579 registry.
580
581 *** Errors from make like /c:not found.
582
583 Make sure you set the environment variable MAKE_MODE to UNIX in your
584 .bashrc, Control Panel (Windows 2000/NT), or AUTOEXEC.BAT (Windows
585 98/95).
586
587 *** The info files will not build.
588
589 makeinfo that ships with Cygwin (all versions) doesn't work. You need to
590 obtain makeinfo from somewhere or build it yourself.
591
592 *** XEmacs hangs while attempting to rebuild the .elc files.
593
594 Check to make sure you're not configuring with rel-alloc. The relocating
595 allocator does not currently work under Cygwin due to bugs in Cygwin's
596 mmap().
597
598 *** Trying to build with X, but X11 not detected.
562 599
563 This is usually because xmkmf is not in your path or because you are 600 This is usually because xmkmf is not in your path or because you are
564 using the default cygwin shell. The default cygwin shell (/bin/sh.exe) 601 using the default cygwin shell. (See above.)
565 is ash which appears to work in most circumstances but has some weird
566 failure modes. I recommend replacing sh.exe with bash.exe, this will
567 mean configure is slower but more reliable.
568
569 *** Subprocesses do not work.
570
571 You do not have "tty" in your CYGWIN32 (for b19) or CYGWIN (for b20)
572 environment variable. This must be set in your autoexec.bat (win95) or
573 the system properties (winnt) as it must be read before the cygwin dll
574 initializes.
575
576 *** ^G does not work on hung subprocesses.
577
578 This is a known problem. It can be remedied with cygwin b20 or greater
579 by defining BROKEN_SIGIO in src/s/cygwin32.h, however this currently
580 leads to instability in XEmacs.
581
582 *** The XEmacs executable crashes at startup.
583
584 This can be caused by many things.
585
586 If you are running with X11 you need to have cygwin b19 or cygwin
587 b20.1 or greater, cygwin b20 will not work.
588
589 If you are running with cygwin b19 make sure you are using egcs 1.0.2
590 rather than vanilla gcc. XEmacs builds by default with -O3 which does
591 not work with the gcc that ships with b19. Alternatively use -O2.
592
593 *** The info files will not build.
594
595 makeinfo that ships with cygwin (all versions) is a noop. You need to
596 obtain makeinfo from somewhere or build it yourself.
597
598 *** I have no graphics.
599
600 You need to obtain the various graphics libraries. Pre-built versions
601 of these and the X libraries are located on the XEmacs website in
602 ftp://ftp.xemacs.org/pub/aux/cygwin*.
603
604 *** There are no images in the toolbar buttons.
605
606 You need version 4.71 of commctrl.dll which does not ship with windows
607 95. You can get this by installing IE 4.0 or downloading it from the
608 microsoft website.
609 602
610 603
611 * Problems with running XEmacs 604 * Problems with running XEmacs
612 ============================== 605 ==============================
613 ** General 606 ** General
1702 C Compiler Version 1.00.46 (Beta). The solution is to compile with 1695 C Compiler Version 1.00.46 (Beta). The solution is to compile with
1703 GCC. 1696 GCC.
1704 1697
1705 1698
1706 ** Windows 1699 ** Windows
1707 *** Emacs exits with "X protocol error" when run with an X server for 1700 *** In general, the Windows code is less mature than the Unix code.
1708 Windows. 1701
1709 1702 The Windows code base is still changing quickly. If you are
1710 A certain X server for Windows had a bug which caused this. 1703 experiencing problems, try the latest beta version to see if the
1711 Supposedly the newer 32-bit version of this server doesn't have the 1704 problem still exists. Also ask on xemacs-nt@xemacs.org.
1712 problem. 1705
1713 1706
1707 ** Cygwin
1708 *** Subprocesses do not work.
1709
1710 You do not have "tty" in your CYGWIN environment variable. This must
1711 be set in your autoexec.bat (win95) or the system properties (winnt)
1712 as it must be read before the cygwin DLL initializes.
1713
1714 *** ^G does not work on hung subprocesses.
1715
1716 This is a known problem. It can be remedied by defining BROKEN_SIGIO
1717 in src/s/cygwin.h, however this currently leads to instability in XEmacs.
1718 (#### is this still true?)
1719
1720 *** Errors from make like `/c:not found' when running `M-x compile'.
1721
1722 Make sure you set the environment variable MAKE_MODE to UNIX in your
1723 init file (.xemacs/init.el), Control Panel (Windows 2000/NT), or
1724 AUTOEXEC.BAT (Windows 98/95).
1725
1726 *** There are no images in the toolbar buttons.
1727
1728 You need version 4.71 of commctrl.dll which does not ship with windows
1729 95. You can get this by installing IE 4.0 or downloading it from the
1730 microsoft website.
1714 1731
1715 1732
1716 * Compatibility problems (with Emacs 18, GNU Emacs, or previous XEmacs/lemacs) 1733 * Compatibility problems (with Emacs 18, GNU Emacs, or previous XEmacs/lemacs)
1717 ============================================================================== 1734 ==============================================================================
1718 1735