From xemacs-m  Tue Jan 14 14:14:34 1997
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
          by xemacs.org (8.8.4/8.8.4) with SMTP
	  id OAA18135 for <xemacs-beta@xemacs.org>; Tue, 14 Jan 1997 14:14:33 -0600 (CST)
Received: from Canada.Sun.COM ([129.155.5.101]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id MAA17420 for <xemacs-beta@xemacs.org>; Tue, 14 Jan 1997 12:13:56 -0800
Received: from scooter.canada.sun.com by Canada.Sun.COM (SMI-8.6/SMI-5.3)
	id PAA25182; Tue, 14 Jan 1997 15:13:49 -0500
Received: from detlev.canada.sun.com by scooter.canada.sun.com (SMI-8.6/SMI-SVR4)
	id PAA09596; Tue, 14 Jan 1997 15:13:47 -0500
Received: by detlev.canada.sun.com (SMI-8.6/SMI-SVR4)
	id PAA00447; Tue, 14 Jan 1997 15:15:04 -0500
Date: Tue, 14 Jan 1997 15:15:04 -0500
Message-Id: <199701142015.PAA00447@detlev.canada.sun.com>
From: Georg Nikodym <georgn@Canada.Sun.COM>
To: XEmacs Beta Mailing List <xemacs-beta@xemacs.org>
Subject: b90 build
Reply-To: georgn@Canada.Sun.COM
X-Face:  ,~EI@l7'&P{\d++e`EMjNTNpzsxJPg(H]?Sd_T3xIlq[(PT[.D;A_/k)qfeC@m\/1]A{vZD
 r4&Lme-/M]c'Q>>:VM|L^<ED=j@dG!ld,bQ:IhT53q'x>6wZKH3iCT6Ff1-`*z{vCiT}+%(irA6TOn
 S~pFtml1bL\=kp%0PsLcF3+Q/e${o|S/<NUFDrU@;^o(D+av1g>Ce=ztlPGb$?up%c-*l'wmjw\sw;
 D__0Z;+93I+Kx6Mxdc]+|2V03aE@D8-fMT_v[~~FC9I\*|72QVW,aQ!`hHp_.gE.W&kxla2#)\Cmo
Mime-Version: 1.0 (generated by tm-edit 7.100)
Content-Type: text/plain; charset=US-ASCII


It's broken.

I solved the tm-* script problem as follows:

*** lib-src/Makefile.in.in-DIST	Tue Jan 14 15:03:21 1997
--- lib-src/Makefile.in.in	Tue Jan 14 15:06:54 1997
***************
*** 262,271 ****
--- 262,277 ----
  	  rm -f vcdiff ; ${LN_S} ${srcdir}/vcdiff . ;	\
  	fi
  
+ $(TM_SCRIPTS): force
+ 	@if [ ! -r $@ ] ; then			\
+ 	  rm -f $@ ; ${LN_S} ${srcdir}/$@ . ;	\
+ 	fi
+ 
  force:
  #else /* ultrix */
  rcs2log:
  vcdiff:
+ $(TM_SCRIPTS):
  #endif /* ultrix */
  
  #ifdef MOVEMAIL_NEEDS_BLESSING


It seems that the build will not descend into src unless the target is
beta or all-elc...  The default target got busted.

Incidentally, if you enable union type for Lisp_Objects, then
frame-x.c will not compile:

cc -c -Demacs -DHAVE_CONFIG_H  -I. -I/import/verve/georgn/xemacs/xemacs-19.15-b90/src -I/usr/openwin/include -I/usr/dt/include -I/ot/misc_includes -I/usr/openwin/include -I/usr/openwin/include/desktop -I/usr/openwin/include/desktop -I/usr/openwin/include/desktop -I/usr/dt/include -I/import/verve/georgn/xemacs/xemacs-19.15-b90/src/../lwlib   -g -xarch=v8plusa -xchip=ultra /import/verve/georgn/xemacs/xemacs-19.15-b90/src/frame-x.c
"/import/verve/georgn/xemacs/xemacs-19.15-b90/src/xmprimitivep.h", line 30: warning: undefining __STDC__
"/import/verve/georgn/xemacs/xemacs-19.15-b90/src/frame-x.c", line 977: assignment type mismatch:
	pointer to char "=" union Lisp_Object {struct {..} s, struct {..} gu, int i, pointer to struct __nosuchstruct__ {..} v, pointer to struct __nosu...
cc: acomp failed for /import/verve/georgn/xemacs/xemacs-19.15-b90/src/frame-x.c
gmake[1]: *** [frame-x.o] Error 2

Here's a patch:

*** src/frame-x.c-DIST	Tue Jan 14 14:44:30 1997
--- src/frame-x.c	Tue Jan 14 14:45:05 1997
***************
*** 941,948 ****
  x_cde_transfer_callback (Widget widget, XtPointer clientData,
  			 XtPointer callData)
  {
!   char *filePath, *buf, *data;
    int ii;
    Lisp_Object path = Qnil;
    Lisp_Object frame = Qnil;
    struct gcpro gcpro1, gcpro2;
--- 941,949 ----
  x_cde_transfer_callback (Widget widget, XtPointer clientData,
  			 XtPointer callData)
  {
!   char *filePath, *buf;
    int ii;
+   Lisp_Object data = Qnil;
    Lisp_Object path = Qnil;
    Lisp_Object frame = Qnil;
    struct gcpro gcpro1, gcpro2;

Anyway, I now have a xemacs binary, yay!

And since I haven't sent my full config in a while:

Configured for `sparc-sun-solaris2.6'.

  Where should the build process find the source code?    /import/verve/georgn/xemacs/xemacs-19.15-b90
  What installation prefix should install use?		  /ot/XEmacs_common
  What operating system and machine description files should XEmacs use?
        `s/sol2-6.h' and `m/sparc.h'
  What compiler should XEmacs be built with?              cc -g -xarch=v8plusa -xchip=ultra
  Should XEmacs use the GNU version of malloc?            yes
  Should XEmacs use the relocating allocator for buffers? yes
  What window system should XEmacs use?                   x11
  Where do we find X Windows header files?                /usr/openwin/include
  Where do we find X Windows libraries?                   /usr/openwin/lib
  Additional header files:                                /usr/openwin/include /usr/dt/include /ot/misc_includes
  Additional libraries:                                   /usr/openwin/lib /usr/dt/lib /ot/misc_libs_static /usr/openwin/lib /usr/dt/lib
  Compiling in support for XAUTH.
  Compiling in support for XPM.
  Compiling in support for X-Face headers.
  Compiling in support for GIF image conversion.
  Compiling in support for JPEG image conversion.
  Compiling in support for PNG image conversion.
  Compiling in native sound support.
  Compiling in support for DBM.
  Compiling in support for ToolTalk.
  Compiling in support for CDE.
  Compiling in support for SparcWorks.
  Using the Lucid menubar.
  Using the Motif scrollbar.
  Using the Motif dialog boxes.
  Using the union type for Lisp_Objects.
  Compiling in code for checking XEmacs memory usage.

