<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-3" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 10/12/2009 23:29, Glynn Clements wrote:
<blockquote
 cite="mid:19233.30267.37755.217044@cerise.gclements.plus.com"
 type="cite">
  <pre wrap="">Luigi Ponti wrote:
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <blockquote type="cite">
        <pre wrap="">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.
    
        </pre>
      </blockquote>
      <pre wrap="">All I know is that the binaries which I compiled work fine on my
Windows XP system.
  
      </pre>
    </blockquote>
    <pre wrap="">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 <a class="moz-txt-link-freetext" href="http://cygwin.com/">http://cygwin.com/</a>). 
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:
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
  <blockquote type="cite">
    <pre wrap="">But when I do /db.test test1/ errors arise:
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
[...]
  <pre wrap=""><!---->
My guess is that this is a problem with Cygwin and Windows 7.
  </pre>
</blockquote>
<br>
I have eventually reverted back to GRASS 6.3.0 for now, after fixing
some missing dll's. I am not sure what is wrong with 6.4 vs 6.3 but I
need a functional GRASS/Cygwin version to run some bash scripts while I
port them to Phython.<br>
<br>
Actually, my bash GRASS scripts call a number of Perl scripts for text
processing purposes (tweaking ascii georeferenced files to be fed to
v.in.ascii, creating color rules on the fly, writing HTML files to
summarize output, and other little tasks that I found convenient to
code in Perl given my limited programming experience and the huge
amount of Perl info and examples available on the web). Therefore, I
was thinking to do text processing and other stuff using Python but
this will require a bit more than simply implementing a series of grass
commands (i.e. learning some Python), that is why I need the Cygwin
version meanwhile.<br>
<br>
Also, is it even possible to do Python scripting in the native Windows
GRASS 6.4.x? For example, I noticed that some of the GRASS scripts that
have been translated to Python require a grass.py package, which I
don't see in my osgeo4w installation.<br>
<br>
Kind regards,<br>
<br>
Luigi<br>
<br>
<blockquote
 cite="mid:19233.30267.37755.217044@cerise.gclements.plus.com"
 type="cite">
  <pre wrap="">
  </pre>
  <blockquote type="cite">
    <pre wrap="">Any idea what happens and/or testing hints for better diagnosis?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Not really. This may just be a case of Cygwin not fully supporting
Windows 7 yet.
  </pre>
</blockquote>
In case I want to keep trying compiling on Cygwin, should I do that in
a parallel Cygwin installation on, say, a different HD partition (to
preserve at least one functional Cygwin version)?<br>
<br>
Kind regards and thanks again for your help,<br>
<br>
Luigi<br>
<br>
<br>
<br>
</body>
</html>