Installing GRASS4.0 on an SGI workstation?


You probably need a -cckr flag.

Thank you for helping with my compiling problems. The "-cckr" flag did
indeed take care of many of the compilling errors. Still, I have had to
edit the GRASS source a bit to remove other errors. As I continue to
do this, I am wondering if this is typical of the SGI port or if there
is something else I am missing. For example, here is another error message.
Is this something you have had to deal with too?

GISGEN: imagery/i.class - Thu Feb 18 12:36:08 CST 1993

#################################################################
/work/i1a/GRASS4.0/src/imagery/i.class
  mkdir OBJ
  make -f OBJ/make.rules

        rm -f OBJ/main.o
        cc -O -cckr -I/work/i1a/GRASS4.0/src/libes -DUSE_TERMIO -c main.c
ccom: Error: ./globals.h, line 28: redeclaration of COLORS
       int COLORS[10];
      ---------------^
*** Error code 1

Stop.
GISGEN failure at STEP: imagery/i.class

--
      o o o o o o o . . . ________________________________ _____=======_T___
    o _____ ||Wes Barris | | wes@msc.edu |
  .][__n_n_|DD[ ====|____ |Research Equipment Inc. dba | |(612) 626-8090 |
>(________|__|_[___/_____]_|Minnesota_Supercomputer_Center|_|_FAX: 626-1596_|_
_/oo OOOOOO o` ooo ooo 'o^o^o o^o^o` 'o^o o^o`
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
You have an ambitious nature and may make a name for yourself.

In info.grass.user you write:

COLORS was added to one of the Unix include files after the code was
originally written. This cause a conflict. GRASS4.1 changes this from
COLORS to THE_COLORS (or some other non-conflicting name).


You probably need a -cckr flag.

Thank you for helping with my compiling problems. The "-cckr" flag did
indeed take care of many of the compilling errors. Still, I have had to
edit the GRASS source a bit to remove other errors. As I continue to
do this, I am wondering if this is typical of the SGI port or if there
is something else I am missing. For example, here is another error message.
Is this something you have had to deal with too?

GISGEN: imagery/i.class - Thu Feb 18 12:36:08 CST 1993

#################################################################
/work/i1a/GRASS4.0/src/imagery/i.class
mkdir OBJ
make -f OBJ/make.rules

       rm -f OBJ/main.o
       cc -O -cckr -I/work/i1a/GRASS4.0/src/libes -DUSE_TERMIO -c main.c
ccom: Error: ./globals.h, line 28: redeclaration of COLORS
      int COLORS[10];
     ---------------^
*** Error code 1

Stop.
GISGEN failure at STEP: imagery/i.class

--
     o o o o o o o . . . ________________________________ _____=======_T___
   o _____ ||Wes Barris | | wes@msc.edu |
.][__n_n_|DD[ ====|____ |Research Equipment Inc. dba | |(612) 626-8090 |
>(________|__|_[___/_____]_|Minnesota_Supercomputer_Center|_|_FAX: 626-1596_|_
_/oo OOOOOO o` ooo ooo 'o^o^o o^o^o` 'o^o o^o`
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
You have an ambitious nature and may make a name for yourself.

--

Michael Shapiro U.S. Army CERL
Environmental Division
P.O. Box 9005
Champaign, Ill. 61826-9005

email: shapiro@zorro.cecer.army.mil
phone: (217) 352-6511 ext 526
fax: (217) 373-7222