xgrass

Hello all--

I'm having some problems compiling Xgrass on my Sun 4 machine. I'm
running SunOS 4.1.1 with OpenLook 2.0. Everything else in 4.1beta
compiled just fine and runs without problems (so far). GISGEN bombs
when I get to the xgrass stuff in my list/local file. Here is the
relevant portion of my lists/local file:

#
# xgrass programs
#
src/xgrass
src/xgrass/libes
src/xgrass/menu
src/xgrass/display
src/xgrass/xgaccess
src/xgrass/xgbrowser
src/xgrass/xgbuffer
src/xgrass/xgcats
src/xgrass/xgeditor
src/xgrass/xgexec
src/xgrass/xgglossary
src/xgrass/xghelp
src/xgrass/xghistory
src/xgrass/xgmapcalc
src/xgrass/xgmapsets
src/xgrass/xgreclass
src/xgrass/xgregion
src/xgrass/xgshow
src/xgrass/xgsupport
src/xgrass/pixmap
src/xgrass/xdigit

Here are the error messages returned by Gmake:

GISGEN: src/xgrass/libes - Sat Apr 3 14:18:25 EST 1993

#################################################################
/usr/gis/src/xgrass/libes
  make -f OBJ.sun4/make.rules

/usr/gis/gmake4.1beta -all
#################################################################
/usr/gis/src/xgrass/libes/Xgd
  make -f OBJ.sun4/make.rules

rm -f OBJ.sun4/abwcolr.o
cc -O -D_NO_PROTO -I/usr/gis/src/mapdev/Vlib -I/usr/gis/src/mapdev/diglib
-I/usr/openwin/include -I/usr/gis/src/include -c abwcolr.c
/usr/gis/src/include/std_incs.h: 37: Can't find include file Xm/Xm.h
/usr/gis/src/include/std_incs.h: 38: Can't find include file Xm/ArrowB.h
/usr/gis/src/include/std_incs.h: 39: Can't find include file Xm/ArrowBG.h
/usr/gis/src/include/std_incs.h: 40: Can't find include file
/usr/gis/src/include/std_incs.h: 41: Can't find include file Xm/CascadeB.h
/usr/gis/src/include/std_incs.h: 42: Can't find include file
/usr/gis/src/include/std_incs.h: 43: Can't find include file Xm/CutPaste.h

--- etc ---

/usr/gis/src/include/Caption.h: 37: Can't find include file Xm/Xm.h
*** Error code 2
make: Fatal error: Command failed for target `OBJ.sun4/abwcolr.o'
Current working directory /usr/gis/src/xgrass/libes/Xgd
*** Error code 1
make: Fatal error: Command failed for target `all'
GISGEN failure at STEP: src/xgrass/libes

Am I correct in surmising that the Xm directory is a Motif include
directory? We don't have Motif here-- our /usr/openwin/include directory
contains:

ls /usr/openwin/include
NeWS X11 Xol images olgx ref xview xvps

Can anyone tell me what I'm doing wrong? Will Xgrass compile on Sun 4's
under OpenLook?

+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

  Michael Camann camann@athena.cs.uga.edu
  Department of Entomology office: (706) 542-2640
  University of Georgia or: (706) 542-2816
  Athens, GA 30602 FAX (706) 542-2272

+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

In info.grass.user you write:

Hello all--
Can anyone tell me what I'm doing wrong? Will Xgrass compile on Sun 4's
under OpenLook?

  If you do not have the Motif include files and the Motif libraries
xgrass will not compile. It will *run* under openwindows, but you must
have the Motif libraries in order to compile it.

      &y --
Andy Burnett -- burnett@zorro.cecer.army.mil
US Army Corps of Engineers -- Construction Engineering Research Lab