[GRASS5] grass5 on darwin - problem w/init

Glynn Clements glynn.clements at virgin.net
Mon Sep 9 19:08:03 EDT 2002


andy agena wrote:

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

Compress it with "gzip -9" (this should reduce it to ~100Kb), then
send it to me.

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

This is due to:

> Compilation error in module: src/general/init (ignored)

At present, *all* failures are ignored; even for components which
(like src/general/init) are essential for using GRASS.

> 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

This is harmless, and unrelated.

> 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

1. Do you have a libedit.a in the directory:

/Users/andya/Desktop/grass-5_0_0_src_0/grass-5.0.0/src/libes/LIB.powerpc-apple-darwin6.0

?

If not, there should have been an error for src/libes/edit. OTOH, if
that file exists, then ...

2. Do you have a libedit.a, libedit.dylib, or libedit.<anything> (or,
for that matter, anything else which looks like a library and is
called something-edit-something) in /sw/lib, or in any "system"
library directory?

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-dev mailing list