From xemacs-m  Sun May 18 18:52:49 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 SAA14477
	for <xemacs-beta@xemacs.org>; Sun, 18 May 1997 18:52:48 -0500 (CDT)
Received: from Corp.Sun.COM ([129.145.35.78]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id RAA19262 for <xemacs-beta@xemacs.org>; Sun, 18 May 1997 17:06:55 -0700
Received: from legba.Corp.Sun.COM by Corp.Sun.COM (SMI-8.6/SMI-5.3)
	id QAA00919; Sun, 18 May 1997 16:52:59 -0700
Received: by legba.Corp.Sun.COM (SMI-8.6/SMI-SVR4)
	id QAA15307; Sun, 18 May 1997 16:52:58 -0700
To: xemacs-beta@xemacs.org
Subject: sparc linux configure failure
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Gary.Foster@Corp.Sun.COM (Gary D. Foster)
Date: 18 May 1997 16:52:58 -0700
Message-ID: <bcioha8z6at.fsf@corp.Sun.COM>
Lines: 37
X-Mailer: Gnus v5.4.52/XEmacs 20.2

Ok, this seems to be the line that it's failing on in the configure
tests:

First off, I'm getting the following failure:

 configure:3865: checking for IceConnectionNumber in -lICE
 configure:3881: gcc -o conftest     -DFUNCPROTO=11 -DNARROWPROTO-D_BSD_SOURCE    -I/usr/X11R6.1/include       conftest.c -lICE -lm       -lgcc -lc -lgcc /usr/lib/crtn.o  1>&5
ld: cannot open -lICE: No such file or directory

This is fixed by adding a -L/usr/X11R6.1/lib to the above compile
command.  Why isn't it passing the x-libraries path to this command?
Shouldn't it be?

The next problem (and I think the more serious one is the following:

configure:4084: checking for XtOpenDisplay in -lXt 
configure:4100: gcc -o conftest     -DFUNCPROTO=11 -DNARROWPROTO -D_BSD_SOURCE    -I/usr/X11R6.1/include       -L/usr/X11R6.1/lib conftest.c  -lXt   -lX11  -lm       -lgcc -lc -lgcc /usr/lib/crtn.o  1>&5
/usr/X11R6.1/lib/libXt.so: undefined reference to `SmcSaveYourselfDone'
/usr/X11R6.1/lib/libXt.so: undefined reference to `IceConnectionNumber'
/usr/X11R6.1/lib/libXt.so: undefined reference to `SmcDeleteProperties'
/usr/X11R6.1/lib/libXt.so: undefined reference to `IceProcessMessages'
/usr/X11R6.1/lib/libXt.so: undefined reference to `SmcRequestSaveYourselfPhase2'
/usr/X11R6.1/lib/libXt.so: undefined reference to `SmcInteractDone'
/usr/X11R6.1/lib/libXt.so: undefined reference to `SmcCloseConnection'
/usr/X11R6.1/lib/libXt.so: undefined reference to `SmcSetProperties'
/usr/X11R6.1/lib/libXt.so: undefined reference to `SmcOpenConnection'
/usr/X11R6.1/lib/libXt.so: undefined reference to `SmcInteractRequest'
/usr/X11R6.1/lib/libXt.so: undefined reference to `SmcModifyCallbacks'
/usr/X11R6.1/lib/libXt.so: undefined reference to `SmcClientID'
/usr/X11R6.1/lib/libXt.so: undefined reference to `SmcGetIceConnection'

If I add '-lICE -lSM' to the above to link in the libICE and libSM
libraries it proceeds without a hitch.  Does this make sense to anyone 
with more X programming experience than I (not hard...)?  I've never
even HEARD of libSM before now.  Have I got a screwy setup?

-- Gary F.

