[GRASSLIST:4730] Re: missing header files when compiling GRASS 5.7

Benjamin Ducke benducke at compuserve.de
Sun Nov 7 13:03:31 EST 2004


Yes, I tried with both absolute and relative path specs and it wouldn't work.
The GRASS 5.3 sources were configured, compiled and installed first.
Are those header files supposed to be read in from the 5.3 source tree?

On Sun, 7 Nov 2004 17:54:36 +0000
Glynn Clements <glynn at gclements.plus.com> wrote:

> 
> Benjamin Ducke wrote:
> 
> > I downloaded the latest CVS source archive of GRASS 5.7
> > I have compiled 5.7 before and all worked fine. However, this time
> > the make process does not find the required header files and
> > almost none of the 5.7 modules compile.
> > I get a myriad of error messages like:
> > 
> > del2g.c:22:19: gmath.h: No such file or directory
> > del2g.c:23:23: numerical.h: No such file or directory
> > In file included from del2g.c:24:
> > /home/benni/src/grass57_exp_2004_10_30/include/gis.h:32:22: datetime.h: No such file or directory                                                                                     
> > Obviously, the basic GRASS header files are not in the include path.
> > I do not quite understand, why, because the ./configure command runs
> > through clean when I pass it the location of my GRASS 5.3 source tree.
> > 
> > I am using GCC 3.3.3 and GLIBC 2.3.
> > The CVS archives for 5.7 and 5.3 are 2004_10_30 and 2004_10_23, respectively.
> > Does anyone have a clue what might be wrong?
> 
> Did you specify an absolute path for the --with-grass50= switch? 
> AFAIK, a relative path (e.g. "../grass53") will satisfy the configure
> check, but it won't actually work.
> 
> -- 
> Glynn Clements <glynn at gclements.plus.com>
> 




More information about the grass-user mailing list