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?
Thanks, Benjamin.
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@gclements.plus.com>
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@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@gclements.plus.com>
Benjamin Ducke wrote:
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?
"make mix" generates symlinks to the 5.3 source tree, while
"make copymix" will copy the files. However, you can undo "make mix"
using "make mixclean", but "make copymix" can't be undone.
With the 5.7.0 tarball, "make copymix" has already been run, so it
includes all of the necessary files. The CVS tree needs "make mix".
--
Glynn Clements <glynn@gclements.plus.com>