Hi,
I am new to grass, and I am trying to compile grass51 unstable cvs
version. I got the source code for grass5.0 which I understand was
required to compile grass5.1. I have already spent a great deal of time
fixing many compiling problems. Right now I have the following problem
when I run make:
make[2]: *** No rule to make target `datumtransform.table', needed by
`/home/enils/grass51_exp_2003_07_12/dist.i686-pc-linux-gnu/etc/datumtra
nsform.table'. Stop.
make[2]: Leaving directory `/home/enils/grass51_exp_2003_07_12/lib/gis'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/enils/grass51_exp_2003_07_12/lib'
make: *** [default] Error 1
Does anybody have an idea how to get past this problem?
Any feedback would be greatly appreciated. Thank you in advance.
Enils Bashi
Phone: 410-430-5869
e-mail: enils@lidar.net
Hello
On Mon, 21 Jul 2003, Enils Bashi wrote:
Hi,
I am new to grass, and I am trying to compile grass51 unstable cvs
version. I got the source code for grass5.0 which I understand was
required to compile grass5.1. I have already spent a great deal of time
fixing many compiling problems. Right now I have the following problem
when I run make:
I think the GRASS 5.1 compilation runs quite reliably at the minute,
although there are several dependency bugs in the Makefiles that cause
some things to be re-compiled every time make is run. What
problems did you have to fix? You must use the latest CVS HEAD version of
grass 5.0, preferably with the same date as the 5.1 snapshot you are
using. This is not totally clear on the webpage; we must change it to
delete the line saying the preX release will not do (as this implies
5.0.0 is OK).
Paul Kelly
Hi,
There were a few things that I had to install to get past ./configure
command for grass5.1, like fftw, gdal, and proj4. There was a file
color_byg.c missing which make was looking for. After I got this file from
http://freegis.org/cgi-bin/viewcvs.cgi/grass/src/libes/gis/color_byr.c?rev=1.1&content-type=text/vnd.viewcvs-markup
I had to comment out these functions G_make_byr_colors,
G_make_byr_fp_colors, G_add_byr_colors from color_byg.c because make was
complaining about those functions presence in color_byr.c as well. Another
problem was I think a syntax error in one of the files which I dont have
record of unfortunately. There was a function in that file
int G_ask_datum_name(char *, char *); which needed to be
int G_ask_datum_name(char *); in order for make to work.
Finally after getting past these problems I gave up when I got:
make[2]: *** No rule to make target `datumtransform.table', needed by
`/home/enils/grass51_exp_2003_07_12/dist.i686-pc-linux-gnu/etc/datumtransform.table'.
Stop.
make[2]: Leaving directory `/home/enils/grass51_exp_2003_07_12/lib/gis'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/enils/grass51_exp_2003_07_12/lib'
make: *** [default] Error 1
My system runs RH-9 and I also have grass5.0 source that is needed by
grass5.1. I am wondering if other people have had the same or similar
problems.
Any feedback would be greatly appreciated. Thank you in advance.
Enils
On Mon, 21 Jul 2003, Paul Kelly wrote:
Hello
On Mon, 21 Jul 2003, Enils Bashi wrote:
> Hi,
>
> I am new to grass, and I am trying to compile grass51 unstable cvs
> version. I got the source code for grass5.0 which I understand was
> required to compile grass5.1. I have already spent a great deal of time
> fixing many compiling problems. Right now I have the following problem
> when I run make:
I think the GRASS 5.1 compilation runs quite reliably at the minute,
although there are several dependency bugs in the Makefiles that cause
some things to be re-compiled every time make is run. What
problems did you have to fix? You must use the latest CVS HEAD version of
grass 5.0, preferably with the same date as the 5.1 snapshot you are
using. This is not totally clear on the webpage; we must change it to
delete the line saying the preX release will not do (as this implies
5.0.0 is OK).
Paul Kelly
enils@twctex.lidar.net wrote:
There were a few things that I had to install to get past ./configure
command for grass5.1, like fftw, gdal, and proj4. There was a file
color_byg.c missing which make was looking for. After I got this file from
http://freegis.org/cgi-bin/viewcvs.cgi/grass/src/libes/gis/color_byr.c?rev=1.1&content-type=text/vnd.viewcvs-markup
I had to comment out these functions G_make_byr_colors,
G_make_byr_fp_colors, G_add_byr_colors from color_byg.c because make was
complaining about those functions presence in color_byr.c as well. Another
problem was I think a syntax error in one of the files which I dont have
record of unfortunately. There was a function in that file
int G_ask_datum_name(char *, char *); which needed to be
int G_ask_datum_name(char *); in order for make to work.
Finally after getting past these problems I gave up when I got:
make[2]: *** No rule to make target `datumtransform.table', needed by
`/home/enils/grass51_exp_2003_07_12/dist.i686-pc-linux-gnu/etc/datumtransform.table'.
Stop.
make[2]: Leaving directory `/home/enils/grass51_exp_2003_07_12/lib/gis'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/enils/grass51_exp_2003_07_12/lib'
make: *** [default] Error 1
My system runs RH-9 and I also have grass5.0 source that is needed by
grass5.1. I am wondering if other people have had the same or similar
problems.
The GRASS 5.1 snapshots require the corresponding CVS HEAD version of
5.0 (i.e. the contents of the CVS HEAD as of the snapshot date).
They won't work with any of the released 5.0.x source packages, or
with the CVS release branch of 5.0. They may not even work with a CVS
HEAD snapshot of 5.0 if the dates of the 5.0 and 5.1 code are too far
apart.
--
Glynn Clements <glynn.clements@virgin.net>
The GRASS 5.1 snapshots require the corresponding CVS HEAD version of
5.0 (i.e. the contents of the CVS HEAD as of the snapshot date).
They won't work with any of the released 5.0.x source packages, or
with the CVS release branch of 5.0. They may not even work with a CVS
HEAD snapshot of 5.0 if the dates of the 5.0 and 5.1 code are too far
apart.
I got my grass 5.0 release from this link:
http://grass.baylor.edu//grass5/source
Is that the correct one or should I be looking for another one?
Any feedback would be greatly appreciated.
Enils Bashi
enils@twctex.lidar.net wrote:
> The GRASS 5.1 snapshots require the corresponding CVS HEAD version of
> 5.0 (i.e. the contents of the CVS HEAD as of the snapshot date).
>
> They won't work with any of the released 5.0.x source packages, or
> with the CVS release branch of 5.0. They may not even work with a CVS
> HEAD snapshot of 5.0 if the dates of the 5.0 and 5.1 code are too far
> apart.
I got my grass 5.0 release from this link:
http://grass.baylor.edu//grass5/source
Is that the correct one or should I be looking for another one?
The primary site is:
http://grass.itc.it/index.html
However, 5.1 won't work with any of the "release" versions, as it
relies upon features which are only in the development versions of the
5.0 branch.
If you want to compile 5.1, you need to obtain the 5.0 code either
from CVS or from a CVS snapshot.
--
Glynn Clements <glynn.clements@virgin.net>