[GRASS-user] Trouble installing addons, GRASS 6.4 on SuSE 12.1
Lars Forseth
lars.forseth at ntebb.no
Tue Jul 31 14:34:34 PDT 2012
Hi!
I'm having trouble installing addons (that recide in svn and need
compiling) on GRASS 6.4.2 on my SuSE 12.1 installation.
I first tried through g.extension; that failed; se belowe!
Then I checked out the code from the svn server; and tried to compile.
Failure!
It complains that the file grass/gis.h is missimg, se below!
This file is however found in: opt/grass/include/grass/gis.h !
What am I missing here?
Regards
larsf
Errors from
compilation:----------------------------------------------------------------------------------------------------------------------
larsf at yoda:~/grassgis/Addons/grass-addons/grass6/raster/r.xtent> make
MODULE_TOPDIR=/opt/grass/
/opt/grass//include/Make/Module.make:25: warning: overriding recipe for
target `install'
/opt/grass//include/Make/Rules.make:90: warning: ignoring old recipe for
target `install'
make OBJ.i686-pc-linux-gnu
make[1]: Entering directory
`/home/larsf/grassgis/Addons/grass-addons/grass6/raster/r.xtent'
/opt/grass//include/Make/Module.make:25: warning: overriding recipe for
target `install'
/opt/grass//include/Make/Rules.make:90: warning: ignoring old recipe for
target `install'
make[1]: `OBJ.i686-pc-linux-gnu' is up to date.
make[1]: Leaving directory
`/home/larsf/grassgis/Addons/grass-addons/grass6/raster/r.xtent'
gcc
-I/home/abuild/rpmbuild/BUILDROOT/grass-6.4.2-3.14.i386/opt/grass/include -O2
-I/usr/include/gdal -I/usr/include -DPACKAGE=\""grassmods"\"
-I/home/abuild/rpmbuild/BUILDROOT/grass-6.4.2-3.14.i386/opt/grass/include -o
OBJ.i686-pc-linux-gnu/at_exit_funcs.o -c at_exit_funcs.c
at_exit_funcs.c:30:23: fatal error: grass/gis.h: Ingen slik fil eller
filkatalog (Norwegian; in English: "No such file or directory")
compilation terminated.
make: *** [OBJ.i686-pc-linux-gnu/at_exit_funcs.o] Error 1
larsf at yoda:~/grassgis/Addons/grass-addons/grass6/raster/r.xtent>
Errormessages from
G.extension:--------------------------------------------------------------------------------------------------------------------------------------------
(Tue Jul 31 23:20:11 2012)
g.extension -u extension=r.xtent
svnurl=http://svn.osgeo.org/grass/grass-addons/grass6
Fetching <r.xtent> from GRASS-Addons SVN (be patient)...
A r.xtent/tools.c
A r.xtent/at_exit_funcs.h
A r.xtent/gt_vector.h
A r.xtent/xtent.c
A r.xtent/r.xtent.001.png
A r.xtent/r.xtent.002.png
A r.xtent/tools.h
A r.xtent/description.html
A r.xtent/r.xtent.003.png
A r.xtent/r.xtent.004.png
A r.xtent/xtent.h
A r.xtent/r.xtent.005.png
A r.xtent/r.xtent.006.png
A r.xtent/r.xtent.007.png
A r.xtent/main.c
A r.xtent/geom.c
A r.xtent/globals.h
A r.xtent/at_exit_funcs.c
A r.xtent/gt_vector.c
A r.xtent/geom.h
A r.xtent/Makefile
Compiling <r.xtent>...
/opt/grass/include/Make/Grass.make:422: warning: overriding
recipe for target `/home/larsf/grassgis/Frosta/larsf/.tmp/yo
da/32363.0/dist.i686-suse-linux/bin'
/opt/grass/include/Make/Grass.make:413: warning: ignoring
old recipe for target `/home/larsf/grassgis/Frosta/larsf/.tm
p/yoda/32363.0/dist.i686-suse-linux/bin'
/opt/grass/include/Make/Module.make:25: warning: overriding
recipe for target `install'
/opt/grass/include/Make/Rules.make:90: warning: ignoring old
recipe for target `install'
/opt/grass/include/Make/Grass.make:422: warning: overriding
recipe for target `/home/larsf/grassgis/Frosta/larsf/.tmp/yo
da/32363.0/dist.i686-suse-linux/bin'
/opt/grass/include/Make/Grass.make:413: warning: ignoring
old recipe for target `/home/larsf/grassgis/Frosta/larsf/.tm
p/yoda/32363.0/dist.i686-suse-linux/bin'
/opt/grass/include/Make/Module.make:25: warning: overriding
recipe for target `install'
/opt/grass/include/Make/Rules.make:90: warning: ignoring old
recipe for target `install'
/opt/grass/include/Make/Grass.make:422: warning: overriding
recipe for target `/home/larsf/grassgis/Frosta/larsf/.tmp/yo
da/32363.0/dist.i686-suse-linux/bin'
/opt/grass/include/Make/Grass.make:413: warning: ignoring
old recipe for target `/home/larsf/grassgis/Frosta/larsf/.tm
p/yoda/32363.0/dist.i686-suse-linux/bin'
/opt/grass/include/Make/Module.make:25: warning: overriding
recipe for target `install'
/opt/grass/include/Make/Rules.make:90: warning: ignoring old
recipe for target `install'
U r.xtent
Sjekket ut revisjon 52489.
mkdir -p
/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/bin
mkdir -p
/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/include/grass
mkdir -p
/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/etc
mkdir -p
/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/driver
mkdir -p
/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/driver/db
mkdir -p
/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/fonts
make OBJ.i686-pc-linux-gnu
make[1]: Entering directory
`/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/r.xtent'
test -d OBJ.i686-pc-linux-gnu || mkdir -p OBJ.i686-pc-linux-gnu
make[1]: Leaving directory
`/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/r.xtent'
gcc '-I/opt/grass/include' '-I/home/larsf/.grass6/addons/include'
'-I/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/include'
-O2 -I/usr/include/gdal -I/usr/include -DPACKAGE=\""grassmods"\"
'-I/opt/grass/include' '-I/home/larsf/.grass6/addons/include'
'-I/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/include'
-o OBJ.i686-pc-linux-gnu/at_exit_funcs.o -c at_exit_funcs.c
make OBJ.i686-pc-linux-gnu
make[1]: Entering directory
`/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/r.xtent'
make[1]: `OBJ.i686-pc-linux-gnu' is up to date.
make[1]: Leaving directory
`/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/r.xtent'
gcc '-I/opt/grass/include' '-I/home/larsf/.grass6/addons/include'
'-I/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/include'
-O2 -I/usr/include/gdal -I/usr/include -DPACKAGE=\""grassmods"\"
'-I/opt/grass/include' '-I/home/larsf/.grass6/addons/include'
'-I/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/include'
-o OBJ.i686-pc-linux-gnu/gt_vector.o -c gt_vector.c
make OBJ.i686-pc-linux-gnu
make[1]: Entering directory
`/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/r.xtent'
make[1]: `OBJ.i686-pc-linux-gnu' is up to date.
make[1]: Leaving directory
`/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/r.xtent'
gcc '-I/opt/grass/include' '-I/home/larsf/.grass6/addons/include'
'-I/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/include'
-O2 -I/usr/include/gdal -I/usr/include -DPACKAGE=\""grassmods"\"
'-I/opt/grass/include' '-I/home/larsf/.grass6/addons/include'
'-I/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/include'
-o OBJ.i686-pc-linux-gnu/tools.o -c tools.c
make OBJ.i686-pc-linux-gnu
make[1]: Entering directory
`/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/r.xtent'
make[1]: `OBJ.i686-pc-linux-gnu' is up to date.
make[1]: Leaving directory
`/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/r.xtent'
gcc '-I/opt/grass/include' '-I/home/larsf/.grass6/addons/include'
'-I/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/include'
-O2 -I/usr/include/gdal -I/usr/include -DPACKAGE=\""grassmods"\"
'-I/opt/grass/include' '-I/home/larsf/.grass6/addons/include'
'-I/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/include'
-o OBJ.i686-pc-linux-gnu/main.o -c main.c
/opt/grass/include/Make/Grass.make:422: warning: overriding
recipe for target `/home/larsf/grassgis/Frosta/larsf/.tmp/yo
da/32363.0/dist.i686-suse-linux/bin'
/opt/grass/include/Make/Grass.make:413: warning: ignoring
old recipe for target `/home/larsf/grassgis/Frosta/larsf/.tm
p/yoda/32363.0/dist.i686-suse-linux/bin'
/opt/grass/include/Make/Module.make:25: warning: overriding
recipe for target `install'
/opt/grass/include/Make/Rules.make:90: warning: ignoring old
recipe for target `install'
/opt/grass/include/Make/Grass.make:422: warning: overriding
recipe for target `/home/larsf/grassgis/Frosta/larsf/.tmp/yo
da/32363.0/dist.i686-suse-linux/bin'
/opt/grass/include/Make/Grass.make:413: warning: ignoring
old recipe for target `/home/larsf/grassgis/Frosta/larsf/.tm
p/yoda/32363.0/dist.i686-suse-linux/bin'
/opt/grass/include/Make/Module.make:25: warning: overriding
recipe for target `install'
/opt/grass/include/Make/Rules.make:90: warning: ignoring old
recipe for target `install'
/opt/grass/include/Make/Grass.make:422: warning: overriding
recipe for target `/home/larsf/grassgis/Frosta/larsf/.tmp/yo
da/32363.0/dist.i686-suse-linux/bin'
/opt/grass/include/Make/Grass.make:413: warning: ignoring
old recipe for target `/home/larsf/grassgis/Frosta/larsf/.tm
p/yoda/32363.0/dist.i686-suse-linux/bin'
/opt/grass/include/Make/Module.make:25: warning: overriding
recipe for target `install'
/opt/grass/include/Make/Rules.make:90: warning: ignoring old
recipe for target `install'
make OBJ.i686-pc-linux-gnu
make[1]: Entering directory
`/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/r.xtent'
make[1]: `OBJ.i686-pc-linux-gnu' is up to date.
make[1]: Leaving directory
`/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/r.xtent'
gcc '-I/opt/grass/include' '-I/home/larsf/.grass6/addons/include'
'-I/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/include'
-O2 -I/usr/include/gdal -I/usr/include -DPACKAGE=\""grassmods"\"
'-I/opt/grass/include' '-I/home/larsf/.grass6/addons/include'
'-I/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/include'
-o OBJ.i686-pc-linux-gnu/xtent.o -c xtent.c
make OBJ.i686-pc-linux-gnu
make[1]: Entering directory
`/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/r.xtent'
make[1]: `OBJ.i686-pc-linux-gnu' is up to date.
make[1]: Leaving directory
`/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/r.xtent'
gcc '-I/opt/grass/include' '-I/home/larsf/.grass6/addons/include'
'-I/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/include'
-O2 -I/usr/include/gdal -I/usr/include -DPACKAGE=\""grassmods"\"
'-I/opt/grass/include' '-I/home/larsf/.grass6/addons/include'
'-I/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/include'
-o OBJ.i686-pc-linux-gnu/geom.o -c geom.c
/opt/grass/include/Make/Grass.make:422: warning: overriding
recipe for target `/home/larsf/grassgis/Frosta/larsf/.tmp/yo
da/32363.0/dist.i686-suse-linux/bin'
/opt/grass/include/Make/Grass.make:413: warning: ignoring
old recipe for target `/home/larsf/grassgis/Frosta/larsf/.tm
p/yoda/32363.0/dist.i686-suse-linux/bin'
/opt/grass/include/Make/Module.make:25: warning: overriding
recipe for target `install'
/opt/grass/include/Make/Rules.make:90: warning: ignoring old
recipe for target `install'
gcc '-L/opt/grass/lib' '-L/home/larsf/.grass6/addons/lib'
'-L/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/lib'
-Wl,--export-dynamic -Wl,-rpath-link,/opt/grass/lib -o
/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/bin/r.xtent
OBJ.i686-pc-linux-gnu/at_exit_funcs.o OBJ.i686-pc-linux-gnu/gt_vector.o
OBJ.i686-pc-linux-gnu/tools.o OBJ.i686-pc-linux-gnu/main.o
OBJ.i686-pc-linux-gnu/xtent.o OBJ.i686-pc-linux-gnu/geom.o
-lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_datetime.6.4.2
-lgrass_vect.6.4.2 -lgrass_dbmibase.6.4.2 -lgrass_gis.6.4.2
-lgrass_datetime.6.4.2 -lz -lgrass_dbmiclient.6.4.2
-lgrass_dbmibase.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz
-lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_dgl.6.4.2
-lgrass_dig2.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz
-lgrass_rtree.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz
-lgrass_linkm.6.4.2 -lgrass_rtree.6.4.2 -lgrass_dig2.6.4.2
-lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_rtree.6.4.2
-lgrass_dgl.6.4.2 -lgrass_rtree.6.4.2 -lgrass_linkm.6.4.2
-lgrass_dbmiclient.6.4.2 -lgrass_dbmibase.6.4.2 -lgrass_gis.6.4.2
-lgrass_datetime.6.4.2 -lz -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2
-lz -lgrass_dbmibase.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2
-lz -L/usr/lib -lgdal -L/usr/lib -lgeos -lgeos_c
-lgrass_dbmiclient.6.4.2 -lgrass_dbmibase.6.4.2 -lgrass_gis.6.4.2
-lgrass_datetime.6.4.2 -lz -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2
-lz -lgrass_dbmibase.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2
-lz -lm -lz
make htmlcmd
make[1]: Entering directory
`/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/r.xtent'
make
/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/docs/html/r.xtent.html
HTMLSRC=/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/bin/r.xtent
make[2]: Entering directory
`/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/r.xtent'
if [
"/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/bin/r.xtent"
!= "" ] ; then
GISRC=/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/demolocation/.grassrc64
GISBASE=/home/abuild/rpmbuild/BUILDROOT/grass-6.4.2-3.14.i386/opt/grass
PATH="/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/bin:$PATH"
LD_LIBRARY_PATH="/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/bin:/opt/grass/lib:/opt/grass/lib:/usr/lib/mpi/gcc/openmpi/lib"
LC_ALL=C
/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/bin/r.xtent
--html-description < /dev/null | grep -v '</body>\|</html>' >
r.xtent.tmp.html ; true ; fi
/opt/grass/tools/mkhtml.sh r.xtent ; mkdir -p
/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/docs/html
; /usr/bin/install -c -m 644 r.xtent.tmp.html
/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/docs/html/r.xtent.html
; for file in *.png *.jpg ; do head -n 1 $file | grep '^#!' > /dev/null
; if [ $? -ne 0 ] ; then /usr/bin/install -c -m 644 $file
/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/docs/html
; fi done 2> /dev/null ; true
/opt/grass/include/Make/Grass.make:422: warning: overriding
recipe for target `/home/larsf/grassgis/Frosta/larsf/.tmp/yo
da/32363.0/dist.i686-suse-linux/bin'
/opt/grass/include/Make/Grass.make:413: warning: ignoring
old recipe for target `/home/larsf/grassgis/Frosta/larsf/.tm
p/yoda/32363.0/dist.i686-suse-linux/bin'
/opt/grass/include/Make/Module.make:25: warning: overriding
recipe for target `install'
/opt/grass/include/Make/Rules.make:90: warning: ignoring old
recipe for target `install'
/opt/grass/include/Make/Grass.make:422: warning: overriding
recipe for target `/home/larsf/grassgis/Frosta/larsf/.tmp/yo
da/32363.0/dist.i686-suse-linux/bin'
/opt/grass/include/Make/Grass.make:413: warning: ignoring
old recipe for target `/home/larsf/grassgis/Frosta/larsf/.tm
p/yoda/32363.0/dist.i686-suse-linux/bin'
/opt/grass/include/Make/Module.make:25: warning: overriding
recipe for target `install'
/opt/grass/include/Make/Rules.make:90: warning: ignoring old
recipe for target `install'
/opt/grass/include/Make/Grass.make:422: warning: overriding
recipe for target `/home/larsf/grassgis/Frosta/larsf/.tmp/yo
da/32363.0/dist.i686-suse-linux/bin'
/opt/grass/include/Make/Grass.make:413: warning: ignoring
old recipe for target `/home/larsf/grassgis/Frosta/larsf/.tm
p/yoda/32363.0/dist.i686-suse-linux/bin'
/opt/grass/include/Make/Module.make:25: warning: overriding
recipe for target `install'
/opt/grass/include/Make/Rules.make:90: warning: ignoring old
recipe for target `install'
/opt/grass/include/Make/Grass.make:422: warning: overriding
recipe for target `/home/larsf/grassgis/Frosta/larsf/.tmp/yo
da/32363.0/dist.i686-suse-linux/bin'
/opt/grass/include/Make/Grass.make:413: warning: ignoring
old recipe for target `/home/larsf/grassgis/Frosta/larsf/.tm
p/yoda/32363.0/dist.i686-suse-linux/bin'
/opt/grass/include/Make/Module.make:25: warning: overriding
recipe for target `install'
/opt/grass/include/Make/Rules.make:90: warning: ignoring old
recipe for target `install'
/opt/grass/tools/g.html2man: /opt/grass/tools/g.html2man: is
a directory
make[2]: *** [/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32
363.0/dist.i686-suse-linux/man/man1/r.xtent.1] Error 126
make[1]: *** [mancmd] Error 2
make: *** [cmd] Error 2
ERROR: Compilation failed, sorry. Please check above error messages.
make[2]: Leaving directory
`/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/r.xtent'
make[1]: Leaving directory
`/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/r.xtent'
make mancmd
make[1]: Entering directory
`/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/r.xtent'
make
/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/man/man1/r.xtent.1
MANSRC=/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/docs/html/r.xtent.html
make[2]: Entering directory
`/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/r.xtent'
mkdir -p
/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/man/man1
GRASS_PERL=/usr/bin/perl VERSION_NUMBER=6.4.2 sh
/opt/grass/tools/g.html2man
/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/docs/html/r.xtent.html
/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/dist.i686-suse-linux/man/man1/r.xtent.1
1
make[2]: Leaving directory
`/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/r.xtent'
make[1]: Leaving directory
`/home/larsf/grassgis/Frosta/larsf/.tmp/yoda/32363.0/r.xtent'
(Tue Jul 31 23:20:18 2012) Command finished (7 sec)
More information about the grass-user
mailing list