[GRASSLIST:10164] Make command fault...
sisma66 at tiscali.it
sisma66 at tiscali.it
Mon Feb 6 06:23:29 EST 2006
Dear Grass users,
I'm tring to install grass61 on my machine (OS mandriva 2006).
After configure i run make, but at the end I have errors in all this modules:
Following modules are missing the 'description.html' file in src code:
g.pnmcomp
----------------------------------------------------------------------
GRASS GIS compilation log
-------------------------
Started compilation: lun feb 6 12:15:33 CET 2006
--
Errors in:
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/lib/proj
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/lib/vector/diglib
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/lib/vector/Vlib
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/lib/sites
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/lib/rst/interp_float
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/lib/ogsf
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/db/drivers/ogr
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/display/d.extend
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/display/d.grid
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/display/d.path
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/display/d.vect
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/display/d.vect.chart
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/display/d.what.vect
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/display/d.where
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/display/d.zoom
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/general/g.proj
....
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.what.rast
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.vol.rst
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.out.ogr
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.in.ogr
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/vector/v.external
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/visualization/nviz
If I run make on v.univar folder I have this errors:
[pierluigi at uni grass-6.1.cvs_src_snapshot_2006_01_30]$ cd vector/v.univar/
[pierluigi at uni v.univar]$ make
gcc -I/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include
-I/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/dist.i686-pc-linux-gnu/include/grass
-g -O2 -Wall -Wconversion -Wno-implicit-int
-I/var/tmp/gdal-1.3.1-3mdk2006-root//usr/include
-DPACKAGE=\""grassmods"\"
-I/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include
-I/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/dist.i686-pc-linux-gnu/include/grass
\
-o OBJ.i686-pc-linux-gnu/main.o -c main.c
In file included
from /home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include/vect/digit.h:3,
from /home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include/Vect.h:4,
from main.c:21:
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include/vect/dig_structs.h:22:21:
error: ogr_api.h: No such file or directory
In file included
from /home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include/vect/digit.h:3,
from /home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include/Vect.h:4,
from main.c:21:
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include/vect/dig_structs.h:170:
error: syntax error before 'OGRDataSourceH'
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include/vect/dig_structs.h:170:
warning: no semicolon at end of struct or union
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include/vect/dig_structs.h:171:
warning: data definition has no type or storage class
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include/vect/dig_structs.h:186:
error: syntax error before 'feature_cache'
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include/vect/dig_structs.h:186:
warning: data definition has no type or storage class
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include/vect/dig_structs.h:209:
error: syntax error before '}' token
/home/pi/GRASS_SOURCE/grass-6.1.cvs_src_snapshot_2006_01_30/include/vect/dig_structs.h:213:
error: field 'ogr' has incomplete type
main.c: In function 'main':
main.c:271: warning: implicit declaration of function 'sqrt'
main.c:271: warning: incompatible implicit declaration of built-in function
'sqrt'
make: *** [OBJ.i686-pc-linux-gnu/main.o] Error 1
Can Anyone help me??
Maybe is my compiler wrong??
Thanks to all
Pierluigi
More information about the grass-user
mailing list