[GRASS-user] Help reqired

Arindam Nath arindam04 at gmail.com
Wed Mar 14 16:34:38 EDT 2007


Ok then there is no other option than to run in Linux.. right!
I have downloaded the full source code (grass-6.2.1.tar.gz) from the site
http://grass.itc.it/download/index.php.
I have also installed Cygwin as directed in
http://grass.itc.it/grass62/binary/mswindows/
After decompression the file I am trying to compile the make file in Linux
but it is showing compilation errors.
if [ 1 -eq 1 ] ; then make -C locale; fi
make[1]: Entering directory `/home/a/ax/axn8170/grass-6.2.1/locale'
../include/Make/Module.make:31: warning: overriding commands for target
`@GRASS_HOME@/dist. at host@/bin'
../include/Make/Grass.make:397: warning: ignoring old commands for target
`@GRASS_HOME@/dist. at host@/bin'
../include/Make/Module.make:36: warning: overriding commands for target
`@GRASS_HOME@/dist. at host@/etc'
../include/Make/Grass.make:400: warning: ignoring old commands for target
`@GRASS_HOME@/dist. at host@/etc'
/bin/sh: line 1: CC@: command not found
make[1]: *** [@GRASS_HOME@/dist. at host@/bin] Error 127
make[1]: Leaving directory `/home/a/ax/axn8170/grass-6.2.1/locale'
make: *** [default] Error 2

I am not able to understand the error message.
Moreover,
When I start Cygwin and then start x-windows and the typing grass62,  then
it is unable to display the data. Please note that I  have downloaded the
sample dataset
slovakia and slovakia3D in the grass data folder.
Can you please give me a detailed step by step instruction for running grass
from source code in Linux. I want to run the operations separately (like the
raster3D, raster operations) so that I can make use of the existing
functionality and add to those.
It will be appriciated if you can give me a step by step guide as to how
this is possible. Expecting your cooperation.
Regards
Arindam

Hi Brad,
I am trying to compile the code available at
http://grass.itc.it/download/index.php in Linux
But there is an error in  compiling the makefile.

On 3/14/07, Brad Douglas <rez at touchofmadness.com> wrote:
>
> On Tue, 2007-03-13 at 18:24 -0500, Arindam Nath wrote:
> > Hi,
> > I am trying if I can use the source code for GRASS and compile in VC++
> > (Windows.) so that I can run from Windows platfrom without Cygwin. The
> > desire is to run it just as a VC++ workspace.
> > Can any one please help me in ths regard.
>
> GRASS uses a number of UNIX conventions that are not present in Windows.
> Cygwin provides the majority of missing functionality.
>
> Unfortunately, a native[1] Windows port would involve a rewrite of most
> of the code.  IMO, the only realistic approach is to emulate object
> orientation so that each OS could provide low level hooks to generalize
> the code sanely (this approach will not cluttering the code with
> preprocessor macros, long branches, etc.).
>
> It would be nice to provide a native Windows port, but I don't see this
> happening anytime soon.  There is too much code and not enough
> entrenched developers to provide such Whiz-Bang features.
>
> [1] Cygwin is *not* native Windows.  WIN32 API *is*.
>
>
> --
> Brad Douglas <rez touchofmadness com>                    KB8UYR/6
> Address: 37.493,-121.924 / WGS84    National Map Corps #TNMC-3785
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20070314/1f2adb22/attachment.html


More information about the grass-user mailing list