[GRASSLIST:6322] Re: INSTALLATION PROBLEM

Massimiliano Cannata massimiliano.cannata at supsi.ch
Mon Apr 4 04:19:55 EDT 2005


Yes, my version is grass-6.0.0
.... unfortunately....... it is!
Trying to compile the module g.region under his own directory I can 
notice some error in make (that anyway did not exclude the compilation?!?!),
maybe someone can help me in solving the problem...
here is it the error:

> [root at istgis g.region]# INST_NOW=y make
> cmd
> make[1]: Entering directory 
> `/usr/local/src/grass-6.0.0/general/g.region/cmd'
> gcc -I/usr/local/src/grass-6.0.0/include 
> -I/usr/local/grass-6.0.0/include/grass  -O -mcpu=i486 -Wall  -Wall 
> -Wconversion -Wno-implicit-int   -I/usr/local/include     
> -DPACKAGE=\""grassmods"\"  -I/usr/local/include 
> -I/usr/local/src/grass-6.0.0/include 
> -I/usr/local/grass-6.0.0/include/grass \
>         -o OBJ.i686-pc-linux-gnu/adjust.o -c adjust.c
> adjust.c: In function `adjust_window':
> adjust.c:8: warning: suggest parentheses around assignment used as 
> truth value
> gcc -I/usr/local/src/grass-6.0.0/include 
> -I/usr/local/grass-6.0.0/include/grass  -O -mcpu=i486 -Wall  -Wall 
> -Wconversion -Wno-implicit-int   -I/usr/local/include     
> -DPACKAGE=\""grassmods"\"  -I/usr/local/include 
> -I/usr/local/src/grass-6.0.0/include 
> -I/usr/local/grass-6.0.0/include/grass \
>         -o OBJ.i686-pc-linux-gnu/main.o -c main.c
> In file included from /usr/local/src/grass-6.0.0/include/vect/digit.h:3,
>                  from /usr/local/src/grass-6.0.0/include/Vect.h:4,
>                  from main.c:27:
> /usr/local/src/grass-6.0.0/include/vect/dig_structs.h:15:17: dgl.h: No 
> such file or directory
> /usr/local/src/grass-6.0.0/include/vect/dig_structs.h:16:22: 
> shapefil.h: No such file or directory
> In file included from /usr/local/src/grass-6.0.0/include/vect/digit.h:3,
>                  from /usr/local/src/grass-6.0.0/include/Vect.h:4,
>                  from main.c:27:
> /usr/local/src/grass-6.0.0/include/vect/dig_structs.h:18:19: rtree.h: 
> No such file or directory
> make[1]: *** [OBJ.i686-pc-linux-gnu/main.o] Error 1


Thanks for trying in help me....
Maxi


Hamish wrote:

>>Hi, can anyone help me?
>>I cannot get any response ar idea about what is going wrong......
>>Here is the compilation log and as you can see I get no errors....
>>
>>
>>GRASS GIS compilation log
>>-------------------------
>>Started compilation: Wed Mar 30 10:03:08 CEST 2005
>>Errors in:
>>Finished compilation: Wed Mar 30 10:10:09 CEST 2005
>>(In case of errors please change into the directory with error and run
>>
>>'make')
>>
>>It seems that I get error in reading region...
>>by using the same WIND file on my laptop (whare i successfully install
>>
>>GRASS-6.0.0) and on the server it gives me always the same
>>error.......
>>
>>GRASS 6.0.0 (test1):/usr/local/src/grass-6.0.0 > g.region -p
>>ERROR: default region is invalid
>>       line 11: <top: 1>
>>
>>her ethe WIND file:
>>proj:       99
>>zone:       0
>>north:      177846.30208341
>>south:      56014.58333336
>>east:       744765.89285719
>>west:       647731.25000004
>>cols:       970
>>rows:       1218
>>e-w resol:  100.03571429
>>n-s resol:  100.02604167
>>top:        1
>>bottom:     0
>>cols3:      970
>>rows3:      1218
>>depths:     1
>>e-w resol3: 100.03571429
>>n-s resol3: 100.02604167
>>t-b resol:  1
>>
>>What can I try to meke grass working?
>>    
>>
>
>
>maybe a dumb question, but are you sure this isn't happening in 
>GRASS 5.4? (g.version)
>
>
>GRASS 5.4 can not currently read GRASS 6 region (WIND) settings and
>gives you that error.
>
>
>
>Hamish
>
>
>  
>

-- 

Eng. Massimiliano Cannata
Scuola Universitaria Professionale della Svizzera Italiana
Istituto Scienze della Terra
Via Trevano, c.p. 72
CH-6952 Canobbio-Lugano
Tel: +41 (0)91 935 12 25
Fax +41 (0)91 935 12 09

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20050404/d3cf6cef/attachment.html


More information about the grass-user mailing list