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