From xemacs-m  Mon Jul 28 19:08:02 1997
Received: from birdland.rhein-neckar.de (root@birdland.rhein-neckar.de [193.197.88.3])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id TAA24527
	for <xemacs-beta@xemacs.org>; Mon, 28 Jul 1997 19:08:00 -0500 (CDT)
Received: from cthulhu.rhein-neckar.de (uucp@localhost) by birdland.rhein-neckar.de (8.8.5/8.8.3) with bsmtp id CAA10077 for xemacs.org!xemacs-beta; Tue, 29 Jul 1997 02:03:51 +0200 (MET DST)
Received: from arthur.rhein-neckar.de by cthulhu.rhein-neckar.de
	via rsmtp with bsmtp
	id <m0wswf0-0002tOC@cthulhu.rhein-neckar.de>
	for <xemacs-beta@xemacs.org>; Mon, 28 Jul 1997 22:44:54 +0200 (MET DST)
	(Smail-3.2 1996-Jul-4 #30 built 1997-Jun-4)
Received: by arthur.rhein-neckar.de
	via sendmail with stdio
	id <m0wswVM-0001jcC@arthur.rhein-neckar.de>
	for xemacs-beta@xemacs.org; Mon, 28 Jul 1997 22:34:56 +0200 (CEST)
	(Smail-3.2.0.95 1997-May-7 #5 built 1997-May-28)
Message-Id: <m0wswVM-0001jcC@arthur.rhein-neckar.de>
Date: Mon, 28 Jul 1997 22:34:56 +0200 (CEST)
From: Andreas Jaeger <aj@arthur.rhein-neckar.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: xemacs-beta@xemacs.org
Subject: Berlin without X on Linux, glibc: Success (after patching)
X-Mailer: VM 6.33 under 20.3 "Berlin" XEmacs  Lucid (beta15)


Out of curiosity (my monitor is broken and I can't ran X at the
moment) I compiled XEmacs 20.3 b15 on Linux 2.0.31-pre2, glibc 2.1
snapshot without X. I had to fix the src/event-stream.c (make output,
ChangeLog entry, patch and copy of Installation file are added below).

The only problem so far is gnus. I get:
Invalid image-instantiator format: xbm
Loading gnus-xmas...
Loading cl-macs...done
It looks as if the code:
(defvar gnus-xmas-modeline-glyph ...)
makes a problem (Gnus bugreport will be written afterwards).

Andreas

make[1]: Entering directory `/mnt/xemacs/build-20.3/src'
gcc -c -O3 -g  -Demacs -I. -DHAVE_CONFIG_H /mnt/xemacs/xemacs-20.3-betaXX/src/event-stream.c
/mnt/xemacs/xemacs-20.3-betaXX/src/event-stream.c: In function `syms_of_event_stream':
/mnt/xemacs/xemacs-20.3-betaXX/src/event-stream.c:4867: `SFaccelerate_menu' undeclared (first use this function)
/mnt/xemacs/xemacs-20.3-betaXX/src/event-stream.c:4867: (Each undeclared identifier is reported only once
/mnt/xemacs/xemacs-20.3-betaXX/src/event-stream.c:4867: for each function it appears in.)
make[1]: *** [event-stream.o] Error 1
make[1]: Leaving directory `/mnt/xemacs/build-20.3/src'


uname -a: Linux arthur 2.0.30 #12 Sun Jul 27 23:09:19 CEST 1997 i486 unknown

../xemacs-20.3-betaXX/configure  '--cflags=-O3 -g' '--prefix=/opt/XEmacs' '--const-is-losing=no' '--srcdir=/mnt/xemacs/xemacs-20.3-betaXX' '--with-gnu-make' '--with-database=no' '--with-png=no' '--with-gpm=no' '--with-x=no'


Configured for `i486-pc-linux'.

  Where should the build process find the source code?    /mnt/xemacs/xemacs-20.3-betaXX
  What installation prefix should install use?		  /opt/XEmacs
  What operating system and machine description files should XEmacs use?
        `s/linux.h' and `m/intel386.h'
  What compiler should XEmacs be built with?              gcc -O3 -g
  Should XEmacs use the GNU version of malloc?            yes
  Should XEmacs use the relocating allocator for buffers? yes
  What window system should XEmacs use?                   none
  Compiling in support for X-Face message headers.
  Compiling in native sound support.
  Compiling in support for ncurses.
  movemail will use "dot-locking" for locking mail spool files.
  WARNING: ---------------------------------------------------------
  WARNING: Compiling in support for runtime error checking.
  WARNING: XEmacs will run noticeably more slowly as a result.
  WARNING: Error checking is on by default for XEmacs beta releases.
  WARNING: ---------------------------------------------------------



1997-07-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* event-stream.c (syms_of_event_stream): Guard Faccelerate_menu
	with HAVE_X_WINDOW && HAVE_MENUBARS.

*** event-stream.c.~1~	Mon Jul 28 13:03:40 1997
--- event-stream.c	Mon Jul 28 21:42:04 1997
***************
*** 4864,4871 ****
    DEFSUBR (Fthis_command_keys);
    DEFSUBR (Freset_this_command_lengths);
    DEFSUBR (Fopen_dribble_file);
    DEFSUBR (Faccelerate_menu);
! 
    defsymbol (&Qpre_command_hook, "pre-command-hook");
    defsymbol (&Qpost_command_hook, "post-command-hook");
    defsymbol (&Qunread_command_events, "unread-command-events");
--- 4864,4873 ----
    DEFSUBR (Fthis_command_keys);
    DEFSUBR (Freset_this_command_lengths);
    DEFSUBR (Fopen_dribble_file);
+ #if defined(HAVE_X_WINDOWS) && defined(HAVE_MENUBARS)
    DEFSUBR (Faccelerate_menu);
! #endif /* HAVE_X_WINDOWS && HAVE_MENUBARS */
!   
    defsymbol (&Qpre_command_hook, "pre-command-hook");
    defsymbol (&Qpost_command_hook, "post-command-hook");
    defsymbol (&Qunread_command_events, "unread-command-events");

-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@alma.student.uni-kl.de
    http://www.student.uni-kl.de/~ajaeger/

