[STATSGRASS] GSTAT 2.4.4 compile problem with GRASS 6.0.0

Hamish hamish_nospam at yahoo.com
Sat Jun 4 01:42:57 EDT 2005


> 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  -flat_namespace -L../lib  -lmeschach - 
> lnetcdf  -lncurses -L /Applications/Grass/grass60.app/Contents/ 
> Resources/grass-6.0.0/lib /usr/local/grass5/lib -lz -lm
> ld: -L: directory name missing
> make[1]: *** [gstat] Error 1
> make: *** [src/gstat] Error 2


The problem is this:

> -L /Applications/Grass/grass60.app/Contents/ 
> Resources/grass-6.0.0/lib /usr/local/grass5/lib


No whitespace after -L. Needs to look something like this:

-L/Applications/Grass/grass60.app/Contents/Resources/grass-6.0.0/lib
-L/usr/local/grass5/lib

as "-L../lib" just before.



Hamish




More information about the grass-stats mailing list