[GRASS-dev] Installing GRASS on cygwin

Hi,
I’m having issues installing GRASS on cygwin running on Windows.
I execute the configure script below successfully and with no errors.

CFLAGS=“-g -Wall” ./configure --with-includes=c:/msys/local/include
–with-libs=c:/msys/local/lib --with-python --with-proj-share=/usr/share/proj
But when I run make, it hangs when it enters the d.ask command:

make[2]: Entering directory `/c/GRASS/grass-6.2.2/display/d.ask’
GISRC=/c/GRASS/grass-6.2.2/dist.i686-pc-cygwin/demolocation/.grassrc62
GISBASE=/c/GRASS/grass-6.2.2/dist.i686-pc-cygwin
PATH=/c/GRASS/grass-6.2.2/dist.i686-pc-cygwin/bin:$PATH
PATH=“/c/GRASS/grass-6.2.2/dist.i686-pc-cygwin/lib:./:/usr/local/grass-6.2.2/bin_extra:/usr/local/gr
ass-6.2.2/bin_tcl:/usr/local/bin:/usr/bin:/b
in:/usr/X11R6/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/Pro
gram Files/ATI Technologies/ATI Control Panel:/c/Program
Files/Reflection:/c/arcgis/arcexe9x/bin:/c/PROGRA~1/COMMON~1/DHI/MikeZero:/c/Program
Files/GnuWin32/bin:/usr/local/gmt/bin:/c/Program Files/Common
Files/DHI/MIKEZero:/c/Program Files/QuickTime/QTSystem/:/c/Program
Files/Attachmate/Reflection/:/usr/local/bin:/usr/X11R6/bin:/usr/bin:/c/Program
Files/wgrib” LC_ALL=C /c/GRASS/grass-6.2.2/dist.i686-pc-cygwin/bin/d.ask
–html-description | grep -v ‘|’ > d.ask.tmp.html ; true

I would be really grateful if anyone could help as I’ve wasted 2 days trying
to fix this. Thanks,
Garret.

Garret, I can’t help with the error message, but have you tried the non-cygwin windows version? It’s still beta, but is pretty close. You can get it at http://moritz.homelinux.org/grass/wingrass/. Another alternative is qgis, which has its own gui frontend but runs grass commands. That’s available from http://qgis.org/index.php?option=com_content&task=view&id=65&Itemid=71.

Regards, Jerry


From: grass-dev-bounces@grass.itc.it [mailto:grass-dev-bounces@grass.itc.it] On Behalf Of Duffy, Garret
Sent: Thursday, September 27, 2007 1:34 PM
To: grass-dev@grass.itc.it
Subject: [GRASS-dev] Installing GRASS on cygwin

Hi,
I’m having issues installing GRASS on cygwin running on Windows.
I execute the configure script below successfully and with no errors.

CFLAGS=“-g -Wall” ./configure --with-includes=c:/msys/local/include
–with-libs=c:/msys/local/lib --with-python --with-proj-share=/usr/share/proj
But when I run make, it hangs when it enters the d.ask command:

make[2]: Entering directory `/c/GRASS/grass-6.2.2/display/d.ask’
GISRC=/c/GRASS/grass-6.2.2/dist.i686-pc-cygwin/demolocation/.grassrc62
GISBASE=/c/GRASS/grass-6.2.2/dist.i686-pc-cygwin
PATH=/c/GRASS/grass-6.2.2/dist.i686-pc-cygwin/bin:$PATH
PATH=“/c/GRASS/grass-6.2.2/dist.i686-pc-cygwin/lib:./:/usr/local/grass-6.2.2/bin_extra:/usr/local/gr
ass-6.2.2/bin_tcl:/usr/local/bin:/usr/bin:/b
in:/usr/X11R6/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/Pro
gram Files/ATI Technologies/ATI Control Panel:/c/Program
Files/Reflection:/c/arcgis/arcexe9x/bin:/c/PROGRA~1/COMMON~1/DHI/MikeZero:/c/Program
Files/GnuWin32/bin:/usr/local/gmt/bin:/c/Program Files/Common
Files/DHI/MIKEZero:/c/Program Files/QuickTime/QTSystem/:/c/Program
Files/Attachmate/Reflection/:/usr/local/bin:/usr/X11R6/bin:/usr/bin:/c/Program
Files/wgrib” LC_ALL=C /c/GRASS/grass-6.2.2/dist.i686-pc-cygwin/bin/d.ask
–html-description | grep -v ‘|’ > d.ask.tmp.html ; true

I would be really grateful if anyone could help as I’ve wasted 2 days trying
to fix this. Thanks,
Garret.

Duffy, Garret wrote:

I'm having issues installing GRASS on cygwin running on Windows.
I execute the configure script below successfully and with no errors.

CFLAGS="-g -Wall" ./configure --with-includes=c:/msys/local/include \
--with-libs=c:/msys/local/lib --with-python

References to MSys and the use of Windows-style pathnames are both
incorrect if you're building for Cygwin.

The --with-includes and --with-libs switches should be removed. If
configure fails due to missing dependencies, you need to install the
appropriate Cygwin packages. Using MSys packages won't work.

--
Glynn Clements <glynn@gclements.plus.com>

I'm having issues installing GRASS on cygwin running on Windows.
I execute the configure script below successfully and with no errors.

CFLAGS="-g -Wall" ./configure --with-includes=c:/msys/local/include \
--with-libs=c:/msys/local/lib --with-python
--with-proj-share=/usr/share/proj
But when I run make, it hangs when it enters the d.ask command:

make[2]: Entering directory `/c/GRASS/grass-6.2.2/display/d.ask'
GISRC=/c/GRASS/grass-6.2.2/dist.i686-pc-cygwin/demolocation/.grassrc62
GISBASE=/c/GRASS/grass-6.2.2/dist.i686-pc-cygwin
PATH=/c/GRASS/grass-6.2.2/dist.i686-pc-cygwin/bin:$PATH
PATH="/c/GRASS/grass-6.2.2/dist.i686-pc-cygwin/lib:./:/usr/local/grass-6.2.2
/bin_extra:/usr/local/gr
ass-6.2.2/bin_tcl:/usr/local/bin:/usr/bin:/b
in:/usr/X11R6/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c
/Pro
gram Files/ATI Technologies/ATI Control Panel:/c/Program
Files/Reflection:/c/arcgis/arcexe9x/bin:/c/PROGRA~1/COMMON~1/DHI/MikeZero:/c
/Program
Files/GnuWin32/bin:/usr/local/gmt/bin:/c/Program Files/Common
Files/DHI/MIKEZero:/c/Program Files/QuickTime/QTSystem/:/c/Program
Files/Attachmate/Reflection/:/usr/local/bin:/usr/X11R6/bin:/usr/bin:/c/Progr
am
Files/wgrib" LC_ALL=C /c/GRASS/grass-6.2.2/dist.i686-pc-cygwin/bin/d.ask
--html-description | grep -v '</body>\|</html>' > d.ask.tmp.html ; true

d.ask is a rarely used module which you will almost surely be able to
live without. I suggest you remove it from display/Makefile and try again.
It will be removed for GRASS 7 as it is incompatible with the new GUIs.

Hamish