RE: [GRASS5] Re: grass 5.7 windows?

Markus,

If dbf has already been copied to shp then Cygwin simply complains
that they are the same file. Use the "-f" option to force an overwrite.

John Huddleston

-----Original Message-----
From: grass5-admin@grass.itc.it [mailto:grass5-admin@grass.itc.it] On Behalf
Of Markus Neteler
Sent: Tuesday, March 30, 2004 6:19 AM
To: Richard Greenwood
Cc: grass5 developers list
Subject: [GRASS5] Re: grass 5.7 windows?

Hello list members,

Richard and me are currently testing some recent compilation
of 5.7 under Cygwin. A strange error occurs:

On Mon, Mar 29, 2004 at 11:37:54AM -0700, Richard Greenwood wrote:

cp

/cygdrive/e/projects/grass/grass57_cvs/dist.i686-pc-cygwin/driver/db/dbf
/cygdrive/e/projects/grass/grass57_cvs/dist.i686-pc-cygwin/driver/db/shp

cp:

`/cygdrive/e/projects/grass/grass57_cvs/dist.i686-pc-cygwin/driver/db/dbf'
and
`/cygdrive/e/projects/grass/grass57_cvs/dist.i686-pc-cygwin/driver/db/shp'
are the same file

make[3]: ***
[/cygdrive/e/projects/grass/grass57_cvs/dist.i686-pc-cygwin/driver/db/dbf]

Error 1

make[3]: Leaving directory

`/cygdrive/e/projects/grass/grass57_cvs/db/drivers/dbf'

make[2]: *** [subdirs] Error 1
make[2]: Leaving directory

`/cygdrive/e/projects/grass/grass57_cvs/db/drivers'

make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/cygdrive/e/projects/grass/grass57_cvs/db'
make: *** [default] Error 1

I'm a bit clueless since it should simply copy a file to a new filename:

tail -3 ~/grass57/db/drivers/dbf/Makefile
        $(CC) $(LDFLAGS) -o $@ $(ARCH_OBJS) $(LIBES) $(MATHLIB) $(XDRLIB)
        cp $(DRIVER) $(SHPDRIVER)

Any ideas?

Markus

_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5