From xemacs-m  Mon Jun 23 11:20:48 1997
Received: from pat.bath.ac.uk (qmailr@pat.bath.ac.uk [138.38.32.2])
	by xemacs.org (8.8.5/8.8.5) with SMTP id LAA21945
	for <xemacs-beta@xemacs.org>; Mon, 23 Jun 1997 11:20:47 -0500 (CDT)
Received: (qmail 2936 invoked from network); 23 Jun 1997 16:20:46 -0000
Received: from hands.niss.ac.uk (138.38.32.116)
  by pat.bath.ac.uk with SMTP; 23 Jun 1997 16:20:46 -0000
Received: from ccsnjd by hands.niss.ac.uk with local (Exim 1.59 #2)
	id 0wgBra-0004rD-00; Mon, 23 Jun 1997 16:21:10 +0000
From: N J Doye <nic@niss.ac.uk>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="aI7m5gEBV5"
Content-Transfer-Encoding: 7bit
To: xemacs-beta@xemacs.org
Subject: Copenhagen/Solaris2.5 lwlib/Makefile urgle?
X-Mailer: VM 6.31 under 20.3 "Oslo" XEmacs Lucid (beta7)
Message-Id: <E0wgBra-0004rD-00@hands.niss.ac.uk>
Sender: N J Doye <Nic.Doye@niss.ac.uk>
Date: Mon, 23 Jun 1997 16:21:11 +0000


--aI7m5gEBV5
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

OK so the CPP='cc -E' problem appears to be fixed. Cheers Martin! New
problemo... The error:

make[1]: Leaving directory `/home/hands/ccsnjd/Src/xemacs-20.0/lib-src'
cd lwlib && make all  \
        CC='cc' CFLAGS='-v -xO4' MAKE='make'
make[1]: Entering directory `/home/hands/ccsnjd/Src/xemacs-20.0/lwlib'
Makefile:1: *** missing separator.  Stop.
make[1]: Leaving directory `/home/hands/ccsnjd/Src/xemacs-20.0/lwlib'
make: *** [lwlib] Error 2

Some configure info follows in a mo. I can't see anything obviously
wrong with the makefile... Hmmm. This is GNU Make version 3.74, I
think. Other makes report:

hands $ /usr/xpg4/bin/make 
make: Fatal error in reader: Makefile, line 2: Unexpected end of line seen
1hands $ /usr/ccs/bin/make 
make: Fatal error in reader: Makefile, line 2: Unexpected end of line seen

I'll attach the Makefile to see what anyone else can make of it. It
all seems a bit bizarre to me.

--Config stuff

uname -a: SunOS hands.niss.ac.uk 5.5 Generic_103093-05 sun4m sparc SUNW,SPARCstation-5
 
./configure  '--extra-verbose' '--debug' '--compiler=cc' '--dynamic' '--prefix=/home/hands/ccsnjd/Opt'
 
 
Configured for `sparc-sun-solaris2.5'.
 
  Where should the build process find the source code?    /home/hands/ccsnjd/Src/xemacs-20.0
  What installation prefix should install use?            /home/hands/ccsnjd/Opt
  What operating system and machine description files should XEmacs use?
        `s/sol2.h' and `m/sparc.h'
  What compiler should XEmacs be built with?              cc -v -xO4
  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
  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 native sound support.
  Compiling in support for GNU DBM.
  Compiling in support for ToolTalk.
  Using Lucid menubars.
  Using Lucid scrollbars.
  Using Motif dialog boxes.
  movemail will use "dot-locking" for locking mail spool files.
  Compiling in extra code for debugging.
  Compiling in code for checking XEmacs memory usage.
  WARNING: ---------------------------------------------------------
  WARNING: Compiling in support for runtime error checking.
  WARNING: XEmacs will run noticeably more slowly as a result.
  WARNING: Error checking is on by default for XEmacs beta releases.
  WARNING: ---------------------------------------------------------

--aI7m5gEBV5
Content-Type: text/plain
Content-Description: Shmakefile
Content-Disposition: inline;
	filename="Makefile"
Content-Transfer-Encoding: 7bit

/* Makefile for Lucid Widget Library
   Copyright (C) 1994 Lucid, Inc.
   Copyright (C) 1995 Tinker Systems and INS Engineering Corp.
   Copyright (C) 1994, 1995 Board of Trustees, University of Illinois
This file is part of the Lucid Widget Library.
The Lucid Widget Library is free software; you can redistribute it and/or 
modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
The Lucid Widget Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of 
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with XEmacs; see the file COPYING.  If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.  */
/* Some people use these in paths they define.  We do not want their paths
   getting changed on them. */
/* For performance and consistency, no built-in rules */
.SUFFIXES:
.SUFFIXES: .c .o .i .h
srcdir=/home/hands/ccsnjd/Src/xemacs-20.0/lwlib
SHELL=/bin/sh
CC=cc
CPP=cc -E
CFLAGS=-v -xO4
LDFLAGS=
CPPFLAGS=
RANLIB=:
RM = rm -f
AR = ar cq
VPATH=/home/hands/ccsnjd/Src/xemacs-20.0/lwlib
objs = lwlib.o lwlib-utils.o lwlib-config.o $(EZ_OBJS)  lwlib-Xm.o xlwmenu.o xlwscrollbar.o lwlib-Xlw.o
all: $(EZ_SUBDIR) liblw.a
c_switch_general=-DHAVE_CONFIG_H
c_switch_window_system=-I/usr/dt/include -I/usr/openwin/include
c_switch_all=-DHAVE_CONFIG_H -I/usr/dt/include -I/usr/openwin/include
ld_switch_general=-L/usr/ccs/lib -R/usr/dt/lib:/usr/openwin/lib:/opt/SUNWdt/lib
ld_switch_window_system=-L/usr/dt/lib -L/usr/openwin/lib
ld_switch_all=-L/usr/ccs/lib -R/usr/dt/lib:/usr/openwin/lib:/opt/SUNWdt/lib -L/usr/dt/lib -L/usr/openwin/lib
ld_libs_general=-lcurses /usr/demo/SOUND/lib/libaudio.a -lkvm -lkstat -lm -lsocket -lnsl -lelf -lgen -ldl
ld_libs_window_system=-lXm -lXpm -ltt -lXmu -lXt -lXext -lX11
ld_libs_all=-lXm -lXpm -ltt -lXmu -lXt -lXext -lX11 -lcurses /usr/demo/SOUND/lib/libaudio.a -lkvm -lkstat -lm -lsocket -lnsl -lelf -lgen -ldl
cppflags = $(CPPFLAGS) -I. $(c_switch_all) $(ENERGIZEP)
cflags = $(CFLAGS) $(cppflags)
ALL_CFLAGS= $(CFLAGS) $(CPPFLAGS) -I. $(c_switch_all) $(ENERGIZEP)
.c.o:
	$(CC) -c $(cflags) $<
/* Create preprocessor output (debugging purposes only) */
.c.i:
	$(CC) -P $(cppflags) $<
liblw.a: $(objs)
	$(RM) $@
	$(AR) $@ $(objs)
	-test -n "$(RANLIB)" && $(RANLIB) $@
.PHONY : mostlyclean clean distclean realclean extraclean
FRC.mostlyclean:
mostlyclean: FRC.mostlyclean
	rm -f liblw.a liblw_pure_*.a *.o
clean: mostlyclean
distclean: clean
	rm -f Makefile Makefile.in config.h .pure
realclean: distclean
extraclean: distclean
	-rm -f *~ \#* m/?*~ s/?*~
lwlib-config.o:	lwlib.h ../src/config.h
lwlib-Xaw.o:	lwlib.h lwlib-internal.h lwlib-Xaw.h ../src/config.h
lwlib-Xlw.o:	lwlib.h lwlib-internal.h lwlib-Xlw.h xlwmenu.h ../src/config.h
lwlib-Xm.o:	lwlib.h lwlib-internal.h lwlib-utils.h lwlib-Xm.h
lwlib-Xm.o:	../src/config.h
lwlib-utils.o:	lwlib-utils.h ../src/config.h
lwlib.o:	lwlib.h lwlib-internal.h lwlib-utils.h ../src/config.h
lwlib.o:	lwlib-Xlw.h lwlib-Xm.h lwlib-Xaw.h ../src/config.h
xlwmenu.o:	lwlib.h xlwmenu.h xlwmenuP.h ../src/config.h
xlwscrollbar.o:	lwlib.h xlwscrollbar.h xlwscrollbarP.h ../src/config.h

--aI7m5gEBV5
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


Thankyou one and all
nic
-- 
Nic Doye,      Computer Officer,     NISS  |e-mail:       nic@niss.ac.uk
(National Information Services & Systems), |tel:    +44 1225 826826x4757
University of Bath,  Bath.   BA2 7AY.  UK. |fax:         +44 1225 826117
http://www.bath.ac.uk/~ccsnjd              |http://www.brainwased.com/cv
--aI7m5gEBV5--

