[GRASS-dev] 7.svn fails to build from source
Michael Barton
michael.barton at asu.edu
Mon Jul 20 01:54:52 EDT 2009
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, grass-dev-request at lists.osgeo.org wrote:
> Date: Mon, 20 Jul 2009 04:57:45 +0100
> From: Glynn Clements <glynn at gclements.plus.com>
> Subject: Re: [GRASS-dev] 7.svn fails to build from source
> To: Hamish <hamish_b at yahoo.com>
> Cc: grass-dev <grass-dev at lists.osgeo.org>
> Message-ID: <19043.60217.750211.46445 at cerise.gclements.plus.com>
> 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 <glynn at gclements.plus.com>
More information about the grass-dev
mailing list