[GRASS5] 5.1 CVS head errors on Solaris
neteler at itc.it
Wed Apr 16 04:38:08 EDT 2003
On Tue, Apr 15, 2003 at 09:02:11PM -0700, Chris Heg wrote:
> I have the following errors building the current 5.1 code on Solaris 8 sparc
> The mysql checks fail.
> Line 9519 - add "-lsocket"
> Line 9559 - add "-lsocket -lm"
This requires a change in configure.in:
be added somewhere? I am not sure how to update that.
> The prototype for G_ask_datum_name in gisdefs.h is different from the
> function in get_datum_name.c
> /lib/gis/get_datum_name.c has: "int G_ask_datum_name(char *datum)"
> Change /include/gisdefs.h line 520
> from: int G_ask_datum_name(char *datum, char *datum)
> to: int G_ask_datum_name(char *datum)
In the current CVS versions of 5.0 HEAD and 5.1 it seems to
GRASS 5.1.0-cvs:~/grass51/include > grep G_ask_datum_name ../lib/gis/get_datum_name.c
* G_ask_datum_name(char *datumname, char *ellpsname)
int G_ask_datum_name(char *datumname, char *ellpsname)
GRASS 5.1.0-cvs:~/grass51/include > grep G_ask_datum_name gisdefs.h
int G_ask_datum_name(char *, char *);
You may want to run
cvs up -dP
in both source code directories.
> This one I have not figured out:
> make is looking for the non-existent file "datumtransform.table" in
> /lib/gis. There is a "datum.table", but no "datumtransform.table" Where
> should I look?
You have to update 5.0 from CVS, then you get the file.
Thanks for posting the mysql problem,
More information about the grass-dev