Show
Ignore:
Timestamp:
03/21/07 09:51:40 (2 years ago)
Author:
miyoshi
Message:

Sync up with Emacs CVS HEAD.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/etc/PROBLEMS

    r4190 r4196  
     1Copyright (C) 1987, 1988, 1989, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 
     2  2001, 2002, 2003, 2004, 2005, 2006, 2007 
     3  Free Software Foundation, Inc. 
     4See the end of the file for license conditions. 
     5 
     6 
    17This file describes various problems that have been encountered 
    28in compiling, installing and running GNU Emacs.  Try doing Ctl-C Ctl-t 
     
    208214http://bugzilla.gnome.org/show_bug.cgi?id=85715. 
    209215 
     216** Emacs compiled with Gtk+ crashes on startup on cygwin. 
     217 
     218A typical error message is 
     219  ***MEMORY-ERROR***: emacs[5172]: GSlice: failed to allocate 504 bytes  
     220  (alignment: 512): Function not implemented 
     221 
     222Emacs supplies its own malloc, but glib (part of Gtk+) calls memalign and on 
     223cygwin that becomes the cygwin supplied memalign.  As malloc is not the 
     224cygwin malloc, the cygwin memalign always returns ENOSYS.  A fix for this 
     225problem would be welcome. 
     226 
    210227* General runtime problems 
    211228 
     
    309326IF YOU DON'T USE THE FORM OF INTERLOCKING THAT IS NORMAL ON YOUR 
    310327SYSTEM, YOU CAN LOSE MAIL! 
    311  
    312 If your system uses the lock file protocol, and fascist restrictions 
    313 prevent ordinary users from writing the lock files in /usr/spool/mail, 
    314 you may need to make `movemail' setgid to a suitable group such as 
    315 `mail'.  You can use these commands (as root): 
    316  
    317         chgrp mail movemail 
    318         chmod 2755 movemail 
    319328 
    320329If your system uses the lock file protocol, and fascist restrictions 
     
    23572366addition, the Cygwin GCC 3.4.4-2 has problems with generating debug 
    23582367info.  Cygwin users are advised not to use these versions of GCC for 
    2359 compiling Emacs.  GCC versions 4.0.3 and 4.1.1 reportedly build a 
    2360 working Cygwin binary of Emacs, so we recommend these GCC versions. 
     2368compiling Emacs.  GCC versions 4.0.3, 4.1.1, and 4.1.2 reportedly 
     2369build a working Cygwin binary of Emacs, so we recommend these GCC 
     2370versions.  Note that these three versions of GCC, 4.0.3, 4.1.1, and 
     23714.1.2, are currently the _only_ versions known to succeed in building 
     2372Emacs (as of v22.1). 
    23612373 
    23622374*** Building the native MS-Windows port with Cygwin GCC can fail. 
     
    24032415patch to assert.h should solve this: 
    24042416 
    2405 *** include/assert.h.orig       Sun Nov  7 02:41:36 1999 
    2406 --- include/assert.h    Mon Jan 29 11:49:10 2001 
    2407 *************** 
    2408 *** 41,47 **** 
    2409   /* 
    2410    * If not debugging, assert does nothing. 
    2411    */ 
    2412 ! #define assert(x)     ((void)0); 
    2413  
    2414   #else /* debugging enabled */ 
    2415  
    2416 --- 41,47 ---- 
    2417   /* 
    2418    * If not debugging, assert does nothing. 
    2419    */ 
    2420 ! #define assert(x)     ((void)0) 
    2421  
    2422   #else /* debugging enabled */ 
    2423  
     2417 *** include/assert.h.orig      Sun Nov  7 02:41:36 1999 
     2418 --- include/assert.h   Mon Jan 29 11:49:10 2001 
     2419 *************** 
     2420 *** 41,47 **** 
     2421   /* 
     2422    * If not debugging, assert does nothing. 
     2423    */ 
     2424 ! #define assert(x)    ((void)0); 
     2425 
     2426   #else /* debugging enabled */ 
     2427 
     2428 --- 41,47 ---- 
     2429   /* 
     2430    * If not debugging, assert does nothing. 
     2431    */ 
     2432 ! #define assert(x)    ((void)0) 
     2433 
     2434   #else /* debugging enabled */ 
     2435 
     2436 
     2437*** Building the MS-Windows port with Visual Studio 2005 fails. 
     2438 
     2439Microsoft no longer ships the single threaded version of the C library 
     2440with their compiler, and the multithreaded static library is missing 
     2441some functions that Microsoft have deemed non-threadsafe.  The 
     2442dynamically linked C library has all the functions, but there is a 
     2443conflict between the versions of malloc in the DLL and in Emacs, which 
     2444is not resolvable due to the way Windows does dynamic linking. 
     2445 
     2446We recommend the use of the MingW port of GCC for compiling Emacs, as 
     2447not only does it not suffer these problems, but it is also Free 
     2448software like Emacs. 
    24242449 
    24252450** Linking 
     
    36823707 
    36833708  
    3684 Copyright (C) 1987, 1988, 1989, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 
    3685    2001, 2002, 2003, 2004, 2005, 2006, 2007  Free Software Foundation, Inc. 
    3686  
    3687 Copying and redistribution of this file with or without modification 
    3688 are permitted without royalty provided this notice is preserved. 
    3689  
     3709This file is part of GNU Emacs. 
     3710 
     3711GNU Emacs is free software; you can redistribute it and/or modify 
     3712it under the terms of the GNU General Public License as published by 
     3713the Free Software Foundation; either version 2, or (at your option) 
     3714any later version. 
     3715 
     3716GNU Emacs is distributed in the hope that it will be useful, 
     3717but WITHOUT ANY WARRANTY; without even the implied warranty of 
     3718MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     3719GNU General Public License for more details. 
     3720 
     3721You should have received a copy of the GNU General Public License 
     3722along with GNU Emacs; see the file COPYING.  If not, write to the 
     3723Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 
     3724Boston, MA 02110-1301, USA. 
     3725 
     3726  
    36903727Local variables: 
    36913728mode: outline