grass4.0/xgrass on SGI IRIS INDIGO

Abdel-Rahman%GWGrads%GWave at vines.ColoState.EDU Abdel-Rahman%GWGrads%GWave at vines.ColoState.EDU
Fri Aug 28 11:47:44 EDT 1992



*****  ATTACHMENT: xgrass.error *****

Dear Sir;

          My name is Abdel-Rahman A., I'm a graduate studend making my Ph.d.
at Colorado State University. I already compiled the grass4.0 on the SGI IRIS4D
OS v.3.3, and so far it is running fine except some of the ALPHA source codes.

          I tried to compile the xgrass version on our SGI iris INDIGO XR4 motif1.1 and OS 4.0.1 but i have alot of problems. Attached is a copy of my config.shand the errors that i'm getting. I already did the changes you recommended 
concerning the putenv and the additional libraries (libusb.a) although i did'nt
have the dir /usr/usblib and i coud'nt find that library any where although i
have the dir /usr/ucb and it is on my path.

          I need to confirm that my machine type is IRIS not svr4 ,do i have
to change the additional link libraries ,please tell me what to do.

         I installed also the ordinary version of the grass4.0 but i cannot
compile it on the Indigo, do i have to install it to install the xgrass or
the xgrass can work by itself? 

         Attached are the header and the config.sh files and the error messages
hope you can help me to fix these errors.

          My telephone # is (303)491-8202/8381 Fax (303)491-8554
my e-mail addres is : aa511704 at longs.lance.colostate.edu

                                        Thanks A.Rahman




**********************head file*********************************

ARCH                = arch

GISBASE             = /dev/nfs/usrG/xgrass/xgrass
UNIX_BIN            = /dev/nfs/usrG/xgrass/xgrass/src/CMD

DEFAULT_DATABASE    = /dev/nfs/usrG/xgrass/xgrass/database
DEFAULT_LOCATION    = spearfish

COMPILE_FLAGS       = -O
LDFLAGS             = -s

TERMLIB             = -ltermlib
CURSES              = -lcurses $(TERMLIB)
MATHLIB             = -lm
LIBRULE             = ar ruv $@ $?; ranlib $@

USE_TERMIO          = -DUSE_TERMIO
USE_MTIO            = -DUSE_MTIO
DIGITFLAGS          = -DUSE_SETREUID -DUSE_SETEUID -DUSE_SETPRIORITY
VECTLIBFLAGS        =
CAN_CLEAR           =-DCAN_CLEAR
GETHOSTNAME         = -DGETHOSTNAME_OK
~
*******************confog.sh************************************
#!/bin/sh
# config.sh
# This file was produced by running the XGRASS config script.
# DO NOT EDIT THIS FILE...or else
eunicefix=':'
spitshell='cat'
top='/dev/nfs/usrG/xgrass/xgrass'
installroot='/dev/nfs/usrG/xgrass/xgrass/install'
xgrassinc='-I/dev/nfs/usrG/xgrass/xgrass/install/include'
grasssrc='/dev/nfs/usrG/xgrass/xgrass'
grassinc='-I/dev/nfs/usrG/xgrass/xgrass/src/libes'
grassbase='/dev/nfs/usrG/xgrass/xgrass'
grassarchext=''
ldflags='-O '
extraldflags='-lnsl /usr/ucblib/libucb.a'
xincs=' -I/usr/include/X11'
xlibdir='/usr/lib/X11'
xlib='-lX11'
xtlibdir='/usr/lib/X11'
xtlib='-lXt'
xmlibdir='/usr/lib/X11'
xmlib='-lXm'
cflags='-O -DSVR4 -DSYSV -DUSE_GRASS ' (i thinkI must change -DSVR4 to -DIRIS)
cc='cc'
ar='ar'
arflags='clr'
ranlib='/bin/true'
install='install'
instdatflags='-c -m 0444'
rm='rm -f'
cp='cp'
printcommand='cat %s | /bin/lp'
CONFIG=true
****************************************************************
Makefile.SH: -DSVR4: not found
Makefile.SH: -m: not found
Makefile.SH: -f: not found
Makefile.SH: all::: not found
Makefile.SH: /usr/ucblib/libucb.a: not found
Makefile.SH: -DSVR4: not found
Makefile.SH: -m: not found
Makefile.SH: -f: not found
Makefile.SH: all::: not found
Makefile.SH: /usr/ucblib/libucb.a: not found
Makefile.SH: -DSVR4: not found
Makefile.SH: -m: not found

           
****************************************************************
accom: Error: Pixel.c, line 1395: Argument 1 Type Doesn't Match prototype description; prototype:  pointer to char is different from actual:  pointer to pointer to char
               sprintf(text, "%3d", (int) (rgb.r / (65536. / 256.)));
       ------------------------------------------------------------^
accom: Error: Pixel.c, line 1399: prototype parameter 1 type must have all qualifiers of actual arg (except`outermost`) and pointed to types must be compatible (ANSI 3.3.2.2,3.3.16.1)
               sprintf(text, "%3d", (int) (rgb.g / (65536. / 256.)));
       ------------------------------------------------------------^
accom: Error: Pixel.c, line 1399: Argument 1 Type Doesn't Match prototype description; prototype:  pointer to char is different from actual:  pointer to pointer to char
               sprintf(text, "%3d", (int) (rgb.g / (65536. / 256.)));
       ------------------------------------------------------------^
ERROR in xclip



****************************************************************


/dev/nfs/usrG/xgrass/xgrass/src/libes/vask
  make -f OBJ.svr4/make.rules 

        rm -f OBJ.svr4/V_support.o
        cc -O  -I/dev/nfs/usrG/xgrass/xgrass/src/libes -DUSE_TERMIO -c V_support.c
accom: Warning 294: V_support.c, line 10: Function getpwuid has prototyped and non-prototyped declarations.     Default promotion of non-prototype form of argument 1 does not match prototype: prototype:  unsigned short is different from actual:  int
        struct passwd *getpwuid() ;
       ---------------------------^
accom: Error: V_support.c, line 10: One declaration for getpwuid is non-prototype style, one with prototype; prototype must match default argument promotions (ANSI 3.5.4.3, 3.3.2.2)
        struct passwd *getpwuid() ;
       ---------------------------^
*** Error code 1

Stop.
ERROR in GISGEN





****************************************************************

tall/include -I/dev/nfs/usrG/xgrass/xgrass/src/libes  -I/usr/include/X11 -c warning.c
        cc -O -DSVR4 -DSYSV -DUSE_GRASS  -I. -I../include -I/dev/nfs/usrG/xgrass/xgrass/install/include -I/dev/nfs/usrG/xgrass/xgrass/src/libes  -I/usr/include/X11 -c xgdbset.c
accom: Error: xgdbset.c, line 1010: struct/union or struct/union pointer required
               XmStringGetLtoR(cbs->item, "" , &text);
       --------------------------------^
accom: Error: xgdbset.c, line 1056: struct/union or struct/union pointer required
               XmStringGetLtoR(cbs->item, "" , &text);
       --------------------------------^
accom: Error: xgdbset.c, line 1077: struct/union or struct/union pointer required
               XmStringGetLtoR(cbs->item, "" , &text);
       --------------------------------^
accom: Error: xgdbset.c, line 1098: struct/union or struct/union pointer required
               XmStringGetLtoR(cbs->item, "" , &text);
       --------------------------------^
*** Error code 1

Stop.
ERROR in /usr/local/xgrass/xgrass/xgrass

****************************************************************




More information about the grass-dev mailing list