[STATSGRASS] kriging ...

Hamish hamish_nospam at yahoo.com
Mon Jan 17 19:02:16 EST 2005


> I also have to add that gstat has been my choice so far, however, since I 
> changed OS (to OSX) was never able to recompile gstat with grass support 
> and finally gave up on that...
> 
> the error was related to not finding some file...
..
> 
> ******** GSTAT COMPILING ERROR ON OS X ************************** 
> horacio:/usr/src/gstat-2.4.3 root# make
> (cd src; make)
> gcc -o gstat block.o data.o direct.o fig.o fit.o getest.o gls.o glvars.o 
> gstat.o lex.o lm.o map2fig.o map2gd.o mapio.o maputils.o msim.o nsearch.o 
> ossfim.o palet.o parse.o plot.o polygon.o pqueue.o predict.o random.o 
> read.o reml.o report.o sample.o select.o sem.o sem_main.o sim.o stat.o 
> ui.o userio.o utils.o vario.o vario_fn.o vario_io.o writecmd.o xvalid.o 
> -L../lib  -lmeschach  -lncurses -L 
> /Applications/Grass/grass54.app/Contents/Resources/grass54//lib  -lz -lm
> ld: -L: directory name missing
> make[1]: *** [gstat] Error 1
> make: *** [src/gstat] Error 2
> *****************************************************************


from the above:
> -L../lib  -lmeschach  -lncurses -L 
> /Applications/Grass/grass54.app/Contents/Resources/grass54//lib


a) relative path names might cause problems (-L../lib)
    use full path

b) There should not be any space after second -L (-L/Applica...)

c) There should be no trailing '/' after library paths
   (./configure --with-grass=/path/to/grass
         ie NOT --with-grass=/path/to/grass/ )


good luck,
Hamish




More information about the grass-stats mailing list