"Stephen J. Turnbull" <stephen(a)xemacs.org> writes:
 Weird.  There's code in configure intended to ensure that widgets
(in
 general) don't get referred to if there is no window system defined.
 I may have more tests for you to run if I can't replicate, but you
 should be able get a successful build (or at least past that point
:-/) by either
 1. running configure with --without-menubars --without-scrollbars
    --without-toolbars
 OR
 2. changing the defines of HAVE_MENUBARS, HAVE_SCROLLBARS,
    HAVE_TOOLBARS in src/config.h to /* #undef $symbol */ format.
 You have to do #2 every time you run configure; #1 is easier to script. 
I should note that I've built this in the past using the same
configuration, but on a Linux/USparc box instead of a Solaris/USparc
box with no problems at all.  Slightly older versions of XEmacs, eg
21.5.5 (which I'm using right now).  Exact same configure args, since
I use a configure-configuring script to do the job and just copied it.
'james
-- 
James A. Crippen <james at unlambda.com> Lambda Unlimited
61.2204N, -149.8964W                     Recursion 'R' Us
Anchorage, Alaska, USA, Earth            Y = \f.(\x.f(xx))(\x.f(xx))