is r.stream.stats available for G6 on linux?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

is r.stream.stats available for G6 on linux?

madi
Hi devs,

I was checking the status of the availability of addons [1] and I am surprised to find out that some addons compile on windows but not on linux (GRASS 6), I'm talking about some r.stream.*, particularly r.stream.stats, which is a dependency of r.basin. Checking the log [2] it seems a problem in the variable declaration, so to my (poor) understanding, it looks kinda weird that does not have problem in windows as well... I don't know if it would be worth to give it another try before opening a ticket? what do you think?

Thanks and best regards

madi


[1] http://grass.osgeo.org/download/addons/
[2] http://grass.osgeo.org/addons/grass6/logs/r.stream.stats.log

--
Best regards,

Margherita DI LEO    
Postdoctoral Researcher

European Commission - DG JRC 
Institute for Environment and Sustainability (IES)
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261
       
Tel. +39 0332 78 3600   

Disclaimer: The views expressed are purely those of the writer and may not in any circumstance be regarded as stating an official position of the European Commission.

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: is r.stream.stats available for G6 on linux?

Markus Neteler
On Wed, Mar 13, 2013 at 12:14 PM, Margherita Di Leo
<[hidden email]> wrote:
> Hi devs,
>
> I was checking the status of the availability of addons [1] and I am
> surprised to find out that some addons compile on windows but not on linux
> (GRASS 6), I'm talking about some r.stream.*, particularly r.stream.stats,
> which is a dependency of r.basin. Checking the log [2] it seems a problem in
> the variable declaration,

Yes, it was not done in a way satisfying current gcc compiler versions:

...
/home/neteler/grass-addons/grass6/raster/r.stream.stats/print_stats.c:8:
multiple definition of `fifo_outlet'
OBJ.x86_64-unknown-linux-gnu/io.o:/home/neteler/grass-addons/grass6/raster/r.stream.stats/io.c:5:
first defined here
OBJ.x86_64-unknown-linux-gnu/print_stats.o: In function `print_stats':
/home/neteler/grass-addons/grass6/raster/r.stream.stats/print_stats.c:8:
multiple definition of `tail'
OBJ.x86_64-unknown-linux-gnu/io.o:/home/neteler/grass-addons/grass6/raster/r.stream.stats/io.c:5:
first defined here
OBJ.x86_64-unknown-linux-gnu/print_stats.o: In function `print_stats':
/home/neteler/grass-addons/grass6/raster/r.stream.stats/print_stats.c:12:
multiple definition of `head'
OBJ.x86_64-unknown-linux-gnu/io.o:/home/neteler/grass-addons/grass6/raster/r.stream.stats/io.c:5:
first defined here
OBJ.x86_64-unknown-linux-gnu/print_stats.o: In function `print_stats':
...

The author(s) or a volunteer needs to fix that. My last attempts were
suboptimal,
not really my domain :-)

Markus
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: is r.stream.stats available for G6 on linux?

Martin Landa
Hi,

2013/3/13 Markus Neteler <[hidden email]>:

> The author(s) or a volunteer needs to fix that. My last attempts were
> suboptimal,
> not really my domain :-)

seems like global variables hell (@authors: don't use them if
possible). Compilation issue should be fixed in r55356.

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: is r.stream.stats available for G6 on linux?

Markus Neteler
On Wed, Mar 13, 2013 at 12:35 PM, Martin Landa <[hidden email]> wrote:

> Hi,
>
> 2013/3/13 Markus Neteler <[hidden email]>:
>
>> The author(s) or a volunteer needs to fix that. My last attempts were
>> suboptimal,
>> not really my domain :-)
>
> seems like global variables hell (@authors: don't use them if
> possible). Compilation issue should be fixed in r55356.

I have fixed likewise:
r.stream.angle r.stream.del r.stream.pos

Markus
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: is r.stream.stats available for G6 on linux?

madi


On Wed, Mar 13, 2013 at 3:01 PM, Markus Neteler <[hidden email]> wrote:
On Wed, Mar 13, 2013 at 12:35 PM, Martin Landa <[hidden email]> wrote:
> Hi,
>
> 2013/3/13 Markus Neteler <[hidden email]>:
>
>> The author(s) or a volunteer needs to fix that. My last attempts were
>> suboptimal,
>> not really my domain :-)
>
> seems like global variables hell (@authors: don't use them if
> possible). Compilation issue should be fixed in r55356.

I have fixed likewise:
r.stream.angle r.stream.del r.stream.pos

Thank you both!

--
Best regards,

Margherita DI LEO    
Postdoctoral Researcher

European Commission - DG JRC 
Institute for Environment and Sustainability (IES)
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261
       
Tel. +39 0332 78 3600   

Disclaimer: The views expressed are purely those of the writer and may not in any circumstance be regarded as stating an official position of the European Commission.

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev