Re: [GRASS-dev] compiling today's grass7 trunk: ogr_srs_api.h: No such file or directory

2009-08-14 Thread Martin Landa
Hi, 2009/8/6 Glynn Clements : > The correct approach is to revert the portion of r38552 which applies > to lib/gis/find_vect.c, lib/gis/find_file.c, and lib/gis/Makefile. > > lib/gis has no business calling OGR functions, or even linking against > OGR. If it's impossible to "find" a vector without

Re: [GRASS-dev] compiling today's grass7 trunk: ogr_srs_api.h: No such file or directory

2009-08-05 Thread Glynn Clements
Moritz Lennert wrote: > I'm having the same problem again with today's svn trunk: > > gcc > -I/home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-gnu/include > -I/home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-gnu/include > -Wall -g -O2 -fPIC -D_FILE_OFFSET_BITS=64 -DPACKAGE=\"

Re: [GRASS-dev] compiling today's grass7 trunk: ogr_srs_api.h: No such file or directory

2009-08-05 Thread Moritz Lennert
I'm having the same problem again with today's svn trunk: gcc -I/home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-gnu/include -I/home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-gnu/include -Wall -g -O2 -fPIC -D_FILE_OFFSET_BITS=64 -DPACKAGE=\""grasslibs"\" -I/home/mlennert/S

Re: [GRASS-dev] compiling today's grass7 trunk: ogr_srs_api.h: No such file or directory

2009-06-19 Thread Glynn Clements
Moritz Lennert wrote: > >> Yes, but what I meant is that I don't see where the proj_wrap_c_FLAGS > >> variable is read. > > > > include/Make/Compile.make: > > > > $(OBJDIR)/%.o : %.c $(LOCAL_HEADERS) $(EXTRA_HEADERS) $($*_c_FLAGS) | > > $(OBJDIR) > > $(call compiler_c) > > > > $* is the s

Re: [GRASS-dev] compiling today's grass7 trunk: ogr_srs_api.h: No such file or directory

2009-06-18 Thread Moritz Lennert
On 18/06/09 20:12, Glynn Clements wrote: Moritz Lennert wrote: In swig/python/Makefile, I see proj_wrap_c_FLAGS = $(PROJINC) $(GDALCFLAGS) but I don't really understand where this comes into play. This should ensure that proj_wrap.c can find the PROJ and GDAL headers. Yes, but what I meant

Re: [GRASS-dev] compiling today's grass7 trunk: ogr_srs_api.h: No such file or directory

2009-06-18 Thread Glynn Clements
Moritz Lennert wrote: > >> In swig/python/Makefile, I see > >> > >> proj_wrap_c_FLAGS = $(PROJINC) $(GDALCFLAGS) > >> > >> but I don't really understand where this comes into play. > > > > This should ensure that proj_wrap.c can find the PROJ and GDAL > > headers. > > Yes, but what I meant i

Re: [GRASS-dev] compiling today's grass7 trunk: ogr_srs_api.h: No such file or directory

2009-06-18 Thread Moritz Lennert
On 17/06/09 23:59, Glynn Clements wrote: Moritz Lennert wrote: I get the following error running make in swig/python in grass7 of today (rev 37908). In file included from proj_wrap.c:2694: /home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-gnu/include/grass/gprojects.h:23:29: error: og

Re: [GRASS-dev] compiling today's grass7 trunk: ogr_srs_api.h: No such file or directory

2009-06-17 Thread William Kyngesburye
OSX Xcode 3.1/GCC 4.0 here On Jun 17, 2009, at 4:59 PM, Glynn Clements wrote: Moritz Lennert wrote: In swig/python/Makefile, I see proj_wrap_c_FLAGS = $(PROJINC) $(GDALCFLAGS) but I don't really understand where this comes into play. This should ensure that proj_wrap.c can find the PROJ a

Re: [GRASS-dev] compiling today's grass7 trunk: ogr_srs_api.h: No such file or directory

2009-06-17 Thread Glynn Clements
Moritz Lennert wrote: > >> I get the following error running make in swig/python in grass7 of today > >> (rev 37908). > >> > >> In file included from proj_wrap.c:2694: > >> /home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-gnu/include/grass/gprojects.h:23:29: > >> > >> error: ogr_srs_api

Re: [GRASS-dev] compiling today's grass7 trunk: ogr_srs_api.h: No such file or directory

2009-06-17 Thread Moritz Lennert
On 16/06/09 17:14, Glynn Clements wrote: Moritz Lennert wrote: I get the following error running make in swig/python in grass7 of today (rev 37908). In file included from proj_wrap.c:2694: /home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-gnu/include/grass/gprojects.h:23:29: error: ogr

Re: [GRASS-dev] compiling today's grass7 trunk: ogr_srs_api.h: No such file or directory

2009-06-16 Thread Glynn Clements
Moritz Lennert wrote: > I get the following error running make in swig/python in grass7 of today > (rev 37908). > > In file included from proj_wrap.c:2694: > /home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-gnu/include/grass/gprojects.h:23:29: > > error: ogr_srs_api.h: No such file or

[GRASS-dev] compiling today's grass7 trunk: ogr_srs_api.h: No such file or directory

2009-06-16 Thread Moritz Lennert
I get the following error running make in swig/python in grass7 of today (rev 37908). In file included from proj_wrap.c:2694: /home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-gnu/include/grass/gprojects.h:23:29: error: ogr_srs_api.h: No such file or directory In file included from proj_