problems compiling grass5.0 beta 7
Skip
shaak at teleport.com
Thu May 11 14:06:29 EDT 2000
I made the changes suggested by Markus below but then I received the following error message:
if [ ! -d /usr/local/grass-5.0b ]; then mkdir /usr/local/grass-5.0b ; fi
if [ ! -d src/CMD/next_step ]; then mkdir src/CMD/next_step ; fi
UNIX_BIN=/usr/local/bin SRC=`pwd` GISBASE=/usr/local/grass-5.0b MACHINENAME=`uname -n` /bin/sh src/CMD/generic/CREATE_GMAKE.sh
mkdir -p -m 755 /usr/local/grass-5.0b
/bin/sh `pwd`/src/CMD/generic/is64bit.sh
echo "Now proceed with make install"
Now proceed with make install
GRASSSRC=`pwd`/src GMAKE=`pwd`/src/CMD/gmake5.0 /bin/sh src/CMD/generic/GISGEN.sh
GISBASE=/usr/local/grass-5.0b
SRC=/usr/local/grass5.0beta/src
CMD=/usr/local/grass5.0beta/src/CMD
HEADER=head
ARCH=i686-linux-elf
####################################################################
GISGEN Thu May 11 10:01:08 PDT 2000
GISBASE = /usr/local/grass-5.0b
SRC = /usr/local/grass5.0beta/src
CMD = /usr/local/grass5.0beta/src/CMD
HEADER = head
ARCH = i686-linux-elf
first step: src.garden/answers/src.answers/raster/r.fill.dir
GISGEN: src.garden/answers/src.answers/raster/r.fill.dir - Thu May 11 10:01:08 PDT 2000
#################################################################
/usr/local/grass5.0beta/src.garden/answers/src.answers/raster/r.fill.dir
make -f OBJ.i686-linux-elf/make.rules
make[1]: Entering directory `/usr/local/grass5.0beta/src.garden/answers/src.answers/raster/r.fill.dir'
/usr/local/grass5.0beta/src/CMD/gmake5.0 -all
#################################################################
/usr/local/grass5.0beta/src.garden/answers/src.answers/raster/r.fill.dir/cmd
make -f OBJ.i686-linux-elf/make.rules
make[2]: Entering directory `/usr/local/grass5.0beta/src.garden/answers/src.answers/raster/r.fill.dir/cmd'
rm -f OBJ.i686-linux-elf/fmt_un.o
c fmt_un.f
make[2]: c: Command not found
make[2]: [OBJ.i686-linux-elf/fmt_un.o] Error 127 (ignored)
mv fmt_un.o OBJ.i686-linux-elf/fmt_un.o
mv: fmt_un.o: No such file or directory
make[2]: *** [OBJ.i686-linux-elf/fmt_un.o] Error 1
make[2]: Leaving directory `/usr/local/grass5.0beta/src.garden/answers/src.answers/raster/r.fill.dir/cmd'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/usr/local/grass5.0beta/src.garden/answers/src.answers/raster/r.fill.dir'
GISGEN failure at STEP: src.garden/answers/src.answers/raster/r.fill.dir
make: *** [do-install] Error 1
Am I doing something wrong? I just keep going from one error message to another and never seem to be getting anywhere.
Skip
> Hi Skip,
>
> src.garden/answers/src.answers/raster/r.fill.dir/cmd/Gmakefile:
> please change this line from
> $(CC) $(LDFLAGS) $(OBJ) $(GISLIB) $(MATHLIB) -o $@ $(XDRLIB)
>
> to
> $(CC) $(LDFLAGS) $(OBJ) -o $@ $(GISLIB) $(MATHLIB) $(XDRLIB)
>
> (note the tab to $(CC))
>
> Then it should compile.. hope so :-)>
>
> Markus
=================================
Skip Haak
Natural Resource Solutions
950 Lloyd Center, Suite 48
Portland, OR 97232
Office: (503) 460-3198
Mobile: (503) 998-3267
Facsimile: (503) 460-3230
E-mail: shaak at teleport.com
More information about the grass-user
mailing list