From xemacs-m  Mon May 19 14:06:23 1997
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by xemacs.org (8.8.5/8.8.5) with SMTP id OAA26456
	for <xemacs-beta@xemacs.org>; Mon, 19 May 1997 14:06:22 -0500 (CDT)
Received: from Canada.Sun.COM ([129.155.5.101]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id MAA20134 for <xemacs-beta@xemacs.org>; Mon, 19 May 1997 12:20:39 -0700
Received: from scooter.canada.sun.com by Canada.Sun.COM (SMI-8.6/SMI-5.3)
	id PAA20278; Mon, 19 May 1997 15:05:46 -0400
Received: from verve.canada.sun.com by scooter.canada.sun.com (SMI-8.6/SMI-SVR4)
	id PAA15658; Mon, 19 May 1997 15:05:49 -0400
Received: by verve.canada.sun.com (SMI-8.6/SMI-SVR4)
	id PAA19737; Mon, 19 May 1997 15:05:52 -0400
Date: Mon, 19 May 1997 15:05:52 -0400
Message-Id: <199705191905.PAA19737@verve.canada.sun.com>
From: Georg Nikodym <georgn@Canada.Sun.COM>
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: b1 success
X-Mailer: VM 6.31 under 20.2 XEmacs Lucid
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.106)
Content-Type: multipart/mixed;
 boundary="Multipart_Mon_May_19_15:05:51_1997-1"
Content-Transfer-Encoding: 7bit

--Multipart_Mon_May_19_15:05:51_1997-1
Content-Type: text/plain; charset=US-ASCII


The --with-cde option to configure adds a -lDtSvc to everything
including the configuration test programs that it attempts to build
and run.

However, on Solaris, this library lives in /usr/dt/lib and as such the 
wee test programs fall down.

The correct fix is to not require the test programs to link with crap
that can't possibly be involved in figuring out the sizeof(long) but
this involves way too much dorking with configure which is a journey
into the heart of darkness (welcome back, Martin ;-)

Instead, I set LDFLAGS in my environment to:

	"-R/usr/openwin/lib -R/usr/dt/lib"

ran configure and SIZEOF_LONG is four again (instead of zero, which
really messes up the lisp union and stops pretty much everything from
compiling).

The troubling thing is that this is redundant in the build of XEmacs
since elsewhere a -R/usr/dt/lib:/usr/openwin/lib:/opt/SUNWdt/lib which 
I know to be artificial since I have no /opt/SUNWdt...

<rant>
In my world, here is the compilation command for gnudoit:

cc -g -xarch=v8plusa -xchip=ultra -DHAVE_CONFIG_H  -I/ot/misc_includes    -I/usr/dt/include  -I/usr/openwin/include -Demacs -I../src -I/import/verve/georgn/xemacs/xemacs-20.3-b1/lib-src -I/import/verve/georgn/xemacs/xemacs-20.3-b1/lib-src/../src  -o gnudoit /import/verve/georgn/xemacs/xemacs-20.3-b1/lib-src/gnudoit.c gnuslib.o -L/usr/ccs/lib -L/ot/misc_libs_static -xildoff -R/usr/dt/lib:/usr/openwin/lib:/opt/SUNWdt/lib   -L/usr/dt/lib -L/usr/openwin/lib  -R/usr/openwin/lib -R/usr/dt/lib -lSM -lICE -lXm -ltiff -lpng -lz -ljpeg -lcompface -lXpm -lDtSvc -ltt  -lXau -lXmu -lXext -lXt -lX11  -lkvm -lkstat -lm  /usr/demo/SOUND/lib/libaudio.a -ltermlib  -lsocket -lnsl -lelf -lgen -ldl 

gnudoit does not need cde, tooltalk, motif, tiff, png, z, jpef,
compface, xpm, kvm, kstat, math, sound, elf, or dynamic linking
support!

Is it possible for us to acknowledge that we're building more than one 
binary product and that the same compile options are not necessarily
appropriate for all of them?
</rant>



--Multipart_Mon_May_19_15:05:51_1997-1
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="Installation"
Content-Transfer-Encoding: 7bit

uname -a: SunOS verve 5.6 on297-gate:05/15/97 sun4u sparc SUNW,Ultra-2

../configure  '--extra-verbose' '--compiler=cc' '--with-gcc=no' '--with-gnu-make' '--cflags=-g -xarch=v8plusa -xchip=ultra' '--site-includes=/usr/openwin/include /usr/dt/include /ot/misc_includes' '--site-libraries=/usr/openwin/lib /usr/dt/lib /ot/misc_libs_static' '--site-runtime-libraries=/usr/openwin/lib /usr/dt/lib' '--dynamic=yes' '--srcdir=/import/verve/georgn/xemacs/xemacs-20.3-b1' '--const-is-losing=no' '--prefix=/ot/XEmacs_common' '--exec-prefix=/ot/XEmacs_NEW/20.3' '--with-x' '--x-includes=/usr/openwin/include' '--x-libraries=/usr/openwin/lib' '--with-toolbars'


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

  Where should the build process find the source code?    /import/verve/georgn/xemacs/xemacs-20.3-b1
  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? default
  What window system should XEmacs use?                   x11
  Where do we find X Windows header files?                /usr/dt/include /usr/openwin/include
  Where do we find X Windows libraries?                   /usr/dt/lib /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
  Runtime library search path:                            /usr/openwin/lib:/usr/dt/lib
  Compiling in support for XAUTH.
  Compiling in support for GIF image conversion.
  Compiling in support for XPM images.
  Compiling in support for X-Face message headers.
  Compiling in support for JPEG image conversion.
  Compiling in support for PNG image conversion.
  Compiling in native sound support.
  Compiling in support for GNU DBM.
  Compiling in support for CDE.
  Compiling in support for ToolTalk.
  Using the Lucid menubar.
  Using the Lucid scrollbar.
  Using the Motif dialog boxes.

uname -a: SunOS verve 5.6 on297-gate:05/15/97 sun4u sparc SUNW,Ultra-2

../configure  '--extra-verbose' '--compiler=cc' '--with-gcc=no' '--with-gnu-make' '--cflags=-g -xarch=v8plusa -xchip=ultra' '--site-includes=/usr/openwin/include /usr/dt/include /ot/misc_includes' '--site-libraries=/usr/openwin/lib /usr/dt/lib /ot/misc_libs_static' '--site-runtime-libraries=/usr/openwin/lib /usr/dt/lib' '--dynamic=yes' '--srcdir=/import/verve/georgn/xemacs/xemacs-20.3-b1' '--const-is-losing=no' '--prefix=/ot/XEmacs_common' '--exec-prefix=/ot/XEmacs_NEW/20.3' '--with-x' '--x-includes=/usr/openwin/include' '--x-libraries=/usr/openwin/lib' '--with-toolbars' '--with-menubars=lucid' '--with-scrollbars=motif' '--with-dialogs=motif' '--with-cde' '--with-gif' '--with-xpm' '--with-xface' '--with-jpeg' '--with-png' '--with-tiff' '--with-tooltalk' '--with-workshop' '--with-database=dbm' '--with-sound=native' '--with-mule=no' '--debug=no' '--error-checking=none' '--memory-usage-stats' '--use-union-type' '--rel-alloc'


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

  Where should the build process find the source code?    /import/verve/georgn/xemacs/xemacs-20.3-b1
  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/dt/include /usr/openwin/include
  Where do we find X Windows libraries?                   /usr/dt/lib /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
  Runtime library search path:                            /usr/openwin/lib:/usr/dt/lib
  Compiling in support for XAUTH.
  Compiling in support for GIF image conversion.
  Compiling in support for XPM images.
  Compiling in support for X-Face message headers.
  Compiling in support for JPEG image conversion.
  Compiling in support for PNG image conversion.
  Compiling in support for TIFF image conversion (not implemented).
  Compiling in native sound support.
  Compiling in support for DBM.
  Compiling in support for CDE.
  Compiling in support for ToolTalk.
  Compiling in support for Sun WorkShop.
  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.

uname -a: SunOS verve 5.6 on297-gate:05/15/97 sun4u sparc SUNW,Ultra-2

../configure  '--extra-verbose' '--compiler=cc' '--with-gcc=no' '--with-gnu-make' '--cflags=-g -xarch=v8plusa -xchip=ultra' '--site-includes=/usr/openwin/include /usr/dt/include /ot/misc_includes' '--site-libraries=/usr/openwin/lib /usr/dt/lib /ot/misc_libs_static' '--site-runtime-libraries=/usr/openwin/lib /usr/dt/lib' '--dynamic=yes' '--srcdir=/import/verve/georgn/xemacs/xemacs-20.3-b1' '--const-is-losing=no' '--prefix=/ot/XEmacs_common' '--exec-prefix=/ot/XEmacs_NEW/20.3' '--with-x' '--x-includes=/usr/openwin/include' '--x-libraries=/usr/openwin/lib' '--with-toolbars' '--with-menubars=lucid' '--with-scrollbars=motif' '--with-dialogs=motif' '--with-cde' '--with-gif' '--with-xpm' '--with-xface' '--with-jpeg' '--with-png' '--with-tiff' '--with-tooltalk' '--with-workshop' '--with-database=dbm' '--with-sound=native' '--with-mule=no' '--debug=no' '--error-checking=none' '--memory-usage-stats' '--use-union-type' '--rel-alloc'


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

  Where should the build process find the source code?    /import/verve/georgn/xemacs/xemacs-20.3-b1
  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/dt/include /usr/openwin/include
  Where do we find X Windows libraries?                   /usr/dt/lib /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
  Runtime library search path:                            /usr/openwin/lib:/usr/dt/lib
  Compiling in support for XAUTH.
  Compiling in support for GIF image conversion.
  Compiling in support for XPM images.
  Compiling in support for X-Face message headers.
  Compiling in support for JPEG image conversion.
  Compiling in support for PNG image conversion.
  Compiling in support for TIFF image conversion (not implemented).
  Compiling in native sound support.
  Compiling in support for DBM.
  Compiling in support for CDE.
  Compiling in support for ToolTalk.
  Compiling in support for Sun WorkShop.
  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.

uname -a: SunOS verve 5.6 on297-gate:05/15/97 sun4u sparc SUNW,Ultra-2

../configure  '--extra-verbose' '--compiler=cc' '--with-gcc=no' '--with-gnu-make' '--cflags=-g -xarch=v8plusa -xchip=ultra' '--site-includes=/usr/openwin/include /usr/dt/include /ot/misc_includes' '--site-libraries=/usr/openwin/lib /usr/dt/lib /ot/misc_libs_static' '--dynamic=yes' '--srcdir=/import/verve/georgn/xemacs/xemacs-20.3-b1' '--const-is-losing=no' '--prefix=/ot/XEmacs_common' '--exec-prefix=/ot/XEmacs_NEW/20.3' '--with-x' '--x-includes=/usr/openwin/include' '--x-libraries=/usr/openwin/lib' '--with-toolbars' '--with-menubars=lucid' '--with-scrollbars=motif' '--with-dialogs=motif' '--with-cde' '--with-gif' '--with-xpm' '--with-xface' '--with-jpeg' '--with-png' '--with-tiff' '--with-tooltalk' '--with-workshop' '--with-database=dbm' '--with-sound=native' '--with-mule=no' '--debug=no' '--error-checking=none' '--memory-usage-stats' '--use-union-type' '--rel-alloc'


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

  Where should the build process find the source code?    /import/verve/georgn/xemacs/xemacs-20.3-b1
  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/dt/include /usr/openwin/include
  Where do we find X Windows libraries?                   /usr/dt/lib /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
  Runtime library search path:                            /usr/openwin/lib:/usr/dt/lib:/usr/dt/lib:/usr/openwin/lib:/opt/SUNWdt/lib
  Compiling in support for XAUTH.
  Compiling in support for GIF image conversion.
  Compiling in support for XPM images.
  Compiling in support for X-Face message headers.
  Compiling in support for JPEG image conversion.
  Compiling in support for PNG image conversion.
  Compiling in support for TIFF image conversion (not implemented).
  Compiling in native sound support.
  Compiling in support for DBM.
  Compiling in support for CDE.
  Compiling in support for ToolTalk.
  Compiling in support for Sun WorkShop.
  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.

uname -a: SunOS verve 5.6 on297-gate:05/15/97 sun4u sparc SUNW,Ultra-2

../configure  '--extra-verbose' '--compiler=cc' '--with-gcc=no' '--with-gnu-make' '--cflags=-g -xarch=v8plusa -xchip=ultra' '--site-includes=/ot/misc_includes' '--site-libraries=/ot/misc_libs_static' '--dynamic=yes' '--srcdir=/import/verve/georgn/xemacs/xemacs-20.3-b1' '--const-is-losing=no' '--prefix=/ot/XEmacs_common' '--exec-prefix=/ot/XEmacs_NEW/20.3' '--with-x' '--with-toolbars' '--with-menubars=lucid' '--with-scrollbars=motif' '--with-dialogs=motif' '--with-cde' '--with-gif' '--with-xpm' '--with-xface' '--with-jpeg' '--with-png' '--with-tiff' '--with-tooltalk' '--with-workshop' '--with-database=dbm' '--with-sound=native' '--with-mule=no' '--debug=no' '--error-checking=none' '--memory-usage-stats' '--use-union-type' '--rel-alloc'


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

  Where should the build process find the source code?    /import/verve/georgn/xemacs/xemacs-20.3-b1
  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/dt/include /usr/openwin/include
  Where do we find X Windows libraries?                   /usr/dt/lib /usr/openwin/lib
  Additional header files:                                /ot/misc_includes
  Additional libraries:                                   /ot/misc_libs_static
  Runtime library search path:                            /usr/dt/lib:/usr/openwin/lib:/opt/SUNWdt/lib
  Compiling in support for XAUTH.
  Compiling in support for GIF image conversion.
  Compiling in support for XPM images.
  Compiling in support for X-Face message headers.
  Compiling in support for JPEG image conversion.
  Compiling in support for PNG image conversion.
  Compiling in support for TIFF image conversion (not implemented).
  Compiling in native sound support.
  Compiling in support for DBM.
  Compiling in support for CDE.
  Compiling in support for ToolTalk.
  Compiling in support for Sun WorkShop.
  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.

uname -a: SunOS verve 5.6 on297-gate:05/15/97 sun4u sparc SUNW,Ultra-2

../configure  '--extra-verbose' '--compiler=cc' '--with-gcc=no' '--with-gnu-make' '--cflags=-g -xarch=v8plusa -xchip=ultra' '--site-includes=/ot/misc_includes' '--site-libraries=/ot/misc_libs_static' '--dynamic=yes' '--srcdir=/import/verve/georgn/xemacs/xemacs-20.3-b1' '--const-is-losing=no' '--prefix=/ot/XEmacs_common' '--exec-prefix=/ot/XEmacs_NEW/20.3' '--with-x' '--with-toolbars' '--with-menubars=lucid' '--with-scrollbars=motif' '--with-dialogs=motif' '--with-cde' '--with-gif' '--with-xpm' '--with-xface' '--with-jpeg' '--with-png' '--with-tiff' '--with-tooltalk' '--with-workshop' '--with-database=dbm' '--with-sound=native' '--with-mule=no' '--debug=no' '--error-checking=none' '--memory-usage-stats' '--use-union-type' '--rel-alloc'


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

  Where should the build process find the source code?    /import/verve/georgn/xemacs/xemacs-20.3-b1
  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/dt/include /usr/openwin/include
  Where do we find X Windows libraries?                   /usr/dt/lib /usr/openwin/lib
  Additional header files:                                /ot/misc_includes
  Additional libraries:                                   /ot/misc_libs_static
  Runtime library search path:                            /usr/dt/lib:/usr/openwin/lib:/opt/SUNWdt/lib
  Compiling in support for XAUTH.
  Compiling in support for GIF image conversion.
  Compiling in support for XPM images.
  Compiling in support for X-Face message headers.
  Compiling in support for JPEG image conversion.
  Compiling in support for PNG image conversion.
  Compiling in support for TIFF image conversion (not implemented).
  Compiling in native sound support.
  Compiling in support for DBM.
  Compiling in support for CDE.
  Compiling in support for ToolTalk.
  Compiling in support for Sun WorkShop.
  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.


--Multipart_Mon_May_19_15:05:51_1997-1--

