From xemacs-m  Sat Feb 22 21:33:59 1997
Received: from steadfast.teradyne.com (steadfast.teradyne.com [131.101.1.200])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id VAA08575
	for <xemacs-beta@xemacs.org>; Sat, 22 Feb 1997 21:33:58 -0600 (CST)
Received: from kiki.icd.teradyne.com (kiki.icd.teradyne.com [131.101.1.30]) by steadfast.teradyne.com (8.7.1/8.7.1) with ESMTP id WAA18449 for <xemacs-beta@xemacs.org>; Sat, 22 Feb 1997 22:37:14 -0500 (EST)
Received: from spacely.icd.teradyne.com (spacely.icd.teradyne.com [131.101.10.9]) by kiki.icd.teradyne.com (8.7.1/8.7.1) with SMTP id WAA06438 for <xemacs-beta@xemacs.org>; Sat, 22 Feb 1997 22:31:01 -0500 (EST)
Received: from spacely by spacely.icd.teradyne.com (SMI-8.6/SMI-SVR4)
	id WAA00711; Sat, 22 Feb 1997 22:33:55 -0500
Message-Id: <199702230333.WAA00711@spacely.icd.teradyne.com>
X-Mailer: exmh version 2.0gamma 1/27/96
To: xemacs-beta@xemacs.org
reply-to: acs@acm.org
X-Attribution: Vin
Subject: 19.15 and build dirs
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Sat, 22 Feb 1997 22:33:53 -0500
From: Vinnie Shelton  <shelton@icd.teradyne.com>


I have a build in progress, so I'll send a completion report soon, but I
thought I should report this now. I've seen this problem for a few betas,
but I've just ignored it until now; I need to ask, "Am I the only one?"

Here's how I build XEmacs:

cd xemacs-ver
mkdir Solaris
cd Solaris
../configure --srcdir=.. ......
make

This chugs along for awhile, but it fails on lwlib, like so:

cc -Demacs -DHAVE_CONFIG_H  -DSTDC_HEADERS -I. -I../src -I/pd/src/gnu/xemacs-19.15-b95/lib-src -I/pd/src/gnu/xemacs-19.15-b95/lib-src/../src   -DSVR4 -fast -xO4 -xcg89 -xtarget=ss5 -o gnudoit /pd/src/gnu/xemacs-19.15-b95/lib-src/gnudoit.c gnuslib.o -lsocket -lnsl -lkvm -lelf -lgen -ldl   -L/pd/oslib -R/pd/oslib -L/usr/openwin/lib -R/usr/openwin/lib -L/usr/openwin/lib -R/usr/openwin/lib -lXau
cd lwlib; make all  \
        CC='cc' CFLAGS='-fast -xO4 -xcg89 -xtarget=ss5' MAKE='make'
rm -f liblw.a
ar cq liblw.a lwlib.o  lwlib-Xlw.o xlwmenu.o xlwscrollbar.o lwlib-Xaw.o lwlib-utils.o  lwlib-config.o 
ar: lwlib.o cannot open
ar: lwlib-Xlw.o cannot open
ar: xlwmenu.o cannot open
ar: xlwscrollbar.o cannot open
ar: lwlib-Xaw.o cannot open
ar: lwlib-utils.o cannot open
ar: lwlib-config.o cannot open
ar: lwlib.o not found
ar: lwlib-Xlw.o not found
ar: xlwmenu.o not found
ar: xlwscrollbar.o not found
ar: lwlib-Xaw.o not found
ar: lwlib-utils.o not found
ar: lwlib-config.o not found
*** Error code 7
make: Fatal error: Command failed for target `liblw.a'
Current working directory /pd/src/gnu/xemacs-19.15-b95/Solaris/lwlib
*** Error code 1
make: Fatal error: Command failed for target `lwlib'

This is on Sparc Solaris 2.4 and 2.5.  Then I use GNU make, and everything 
works OK.  I used to think it was because I omitted the --srcdir option, 
but adding that made no difference.

vin

