[Ubuntu] Re: problem building GRASS add-ons

Taylor Hermes trhermes at gmail.com
Thu Sep 30 13:46:37 EDT 2010


I tried make MODULE_TOPDIR=/usr/lib/grass64
ARCH_DISTDIR=/usr/lib/grass64, and this is what I got...

gcc -I/usr/lib/grass64/include  -Wall -g -O    -I/usr/include/gdal
-DPACKAGE=\""grassmods"\"  -I/usr/lib/grass64/include -o
OBJ.x86_64-pc-linux-gnu/io.o -c io.c
In file included from /usr/lib/grass64/include/grass/vect/digit.h:3,
                 from /usr/lib/grass64/include/grass/Vect.h:4,
                 from global.h:6,
                 from io.c:2:
/usr/lib/grass64/include/grass/vect/dig_structs.h:22:21: error:
ogr_api.h: No such file or directory
In file included from /usr/lib/grass64/include/grass/vect/digit.h:3,
                 from /usr/lib/grass64/include/grass/Vect.h:4,
                 from global.h:6,
                 from io.c:2:
/usr/lib/grass64/include/grass/vect/dig_structs.h:179: error: expected
specifier-qualifier-list before ‘OGRDataSourceH’
io.c: In function ‘create_base_maps’:
io.c:57: warning: format not a string literal and no format arguments
io.c: In function ‘write_maps’:
io.c:172: warning: format not a string literal and no format arguments
make: *** [OBJ.x86_64-pc-linux-gnu/io.o] Error 1




2010/9/29 Andrew <amcaninch at gmail.com>:
> I did not have to be root, but no, the man pages did not install.
>
> andrew
> --
> Andrew McAninch
> GIS Specialist
> Wild Fish Conservancy
> Duvall, WA
>
>
>
> On Wed, Sep 29, 2010 at 3:04 PM, Hamish <hamish_b at yahoo.com> wrote:
>>
>> Andrew wrote:
>> > I am not sure if I was running into the same error you are,
>>
>> it is closely related,
>>
>> > but I was able to install some addons for grass  in the ubuntugis
>> > unstable repository using:
>> >
>> > make MODULE_TOPDIR=/usr/lib/grass64 ARCH_DISTDIR=/usr/lib/grass64
>>
>> did you have to be root?
>> did the man pages also build/install?
>>
>>
>>
>> thanks,
>> Hamish
>>
>>
>>
>>
>
>
> _______________________________________________
> UbuntuGIS mailing list
> Ubuntu at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/ubuntu
> http://trac.osgeo.org/ubuntugis/wiki
>
>


More information about the Ubuntu mailing list