[Ubuntu] Re: problem building GRASS add-ons

Andrew amcaninch at gmail.com
Wed Sep 29 12:59:37 EDT 2010


I am not sure if I was running into the same error you are, 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

andrew
-- 
Andrew McAninch
GIS Specialist
Wild Fish Conservancy
Duvall, WA



On Wed, Sep 29, 2010 at 9:00 AM, <ubuntu-request at lists.osgeo.org> wrote:

> Send Ubuntu mailing list submissions to
>        ubuntu at lists.osgeo.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.osgeo.org/mailman/listinfo/ubuntu
> or, via email, send a message with subject or body 'help' to
>        ubuntu-request at lists.osgeo.org
>
> You can reach the person managing the list at
>        ubuntu-owner at lists.osgeo.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Ubuntu digest..."
>
>
> Today's Topics:
>
>   1. problem building GRASS add-ons (Taylor Hermes)
>   2. Re: problem building GRASS add-ons (Hamish)
>   3. Building GRASS for 10.10 on Launchpad
>      (timmichelsen at gmx-topmail.de)
>   4. Re: Building GRASS for 10.10 on Launchpad (Hamish)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 28 Sep 2010 14:05:18 -0700
> From: Taylor Hermes <trhermes at gmail.com>
> Subject: [Ubuntu] problem building GRASS add-ons
> To: ubuntu at lists.osgeo.org
> Message-ID:
>        <AANLkTikyGOZ0e58cLDQqRXUOpyh_QsJPrv=4QHbeXpeS at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> I'm running Ubuntu 10.04 and GRASS 6.4.0 rc6.  I would like to install
> the GRASS add-ons available from the SVN, but when I attempt to 'make
> MODULE_TOPDIR=/usr/lib/grass64' I get an error.
>
> mkdir -p /build/buildd/grass-6.4.0~rc6/bin.x86_64-pc-linux-gnu
> mkdir: невозможно создать каталог <</build>>: Отказано в доступе
> make: *** [/build/buildd/grass-6.4.0~rc6/bin.x86_64-pc-linux-gnu] Ошибка
>
> I have the grass-dev package installed and followed the directions
> available here:http://grass.osgeo.org/wiki/Compile_and_Install#Addons
>
> Thank you for your help!
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 28 Sep 2010 14:25:11 -0700 (PDT)
> From: Hamish <hamish_b at yahoo.com>
> Subject: Re: [Ubuntu] problem building GRASS add-ons
> To: ubuntu at lists.osgeo.org, Taylor Hermes <trhermes at gmail.com>
> Cc: pkg-grass-general at lists.alioth.debian.org
> Message-ID: <601482.71687.qm at web110016.mail.gq1.yahoo.com>
> Content-Type: text/plain; charset=utf-8
>
> Taylor Hermes wrote:
> > I'm running Ubuntu 10.04 and GRASS
> > 6.4.0 rc6.  I would like to install
> > the GRASS add-ons available from the SVN, but when I
> > attempt to 'make
> > MODULE_TOPDIR=/usr/lib/grass64' I get an error.
> >
> > mkdir -p
> > /build/buildd/grass-6.4.0~rc6/bin.x86_64-pc-linux-gnu
> > mkdir: невозможно создать каталог
> > <</build>>: Отказано в доступе
> > make: ***
> > [/build/buildd/grass-6.4.0~rc6/bin.x86_64-pc-linux-gnu]
> > Ошибка
> >
> > I have the grass-dev package installed and followed the
> > directions
> > available here:http://grass.osgeo.org/wiki/Compile_and_Install#Addons
>
>
> Hi there,
>
> it's a known problem we are actively working on. right now it
> only really works well if you build GRASS from source yourself.
>
> the main thing is that paths in
>  /usr/lib/grass64/include/Make/Platform.make
> need to be edited to refer to the final install directory, not
> the temporary packaging directory on the build server.
>
> I am undecided if the fix belongs in upstream packaging rules
> (cc debiangis) or in upstream 'make install' (grass-dev).
> ?
>
> another issue is that plugins should be installed to /usr/local/
> or ~/grass_addons, ~/.grass/addons/ (or some user-writable dir;
> on a multi-user system the end-user may not have sudo rights
> but still would like some addons). Typically this also means
> setting $GRASS_ADDON_PATH in your ~/.bashrc.
>
> the R-statistics CRAN addons can perhaps give some guidance here?
>
>
> Hamish
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/ubuntu/attachments/20100929/7b6ebd59/attachment.html


More information about the Ubuntu mailing list