FWIW, I haven't been able to compile GRASS 7 from source for many weeks now. Last time I asked William Kyngesburye about it, he had not been able to compile it either. Has anyone else tried on the Mac recently? I get a lot of errors. I am using geos, with a path set to one William's framwork build of geos.

Michael

On Jul 19, 2009, at 8:57 PM, [email protected] wrote:

Date: Mon, 20 Jul 2009 04:57:45 +0100
From: Glynn Clements <[email protected]>
Subject: Re: [GRASS-dev] 7.svn fails to build from source
To: Hamish <[email protected]>
Cc: grass-dev <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii


Hamish wrote:

Debian/Lenny on 64bit:
----------------------
many/most modules fail to build with:
[...]
main.c:45: undefined reference to `G_add_keyword'

it seems to be there in gisdefs.h ..... ??

Defined in lib/gis/parser.c. This suggests that it's linking against
an old version of the library.

Debian/Etch on 32bit:
---------------------
lib/vector/diglib fails with:

gcc -I/usr/local/src/grass/svn/trunk/dist.i686-pc-linux-gnu/include -I/usr/local/src/grass/svn/trunk/dist.i686-pc-linux-gnu/include - ggdb -march=pentium4 -Wall -Werror-implicit-function-declaration - fPIC -I/usr/include/gdal -I/usr/include -DPACKAGE= \""grasslibs"\" -I/usr/local/src/grass/svn/trunk/dist.i686-pc- linux-gnu/include -I/usr/local/src/grass/svn/trunk/dist.i686-pc- linux-gnu/include -o OBJ.i686-pc-linux-gnu/allocation.o -c allocation.c
In file included from allocation.c:21:
/usr/local/src/grass/svn/trunk/dist.i686-pc-linux-gnu/include/grass/ vector.h:474: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token

Don't use --with-geos.

--
Glynn Clements <[email protected]>

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to