> 
> Hi, 
> 
> I am wondering if any people has installed GRASS 4.1.5 in Sun Solaris2.5.1
> successfully. 
> 
> I get the source package and try to install it, but always get error
> message. Can anybody help me out?
> 
> Thanks very much
> 
> Peizhong Wu
> 
> Atmospheric, Oceanic and Space Science Department
> University of Michigan
>  
> 
> 

Here is a header that we've used to compile Grass4.1.5 for Solaris2.5.
It uses the gcc compiler instead of Sun's cc compiler.  gcc is the
Gnu (free) version and can be obtained off of the net at several sites.

Alternatively, you can grab our Solaris binary version from our ftp
site.  It is a compressed tar file called grass4.1u5-2.5.tar.Z and
can be found under the /grass/outgoing/Grass_compile directory.
Our ftp site can be accessed via ftp at 129.229.103.1 or via our
web page at http://www.cecer.army.mil/grass/GRASS.main.html.



CC                  = gcc
ARCH                = 2.5

GISBASE             = /apps/grass4.1u5/2.5
UNIX_BIN            = /apps/grass4.1u5/bin

DEFAULT_DATABASE    = /data
DEFAULT_LOCATION    = spearfish

COMPILE_FLAGS       = -O -U_XOPEN_SOURCE -traditional -DSYSV -DIPCS -DCERL -DRAM_ON -Wwrite-strings -Wno-implicit
LDFLAGS             = -s

XCFLAGS             = -D_NO_PROTO -DXM_1_1_BC
XLDFLAGS            =
XINCPATH            = -I/usr/openwin/include
XMINCPATH           =
XLIBPATH            = -L/usr/openwin/lib
XTLIBPATH           = -L/usr/openwin/lib -L/usr/lib
XMLIBPATH           = -L/usr/openwin/lib -L/usr/lib
XLIB                = -lX11
XTLIB               = -lXt
XMLIB               = -lXm
XEXTRALIBS          = -ldl -lsocket -lnsl -lgen -lw

TERMLIB             = -ltermlib
CURSES              = -lcurses $(TERMLIB)
MATHLIB             = -lm

#                   LIBRULE = ar ruv $@ $?
#                   LIBRULE = ar ruv $@ $?; ranlib $@
#                   LIBRULE = ar ruv $@ $?; ar ts $@
#                   LIBRULE = ar rc $@ `lorder $(OBJ) | tsort`
LIBRULE             = ar ruv $@ $?

USE_TERMIO          = -DUSE_TERMIO
USE_MTIO            = -DUSE_MTIO
USE_FTIME           =
DIGITFLAGS          =
VECTLIBFLAGS        =
GETHOSTNAME         = -DGETHOSTNAME_UNAME


-- 
------------------

Paul 

