tested with grass65svn (r49498) in a ubuntu 11.10-32bit-box
(AFAIR two weeks or so ago, there wasn't following error):
_________________________________________________________
GRASS GIS compilation log
-------------------------
Started compilation: Sa 3. Dez 19:56:23 CET 2011
--
Errors in:
/usr/local/src/grass6stream/raster/r.stream.pos
_________________________________________________________
myricaria@myricaria-hp-pavilion-ze4900-PJ920EA-ABD:/usr/local/src/grass6stream/raster/r.stream.pos$
make
../../include/Make/Module.make:25: Warnung: Die Befehle für das Ziel
»install« werden überschrieben
../../include/Make/Rules.make:90: Warnung: Alte Befehle für das Ziel
»install« werden ignoriert
gcc -I/usr/local/src/grass6stream/dist.i686-pc-linux-gnu/include -g -O2
-DPACKAGE=\""grassmods"\"
-I/usr/local/src/grass6stream/dist.i686-pc-linux-gnu/include -o
OBJ.i686-pc-linux-gnu/io.o -c io.c
In file included from
/usr/local/src/grass6stream/dist.i686-pc-linux-gnu/include/grass/vect/digit.h:3:0,
from
/usr/local/src/grass6stream/dist.i686-pc-linux-gnu/include/grass/Vect.h:4,
from global.h:7,
from io.c:2:
/usr/local/src/grass6stream/dist.i686-pc-linux-gnu/include/grass/vect/dig_structs.h:26:21:
schwerwiegender Fehler: ogr_api.h: file or folder couldn't be found
Kompilierung beendet.
make: *** [OBJ.i686-pc-linux-gnu/io.o] Fehler 1
_____________________________________________________________
On Sun, Dec 4, 2011 at 11:17 AM, Helmut Kudrnovsky <hellik@web.de> wrote:
hi
tested with grass65svn (r49498) in a ubuntu 11.10-32bit-box
(AFAIR two weeks or so ago, there wasn't following error):
_________________________________________________________
GRASS GIS compilation log
-------------------------
Started compilation: Sa 3. Dez 19:56:23 CET 2011
--
Errors in:
/usr/local/src/grass6stream/raster/r.stream.pos
_________________________________________________________
myricaria@myricaria-hp-pavilion-ze4900-PJ920EA-ABD:/usr/local/src/grass6stream/raster/r.stream.pos$
make
../../include/Make/Module.make:25: Warnung: Die Befehle für das Ziel
»install« werden überschrieben
../../include/Make/Rules.make:90: Warnung: Alte Befehle für das Ziel
»install« werden ignoriert
gcc -I/usr/local/src/grass6stream/dist.i686-pc-linux-gnu/include -g -O2
-DPACKAGE=\""grassmods"\"
-I/usr/local/src/grass6stream/dist.i686-pc-linux-gnu/include -o
OBJ.i686-pc-linux-gnu/io.o -c io.c
In file included from
/usr/local/src/grass6stream/dist.i686-pc-linux-gnu/include/grass/vect/digit.h:3:0,
from
/usr/local/src/grass6stream/dist.i686-pc-linux-gnu/include/grass/Vect.h:4,
from global.h:7,
from io.c:2:
/usr/local/src/grass6stream/dist.i686-pc-linux-gnu/include/grass/vect/dig_structs.h:26:21:
schwerwiegender Fehler: ogr_api.h: file or folder couldn't be found
Kompilierung beendet.
make: *** [OBJ.i686-pc-linux-gnu/io.o] Fehler 1
_____________________________________________________________
usr/include/gdal/ogr_api.h is here
any ideas?
Here an older, similar posting with i.pr:
On Fri, Jan 29, 2010 at 2:34 AM, Glynn Clements
<glynn@gclements.plus.com> wrote:
Luisa Peña wrote:
...
/usr/local/grass-6.4.0svn/include/grass/vect/dig_structs.h:22:21: error:
ogr_api.h: No such file or directory
Where are the GDAL/OGR headers installed? "gdal-config --cflags"
should provide a clue.
The vector headers include the OGR headers, so anything which includes
the vector headers needs any -I switches which are required to find
the OGR headers.
> /usr/local/src/grass6stream/dist.i686-pc-linux-gnu/include/grass/vect/dig_structs.h:26:21:
> schwerwiegender Fehler: ogr_api.h: file or folder
> couldn't be found
> Kompilierung beendet.
> make: *** [OBJ.i686-pc-linux-gnu/io.o] Fehler 1
Markus N:
Here an older, similar posting with i.pr:
Glynn wrote:
> I suspect that i.pr_*/Makefile need:
>
> EXTRA_CFLAGS = $(VECT_CFLAGS) -I$(PRINCLUDE)
>
> The vector headers include the OGR headers, so anything
> which includes the vector headers needs any -I switches
> which are required to find the OGR headers.
Could you try this?
the Makefile was missing all vector and dbmi variables even
though it #include'd grass/vector.h and grass/dbmi.h. now
fixed in addons svn.