problems compiling grass5.0 beta 7

Markus Neteler neteler at geog.uni-hannover.de
Thu May 11 15:10:43 EDT 2000


Skip,

for others the fix helped... Sorry for your inconvenience!

Do you really need this final module? Otherwise just
say
  gmakelink5

and start using GRASS. :-)

To compile NVIZ, go to
  src.contrib/GMSL/NVIZ2.2/

There run:
  configure
  gmake5

Best wishes

 Markus Neteler
 
On Thu, May 11, 2000 at 11:06:29AM -0700, Skip wrote:
> 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



More information about the grass-user mailing list