[GRASS-user] Trouble installing addons, GRASS 6.4 on SuSE 12.1

2012-07-31 Thread Lars Forseth

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@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@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)...
Ar.xtent/tools.c
Ar.xtent/at_exit_funcs.h
Ar.xtent/gt_vector.h
Ar.xtent/xtent.c
Ar.xtent/r.xtent.001.png
Ar.xtent/r.xtent.002.png
Ar.xtent/tools.h
Ar.xtent/description.html
Ar.xtent/r.xtent.003.png
Ar.xtent/r.xtent.004.png
Ar.xtent/xtent.h
Ar.xtent/r.xtent.005.png
Ar.xtent/r.xtent.006.png
Ar.xtent/r.xtent.007.png
Ar.xtent/main.c
Ar.xtent/geom.c
Ar.xtent/globals.h
Ar.xtent/at_exit_funcs.c
Ar.xtent/gt_vector.c
Ar.xtent/geom.h
Ar.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 

Re: [GRASS-user] Trouble installing addons, GRASS 6.4 on SuSE 12.1

2012-07-31 Thread Markus Neteler
On Tue, Jul 31, 2012 at 11:34 PM, Lars Forseth lars.fors...@ntebb.no wrote:
 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?

Please check if there is an additional grass-devel package on SuSE
which contains the needed header files. This needs to be installed.

Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user