problems compiling grass5.0 beta 7

Skip shaak at teleport.com
Fri May 12 17:35:31 EDT 2000


Markus,

I followed you instructions below still get nowhere. When I enter gmakelink5 I get "command not found". Nevertheless, I skipped to the NVIZ compilation; however, I ran into a snag there as well. During the compilation, I was requested for the location of the file tk.h. I don't have tk.h on my system. I have tcl/tk 8.0 on my system. I can run tcl/tkgrass without a problem. In addition, there are tcl8.0 and tk8.0 directories; however, there is no /usr/local/lib/tcl8.0 (or tk8.0) directory as required by NVIZ. Do I need to do something to get the tk.h file? FYI, I'm using Suse 6.3.

Have a great weekend, Skip


=============

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


=================================
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