[GRASS5] grass5 on darwin - problem w/init

andy agena andya at mac.com
Mon Sep 9 14:36:43 EDT 2002


hello all:

i gave compiling grass5.0 a whirl today; this is my error.log:

GRASS GIS compilation log
-------------------------
Start of compilation: Mon Sep  9 12:02:03 CDT 2002
Errors:
Compilation error in module: src/libes/vect32/georef (ignored)
Compilation error in module: src/general/init (ignored)
Compilation error in module: src/display/d.zoom (ignored)
Compilation error in module: src/general/g.region (ignored)
Compilation error in module: src/imagery/i.pca (ignored)
Compilation error in module: src/mapdev/v.reclass (ignored)
Compilation error in module: src/raster/r.in.gdal (ignored)
Compilation error in module: src/raster/r.reclass (ignored)
Compilation error in module: src/raster/r.sun (ignored)
Compilation error in module: src/raster/r.support (ignored)
Compilation error in module: src/raster/r.weight (ignored)
Compilation error in module: src.contrib/GMSL/g3d/src3d/sites/s.vol.rst  
(ignored)
Compilation error in module: src.garden/grass.postgresql (ignored)
End of compilation:   Mon Sep  9 12:41:46 CDT 2002
DONE generating GRASS GIS binary code

(i have a make.log--1.7mb--let me know if you want me to send it along)

trying to start grass, i get:

% ./grass5
/sw/grass5/etc/Init.sh: /sw/grass5/etc/lock: No such file or directory
Unable to properly access /Users/andya/.gislock5
Please notify system personel.

looking through my make.log, there are a lot of entries for 'init'   
like this:

init_commands.c:145: warning: passing arg 3 of `Tcl_CreateCommand' from  
incompatible pointer type

so i tried:

% /sw/bin/gmake5 src/general/init
   SRC     = /Users/andya/Desktop/grass-5_0_0_src_0/grass-5.0.0/src
   CMD     = /Users/andya/Desktop/grass-5_0_0_src_0/grass-5.0.0/src/CMD
   UNUSED  = /Users/andya/Desktop/grass-5_0_0_src_0/grass-5.0.0/unused
   HEADER  = head.powerpc-apple-darwin6.0
   ARCH    = powerpc-apple-darwin6.0
   GISBASE =  
/Users/andya/Desktop/grass-5_0_0_src_0/grass-5.0.0/dist.powerpc-apple- 
darwin6.0
   VERSION = 5.0.0 August 2002
#################################################################
/Users/andya/Desktop/grass-5_0_0_src_0/grass-5.0.0/src/general/init
   make -f OBJ.powerpc-apple-darwin6.0/make.rules

rm -f  
/Users/andya/Desktop/grass-5_0_0_src_0/grass-5.0.0/bin.powerpc-apple- 
darwin6.0/grass`cat  
/Users/andya/Desktop/grass-5_0_0_src_0/grass-5.0.0/src/CMD/VERSION |  
head -1 | sed 's/\..*//'` ; true
/bin/sh -c "sed -e  
\"s#GISBASE_VALUE#/Users/andya/Desktop/grass-5_0_0_src_0/grass-5.0.0/ 
dist.powerpc-apple-darwin6.0#\" -e \"s#PERL_COMMAND#/usr/bin/perl#\"  
grass.src >  
/Users/andya/Desktop/grass-5_0_0_src_0/grass-5.0.0/bin.powerpc-apple- 
darwin6.0/grass`cat  
/Users/andya/Desktop/grass-5_0_0_src_0/grass-5.0.0/src/CMD/VERSION |  
head -1 | sed 's/\..*//'` 2>/dev/null ; true"
chmod a+x  
/Users/andya/Desktop/grass-5_0_0_src_0/grass-5.0.0/bin.powerpc-apple- 
darwin6.0/grass`cat  
/Users/andya/Desktop/grass-5_0_0_src_0/grass-5.0.0/src/CMD/VERSION |  
head -1 | sed 's/\..*//'`
gcc  
-L/Users/andya/Desktop/grass-5_0_0_src_0/grass-5.0.0/src/libes/ 
LIB.powerpc-apple-darwin6.0 -L/sw/lib -o  
/Users/andya/Desktop/grass-5_0_0_src_0/grass-5.0.0/dist.powerpc-apple- 
darwin6.0/etc/set_data OBJ.powerpc-apple-darwin6.0/set_data.o  
OBJ.powerpc-apple-darwin6.0/mke_mapset.o  
OBJ.powerpc-apple-darwin6.0/mke_loc.o  
OBJ.powerpc-apple-darwin6.0/chk_dbase.o  
OBJ.powerpc-apple-darwin6.0/other.o -ledit -lgis -lvask -lncurses  
-ltermcap   -lz
ld: Undefined symbols:
_E_edit_cellhd
make: ***  
[/Users/andya/Desktop/grass-5_0_0_src_0/grass-5.0.0/dist.powerpc-apple- 
darwin6.0/etc/set_data] Error 1


thanks,
andy a.




More information about the grass-dev mailing list