[GRASS-user] Re: CYGWIN
Glynn Clements
glynn at gclements.plus.com
Thu Dec 10 17:29:15 EST 2009
Luigi Ponti wrote:
> >> This is likely naive and/or just out of ignorance, but I am not sure
> >> whether there is a chance to get GRASS 6.4 running on Cygwin should I be
> >> able to compile it from source on my Cygwin installation. Sorry in
> >> advance if this is nonsense.
> >>
> >
> > All I know is that the binaries which I compiled work fine on my
> > Windows XP system.
> >
>
> Update: you are right -- it works on XP, but I am on Windows 7.
> While installing on Cygwin the packages required to compile GRASS, it
> occurred to me I had read on Cygwin website that Windows 7 would have
> been supported starting next major version 1.7 (see http://cygwin.com/).
> However, 1.7 is in beta testing and available to install, which I did.
> Things work much better, and now GRASS 6.4.0RC5 starts up fine with
> tcltk gui.
>
> First problem I encountered next is with the dbf driver. The output of
> /db.connect -p/ seems ok:
> But when I do /db.test test1/ errors arise:
> select * from grass_test1
> EXECUTE: OK
> 1c1
> < 1|123.456|abcd
> ---
> > 1|123.456000|abcd
> ERROR: RESULT: ******** ERROR ********
This should be harmless in practice. I get the same result with both
Cygwin and native versions of GRASS.
> insert into grass_test1 values ( 3, 0.0, '_''_' )
> 3 [main] db.execute 2616 fork: child -1 - died waiting for longjmp
> before initialization, retry 0, exit code 0xC0000005, errno 11
> Resource temporarily unavailable: can't create fork
My guess is that this is a problem with Cygwin and Windows 7.
> Any idea what happens and/or testing hints for better diagnosis?
Not really. This may just be a case of Cygwin not fully supporting
Windows 7 yet.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user
mailing list