[GRASS-user] installing addon problem for regular users (ubuntu newbies)

M S mseibel at gmail.com
Wed Nov 11 11:05:36 EST 2009


I'm on Kubuntu 9.10, using both 32 and 64 bit systems.  This output is
from 32bit.  It is GRASS 6.4 RC5.  Seems to be the same logged issue
of defaulting to /build rather than /var/lib/grass64

-------------------------
I ran "sudo make MODULE_TOPDIR=/usr/lib/grass64"

This is the first line of output"  gcc
-I/build/buildd/grass-6.4.0~rc5/dist.i486-pc-linux-gnu/include  -Wall
-g -O    -I/usr/include/gdal    -DPACKAGE=\""grassmods"\"
-I/build/buildd/grass-6.4.0~rc5/dist.i486-pc-linux-gnu/include -o
OBJ.i486-pc-linux-gnu/close.o -c close.c  "
---------------------------

If I apply the GRASS_HOME=/usr/lib/grass64:

--------------------------
$ sudo make MODULE_TOPDIR=/usr/lib/grass64 GRASS_HOME=/usr/lib/grass64

gcc -I/usr/lib/grass64/dist.i486-pc-linux-gnu/include  -Wall -g -O
-I/usr/include/gdal    -DPACKAGE=\""grassmods"\"
-I/usr/lib/grass64/dist.i486-pc-linux-gnu/include -o
OBJ.i486-pc-linux-gnu/close.o -c close.c
close.c:1:23: error: grass/gis.h: No such file or  directory
close.c:2:27: error: grass/glocale.h: No such file or directory
close.c:3:24: error: grass/dbmi.h: No such file or directory
close.c:4:24: error: grass/Vect.h: No such file or directory
-------------------------

Should it be looking in /usr/lib/grass64/include, instead of
/usr/lib/grass64/dist.i486-pc-linux-gnu/include ?   The latter
directory is empty.

If so, how do I remove the "dist.i486-pc-linux--gnu" portion from the
gcc statement?


Mark

>
> On Tue, Nov 10, 2009 at 3:33 PM, Markus Neteler <neteler at osgeo.org> wrote:
>> Mark,
>>
>> On Tue, Nov 10, 2009 at 2:24 PM, M S <mseibel at gmail.com> wrote:
>>> Markus,
>>>
>>> Based on http://lists.osgeo.org/pipermail/grass-user/2009-August/052074.html,
>>> is there a checklist of variables I can go through in the
>>> Platform.make file to change variable values to /usr/lib/grass64 ?
>>
>> Since I have no ubuntu I can only suggest to try (and to report back
>> which didn't appear to happen in August).
>>
>> Sorry for no better answer (I still hope that a Makefile guru takes a look
>> and fixes the missing pieces)
>>
>> Markus
>>
>


More information about the grass-user mailing list