[GRASS5] src/ps.map error

Glynn Clements glynn.clements at virgin.net
Wed May 2 04:11:20 EDT 2001


Justin Hickey wrote:

> I just did an update and compile of the release branch and received the
> following error on an SGI using vendor compilers.
> 
> #################################################################
> /usr/people/jhickey/grassRel/grass/src/ps.map/devices
>   mkdir OBJ.mips-sgi-irix6.5
>   make -f OBJ.mips-sgi-irix6.5/make.rules 
> 
> 	if [ ! -d /.../grass/dist.mips-sgi-irix6.5/etc/paint ]; then mkdir
> /.../grass/dist.mips-sgi-irix6.5/etc/paint; fi
> 	if [ ! -d /.../grass/dist.mips-sgi-irix6.5/etc/paint/ps.devices ]; then
> mkdir /.../grass/dist.mips-sgi-irix6.5/etc/paint/ps.devices; fi
> 	cp ps.devices/* /.../grass/dist.mips-sgi-irix6.5/etc/paint/ps.devices
> 2>/dev/null ; true
> *** Error code 2 (bu21)
> *** Error code 1 (bu21)
> GISGEN failure at STEP: src/ps.map
> 
> I'm not sure what is happening here. Any ideas?

Well, this looks like my fault again :-(

The SGI "make" appears not to like the line:

	cp ps.devices/* $(GISBASE)/etc/paint/ps.devices 2>/dev/null ; true

This was a "tar" command, but I changed it to "cp" so that it failed
to copy the "CVS" directory (which was causing "ps.select" to list
"CVS" as an option).

I'm not familiar with SGI's make, so I'm not sure what it is about
that line that it doesn't like.

The previous version was:

	(cd ps.devices ; tar -cvf - * | (cd $(GISBASE)/etc/paint/ps.devices ; tar xvf - 2>/dev/null ); true )

Does enclosing the line in parentheses help?

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

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list