[GRASSLIST:4729] Re: missing header files when compiling GRASS 5.7
Glynn Clements
glynn at gclements.plus.com
Sun Nov 7 12:54:36 EST 2004
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