Re: [GRASS-user] Compiling addons

2009-12-28 Thread stephen sefick
 compile the addons - I put them into the raster folder of the grass sources
make
make install

then recompile grass.

hth

Stephen

On Mon, Dec 28, 2009 at 3:48 PM, Milton Cezar Ribeiro
 wrote:
> Dear all,
>
> I have compiled grass using the instructions available at
> http://trac.osgeo.org/grass/wiki/CompileOnWindows
>
> But now I need to compile some Addons, and I must confess
> that I have no idea of how to do that. I know that
> I need to download the addons sources, but I can't
> figure out what steps I need to do to get it compiled
> and installed on the proper direction. I am using
> OSGeo4W/MSYS under Vista. I need to compile
> the full grass again or I can just compile the add-ons?
> Case the answer is to compile only the add-ons,
> what steps/command I need to run under Msys
> to get it compiled/installed.
>
> Thanks in advance,
>
> milton
> ___
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
>



-- 
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods.  We are mammals, and have not exhausted the
annoying little problems of being mammals.

-K. Mullis
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Compiling addons

2009-12-28 Thread Milton Cezar Ribeiro
Dear all,

I have compiled grass using the instructions available at
http://trac.osgeo.org/grass/wiki/CompileOnWindows

But now I need to compile some Addons, and I must confess
that I have no idea of how to do that. I know that
I need to download the addons sources, but I can't
figure out what steps I need to do to get it compiled
and installed on the proper direction. I am using
OSGeo4W/MSYS under Vista. I need to compile
the full grass again or I can just compile the add-ons?
Case the answer is to compile only the add-ons,
what steps/command I need to run under Msys
to get it compiled/installed.

Thanks in advance,

milton
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Compiling addons - description.html

2009-08-17 Thread Markus Neteler
On Mon, Aug 17, 2009 at 4:50 PM, John A
Stevenson wrote:
> Markus Neteler wrote:
>>
>> John: you can simply copy the file
>> tools/mkhtml.sh
>> manually to
>> /usr/local/grass-6.5.svn/tools/
>> and don't have to wait for a new release. Please tell me if it
>> solves the problem.
>>
>
> Hi Markus,
>
> It works now.  Magic!

Great!

> I cleared my old installation directory, ran svn up on develbranch_6,
> compiled and reinstalled.

So that's finally done - perhaps not in an exciting way but that's what
we have GRASS 7 for :)

cheers,
Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Compiling addons - description.html

2009-08-15 Thread Markus Neteler
On Fri, Aug 14, 2009 at 10:55 PM, Markus Neteler wrote:
...
>> if [ $? -ne 0 ] ; then /usr/bin/install -c  -m 644 $file
>> /usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/docs/html ; fi
>> done 2> /dev/null ; true
>> /bin/sh: /usr/local/grass-6.5.svn/tools/mkhtml.sh: not found
>> make[2]: Leaving directory
> ...
>
> Doh! "mkhtml.sh: not found!" That's no good.
>

Fixed in 6.4 and 6.5.

John: you can simply copy the file
tools/mkhtml.sh
manually to
/usr/local/grass-6.5.svn/tools/
and don't have to wait for a new release. Please tell me if it
solves the problem.

Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Compiling addons - description.html

2009-08-14 Thread Glynn Clements

Markus Neteler wrote:

> > but sudo doesn't work with GRASS commands).
> 
> I darkly remember some discussion on this but don't recall
> the tricks (see mailing list archive).

sudo will reset the environment unless -E is used (and the "setenv"
option is enabled in the sudoers file).

Also, the loader will typically clear any variables related to dynamic
loading (LD_LIBRARY_PATH etc) when running a setuid/setgid binary such
as sudo. That's why $GISBASE/etc/grass-run.sh exists: to run a command
with LD_LIBRARY_PATH restored from $GRASS_LD_LIBRARY_PATH (this is
necessary when running a GRASS command in an xterm, as the xterm
binary may be setuid/setgid).

-- 
Glynn Clements 
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Compiling addons - description.html

2009-08-14 Thread Markus Neteler
Hi John,

On Thu, Aug 13, 2009 at 1:12 PM, John A
Stevenson wrote:
> Markus Neteler wrote:
>>
>> g.extension r.denoise
>> g.extension  r.surf.volcano
>>
>> and everything should be installed.
>>  If also g.extension fails, there might be a bug in the "install" part.
>>
>
> Hi Markus,
>
> I tried with g.extension.  I had to change the permissions so that I owned
> the directory (previously I'd done all my installation via sudo,

(I personally never install but just use GRASS from the
compile directory, for convenience I added a link to
/usrlocal/bin/)

> but sudo doesn't work with GRASS commands).

I darkly remember some discussion on this but don't recall
the tricks (see mailing list archive).

> It says that it was successful, but I
> don't think that it has changed the files for r.denoise or r.surf.volcano.

While you have 2730 bytes for r.surf.volcano.html, I have 5244.
It's strange that you don't see an error but also no complete file.
Apparently the install part fails when using a real installation
like you. Frankly, my take at getting "make install" working may
be flawed since I am no (good) Makefile programmer but so
far noone else picked it up. In GRASS 7 things are organized
differently, so we cannot easily borrow from there.

> The HTML pages are dated from when I was testing yesterday.  I tried with
> v.krige, received a success message, but neither module or manual page were
> installed.  I've attached sample output below.

...
> /usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/scripts/r.surf.volcano
> --html-description < /dev/null | grep -v '\|' >
> r.surf.volcano.tmp.html ; true ; fi

... above should create the complete manual page.

then it is installed:
...
> /usr/bin/install -c  -m 644 r.surf.volcano.tmp.html
> /usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/docs/html/r.surf.volcano.html
> ; for file in  *.png *.jpg ; do head -n 1 $file | grep '^#!' > /dev/null ;
> if [ $? -ne 0 ] ; then /usr/bin/install -c  -m 644 $file
> /usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/docs/html ; fi
> done 2> /dev/null ; true
> /bin/sh: /usr/local/grass-6.5.svn/tools/mkhtml.sh: not found
> make[2]: Leaving directory
...

Doh! "mkhtml.sh: not found!" That's no good.

So I see that I have a local copy in my dist directory but that the
Makefile doesn't reflect this (so apparently I copied it over manually
and then forgot about this).

@devs: how is tools/mkhtml.sh best copied into the binary tree?

Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Compiling addons - description.html

2009-08-13 Thread John A Stevenson

Markus Neteler wrote:

g.extension r.denoise
g.extension  r.surf.volcano

and everything should be installed.
  
If also g.extension fails, there might be a bug in the "install" part.
  

Hi Markus,

I tried with g.extension.  I had to change the permissions so that I 
owned the directory (previously I'd done all my installation via sudo, 
but sudo doesn't work with GRASS commands).  It says that it was 
successful, but I don't think that it has changed the files for 
r.denoise or r.surf.volcano.  The HTML pages are dated from when I was 
testing yesterday.  I tried with v.krige, received a success message, 
but neither module or manual page were installed.  I've attached sample 
output below.


Cheers

John

GRASS 6.5.svn (thingy):~/laptop/grassdata/thingy > g.extension 
r.surf.volcano

Fetching r.surf.volcano from GRASS-Addons SVN (be patient)...
Ar.surf.volcano/r.surf.volcano
Ar.surf.volcano/description.html
Ar.surf.volcano/Makefile
Checked out revision 38709.
Compiling r.surf.volcano...
/usr/local/grass-6.5.svn/include/Make/Script.make:47: warning: 
overriding commands for target `install'
/usr/local/grass-6.5.svn/include/Make/Rules.make:82: warning: ignoring 
old commands for target `install'
if [ ! -d 
/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/scripts ]; 
then mkdir -p 
/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/scripts; fi
/usr/bin/install -c  r.surf.volcano 
/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/scripts/r.surf.volcano

make htmlscript scriptstrings
make[1]: Entering directory 
`/media/OS/Users/mbessjs3/Documents/grassdata/thingy/PERMANENT/.tmp/mbessjs3-pc/18662.0/r.surf.volcano'
/usr/local/grass-6.5.svn/include/Make/Script.make:47: warning: 
overriding commands for target `install'
/usr/local/grass-6.5.svn/include/Make/Rules.make:82: warning: ignoring 
old commands for target `install'
make 
/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/docs/html/r.surf.volcano.html 
HTMLSRC=/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/scripts/r.surf.volcano
make[2]: Entering directory 
`/media/OS/Users/mbessjs3/Documents/grassdata/thingy/PERMANENT/.tmp/mbessjs3-pc/18662.0/r.surf.volcano'
/usr/local/grass-6.5.svn/include/Make/Script.make:47: warning: 
overriding commands for target `install'
/usr/local/grass-6.5.svn/include/Make/Rules.make:82: warning: ignoring 
old commands for target `install'
if [ 
"/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/scripts/r.surf.volcano" 
!= "" ] ; then 
GISRC=/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/demolocation/.grassrc65 
GISBASE=/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu 
PATH="/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/bin:$PATH" 
LD_LIBRARY_PATH="/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/bin:/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/lib:/usr/local/grass-6.5.svn/lib" 
LC_ALL=C 
/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/scripts/r.surf.volcano 
--html-description < /dev/null | grep -v '\|' > 
r.surf.volcano.tmp.html ; true ; fi
/usr/local/grass-6.5.svn/tools/mkhtml.sh r.surf.volcano ; mkdir -p 
/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/docs/html ; 
/usr/bin/install -c  -m 644 r.surf.volcano.tmp.html 
/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/docs/html/r.surf.volcano.html 
; for file in  *.png *.jpg ; do head -n 1 $file | grep '^#!' > /dev/null 
; if [ $? -ne 0 ] ; then /usr/bin/install -c  -m 644 $file 
/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/docs/html ; fi 
done 2> /dev/null ; true

/bin/sh: /usr/local/grass-6.5.svn/tools/mkhtml.sh: not found
make[2]: Leaving directory 
`/media/OS/Users/mbessjs3/Documents/grassdata/thingy/PERMANENT/.tmp/mbessjs3-pc/18662.0/r.surf.volcano'
GISRC=/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/demolocation/.grassrc65 
GISBASE=/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu 
PATH=/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/bin:$PATH 
LD_LIBRARY_PATH="/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/lib:/usr/local/grass-6.5.svn/lib" 
g.parser -t r.surf.volcano | sed s/\"/\"/g | sed 's/.*/_("&")/' > 
/usr/local/grass-6.5.svn/locale/scriptstrings/r.surf.volcano_to_translate.c 
; true
/bin/sh: cannot create 
/usr/local/grass-6.5.svn/locale/scriptstrings/r.surf.volcano_to_translate.c: 
Directory nonexistent
make[1]: Leaving directory 
`/media/OS/Users/mbessjs3/Documents/grassdata/thingy/PERMANENT/.tmp/mbessjs3-pc/18662.0/r.surf.volcano'

make mancmd
make[1]: Entering directory 
`/media/OS/Users/mbessjs3/Documents/grassdata/thingy/PERMANENT/.tmp/mbessjs3-pc/18662.0/r.surf.volcano'
/usr/local/grass-6.5.svn/include/Make/Script.make:47: warning: 
overriding commands for target `install'
/usr/local/grass-6.5.svn/include/Make/Rules.make:82: warning: ignoring 
old commands for target `install'
make 
/usr/local/src/grass/develbranch_6/dist.i686-pc-linux-gnu/man/man1/r.surf

Re: [GRASS-user] Compiling addons - description.html

2009-08-12 Thread Markus Neteler
On Wed, Aug 12, 2009 at 6:51 PM, John
Stevenson wrote:
> Hi,
>
> When compiling addons,

If you use a recent GRASS 6.5 or 7, you just need to enter:

g.extension r.denoise
g.extension  r.surf.volcano

and everything should be installed.

> how do I make the description.html file that comes
> with the addon be installed as the help page that loads with g.manual?
>  Currently, I am getting a short page with just the commands as generated by
> g.parser.
>
> e.g. in grass-addons/raster/r.denoise, or r.surf.volcano
> sudo make MODULE_TOPDIR=/usr/local/grass-6.5.svn
> sudo make MODULE_TOPDIR=/usr/local/grass-6.5.svn install

If also g.extension fails, there might be a bug in the "install" part.
I tried here and I didn't have problems (but I am no Makefile expert).

Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Compiling addons - description.html

2009-08-12 Thread John Stevenson

Hi,

When compiling addons, how do I make the description.html file that  
comes with the addon be installed as the help page that loads with  
g.manual?  Currently, I am getting a short page with just the commands  
as generated by g.parser.


e.g. in grass-addons/raster/r.denoise, or r.surf.volcano
sudo make MODULE_TOPDIR=/usr/local/grass-6.5.svn
sudo make MODULE_TOPDIR=/usr/local/grass-6.5.svn install

Cheers

John

--
Dr John Stevenson
Postdoctoral Research Associate
School of Earth, Atmospheric and Environmental Sciences
Williamson Building
University of Manchester
Manchester M13 9PL
UK
tel. +44(0)161 306 9360; fax. +44(0)161 306 9361;
john.steven...@manchester.ac.uk

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Compiling addons from svn repository

2008-08-04 Thread gianluca massei
I've clean up a little bit r.roughset and I've write some explanation 
note. In the next weeks I'll improve documentation (and the English !)


Thanks

Gianluca


Moritz Lennert ha scritto:

On 04/08/08 14:52, gianluca massei wrote:

Thanks Moritz , great tip!
I'm working in a module that implemented ELECTRE algorithm.

I've just finisced a module named /r.roughset/ for knowledg discovery 
with rough set based on rough set library. You can download the 
source code from grass wiki 
(http://grass.osgeo.org/wiki/GRASS_AddOns#r.roughset) and I'm happy 
if sameone caould try it and report me tips or bugs.



It would be easier to test if the module description was a bit more 
elaborate. You should add a description.html with at least a 'Notes' 
section to explain the module and its parameters.


[BTW, you might want to clean up the source tar ball a bit and delete 
the temporary files it includes, i.e. r.roughset.tmp.html and the ~ 
files.]


Moritz


Database dei virus interno non c aggiornato.
Controllato da AVG - http://www.avg.com Versione: 8.0.138 / Database 
dei virus: 270.5.10/1584 -  Data di rilascio: 31/07/2008 12.00






___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Compiling addons from svn repository

2008-08-04 Thread Moritz Lennert

On 04/08/08 14:52, gianluca massei wrote:

Thanks Moritz , great tip!
I'm working in a module that implemented ELECTRE algorithm.

I've just finisced a module named /r.roughset/ for knowledg discovery 
with rough set based on rough set library. You can download the source 
code from grass wiki 
(http://grass.osgeo.org/wiki/GRASS_AddOns#r.roughset) and I'm happy if 
sameone caould try it and report me tips or bugs.



It would be easier to test if the module description was a bit more 
elaborate. You should add a description.html with at least a 'Notes' 
section to explain the module and its parameters.


[BTW, you might want to clean up the source tar ball a bit and delete 
the temporary files it includes, i.e. r.roughset.tmp.html and the ~ files.]


Moritz

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Compiling addons from svn repository

2008-08-04 Thread gianluca massei

Thanks Moritz , great tip!
I'm working in a module that implemented ELECTRE algorithm.

I've just finisced a module named /r.roughset/ for knowledg discovery 
with rough set based on rough set library. You can download the source 
code from grass wiki 
(http://grass.osgeo.org/wiki/GRASS_AddOns#r.roughset) and I'm happy if 
sameone caould try it and report me tips or bugs.

Gianluca

Moritz Lennert ha scritto:

On 04/08/08 13:39, gianluca massei wrote:

Hy list,
I'm writing a C module for multiciriteria decision analysis in GRASS. 


Great news ! I'm very interested in this.

If you haven't already, you might want to have a look at the old 
r.infer and r.weight modules in grass5.4. Also see the GRASS news 
article by Peter Löwe: http://grass.itc.it/newsletter/grassnews3.html.


Just one suggestion: it might be worthwhile thinking about error 
handling/propagation in such a module...



I've a problem with doublevalue  multiple answers processing.
The code is like that:
"
/weight = G_define_option();
 weight->key= "weight";
 weight->type   = TYPE_DOUBLE;
 weight->required   = YES;
 weight->multiple   = YES;  weight->description = _("Criteria 
weight(s) (w1,w2,..)");/

"

I'd like extract single value so, I tried this:
"
/for(i=0;ianswers[i]);
 }/
"


Not sure, but I think the ->answers are always string, so you have to 
transform to float with atof:


G_message(_("Peso %d : %lf"),i,atof(weight->answers[i]));

Moritz

Database dei virus interno non c aggiornato.
Controllato da AVG - http://www.avg.com Versione: 8.0.138 / Database 
dei virus: 270.5.10/1584 -  Data di rilascio: 31/07/2008 12.00






___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Compiling addons from svn repository

2008-08-04 Thread Moritz Lennert

On 04/08/08 13:39, gianluca massei wrote:

Hy list,
I'm writing a C module for multiciriteria decision analysis in GRASS. 


Great news ! I'm very interested in this.

If you haven't already, you might want to have a look at the old r.infer 
and r.weight modules in grass5.4. Also see the GRASS news article by 
Peter Löwe: http://grass.itc.it/newsletter/grassnews3.html.


Just one suggestion: it might be worthwhile thinking about error 
handling/propagation in such a module...



I've a problem with doublevalue  multiple answers processing.
The code is like that:
"
/weight = G_define_option();
 weight->key= "weight";
 weight->type   = TYPE_DOUBLE;
 weight->required   = YES;
 weight->multiple   = YES;  weight->description = _("Criteria 
weight(s) (w1,w2,..)");/

"

I'd like extract single value so, I tried this:
"
/for(i=0;ianswers[i]);
 }/
"


Not sure, but I think the ->answers are always string, so you have to 
transform to float with atof:


G_message(_("Peso %d : %lf"),i,atof(weight->answers[i]));

Moritz
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Compiling addons from svn repository

2008-08-04 Thread gianluca massei

Hy list,
I'm writing a C module for multiciriteria decision analysis in GRASS. 
I've a problem with doublevalue  multiple answers processing.

The code is like that:
"
/weight = G_define_option();
 weight->key= "weight";
 weight->type   = TYPE_DOUBLE;
 weight->required   = YES;
 weight->multiple   = YES;  weight->description = _("Criteria 
weight(s) (w1,w2,..)");/

"

I'd like extract single value so, I tried this:
"
/for(i=0;ianswers[i]);
 }/
"
but the value is always 0..
I'm not a guru.  Is there  anybody so patient to help me?

Thanks

Gianluca

P.S. I'm afraid  this is the second message posted to list. Exuse me!

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Compiling addons from svn repository

2008-08-04 Thread Nikos Alexandris
If you install GRASS with "sudo apt-get install grass" this does
everything for you and you don't need to compile anything.

Although you could get also the source with apt-get (don't know exactly
how right now and where it will be placed), you can decide to create a
source directory for all of your "geo-source
codes" (e.g. /home/nik/source or /usr/local/src --- it doesn't matter I
think where it is but you have to give full read-write-execute access to
your login) and "draw" the source codes with svn as it is described in
[1]: svn checkout https://svn.osgeo.org/grass/grass-addons grass-addons

Another "svn" example is: svn checkout
https://svn.osgeo.org/grass/grass/trunk grass_trunk 
This will get the trunk(=grass7) source code and put it in a directory
called "grass_trunk" (look at last argument of the above command) within
the directory from where you execute the command. So if you are
currently in /home/eduardo the "grass_trunk" directory will be created
in /home/eduardo.

More "linux" examples in [2]

Greetings, Nikos

[1] http://grass.osgeo.org/download/index.php

[2] http://grass.osgeo.org/wiki/Compile_and_Install


___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Compiling addons from svn repository

2008-08-01 Thread Nikos Alexandris
On Fri, 2008-08-01 at 13:05 +0300, Nikos Alexandris wrote:
> Next you have to point "make" to the GRASS installation directory (not
> the source!), something like:
> make MODULE_TOPDIR=usr/local/grass-6.4.svn

Sorry. Details are important.
make MODULE_TOPDIR=/usr/local/grass-6.4.svn

> Finally you have to re-run "sudo make install" from within the
> GRASS-source directory.

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Compiling addons from svn repository

2008-08-01 Thread Nikos Alexandris
On Fri, 2008-08-01 at 11:58 +0200, Eduardo corbelle wrote:
> Dear all:
> 
> I would like to install an add-on for GRASS 6.3.1 called i.pr that
> appears to be available on the svn repository. I never used the svn
> repository so I find it a bit challenging (I cannot fully understand
> the instructions on
> http://www.hpcc.nectec.or.th/grass/download/addons.php). Could anyone
> tell me which code should I write at the bash in order to download and
> compile the add-on? (any detailed link would do).
[...]

Assuming you have a working grass installation and you have downloaded the 
grass-addons, enter the grass-addon directory of you interest (for example if 
you want to install i.pr):
cd /your-path/grass-addons/imagery/i.pr/


Next you have to point "make" to the GRASS installation directory (not the 
source!), something like:
make MODULE_TOPDIR=usr/local/grass-6.4.svn

Finally you have to re-run "sudo make install" from within the GRASS-source 
directory.

That should do it.
Greets, Nikos

P.S. I can't get i.pr working. I've read the help files and the tried the 
example commands but I always get a Black image when I run i.pr_training. If 
you have any success could you please post an example?


___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Compiling addons from svn repository

2008-08-01 Thread Eduardo corbelle
Dear all:

I would like to install an add-on for GRASS 6.3.1 called i.pr that appears
to be available on the svn repository. I never used the svn repository so I
find it a bit challenging (I cannot fully understand the instructions on
http://www.hpcc.nectec.or.th/grass/download/addons.php). Could anyone tell
me which code should I write at the bash in order to download and compile
the add-on? (any detailed link would do).

Thank you very much


Eduardo Corbelle

PS: I'm not sure whether it is relevant, but I'm running grass on Debian
Lenny and I have the Subversion client installed.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user