[GRASS-dev] WinGRASS r.cats missing

Hi all,

some days ago a user reported me that r.cats is missing in WinGRASS, at it seemed very strange to me, because r.cats is not listed in error.log… but it’s actually missing! Right now I’m building RC6 and I checked the make instructions flow to find out why… and I found as follows:

ln -s -f r.category /usr/local/src/grass-6.3.0RC6/dist.i686-pc-mingw32/bin/r.cats
ln: creating symbolic link /usr/local/src/grass-6.3.0RC6/dist.i686-pc-mingw32/bin/r.cats' to r.category’: No such file or directory
make[2]: [default] Error 1 (ignored)

attached the whole part of make messages related to r.cats

what should I do?

OT: I just add a little OT here, and never post about that in the future. Even if I felt very sad by the behaviour of some persons in the list, I’ll continue to contribuite to the GRASS community. I’m not so smart as the others in the dev-team, but I just wanted to contribute… some friends tell me that I’m crazy to always work for FREE in dev-communities as I’m used to, but I do it because I like it and I believe in OpenSource… BTW, some hard sentences against me and what I did, let me think that, probably, my friends are right!

Marco

(attachments)

r.cats-make.txt (3.76 KB)

marco.pasetti wrote:

some days ago a user reported me that r.cats is missing in WinGRASS, at
it seemed very *strange* to me, because r.cats is not listed in
error.log... but it's actually missing! Right now I'm building RC6 and
I checked the *make instructions flow* to find out why... and I found
as follows:

ln -s -f r.category
/usr/local/src/grass-6.3.0RC6/dist.i686-pc-mingw32/bin/r.cats
ln: creating symbolic link
`/usr/local/src/grass-6.3.0RC6/dist.i686-pc-mingw32/bin/r.cats' to
`r.category': No such file or directory

...

what should I do?

r.cats was renamed r.category -- just use the new name.
For backwards compatibility a symbolic link to the old name is created,
but I guess those don't work in MS Windows. If someone cares about that
they'll have to figure out how to make Windows shortcuts instead of UNIX
'ln -s'.

OT: I just add a little OT here, and never post about that in the
future. Even if I felt very sad by the behaviour of some persons in the
list, I'll continue to contribuite to the GRASS community. I'm not so
*smart* as the others in the dev-team, but I just wanted to
contribute... some friends tell me that I'm *crazy* to always work for
FREE in dev-communities as I'm used to, but I do it because I like it
and I believe in OpenSource... BTW, some hard *sentences* against me
and what I did, let me think that, probably, my friends are right!

hey, I don't think anyone was really meaning to insult you personally,
and many here will thank you for your help. Don't mistake the refusal of
a patch or idea or whatever with a judgment on your ability, it is
usually just a comment on how well the gift fits in with the project as a
whole. An "easy" solution, even if it works well, will often be rejected
if it is known deep-down not to be the "right" solution. Otherwise after
a while we would end up with a giant pile of bandages but still bleed to
death, if you get my meaning. So it is really a matter of self-discipline
in an attempt to maintain the highest standards, which can sound harsh
but really isn't so.

Actually I have always been very impressed by the maturity and absence of
flame wars/egos on the grass lists as opposed to other mailing lists and
forums I have followed. It's one of the main reasons I've stuck around.

see the section in the mailing list etiquette wiki page which discusses
"growing a thick skin". it helps :slight_smile: just try to throw out some ideas,
some wil be good and stick, some will be bad and won't. shrug, don't take
it personally- better to spend that energy/time on new ideas.

Hamish

      ____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs

Hamish wrote:

> some days ago a user reported me that r.cats is missing in WinGRASS, at
> it seemed very *strange* to me, because r.cats is not listed in
> error.log... but it's actually missing! Right now I'm building RC6 and
> I checked the *make instructions flow* to find out why... and I found
> as follows:
>
> ln -s -f r.category
> /usr/local/src/grass-6.3.0RC6/dist.i686-pc-mingw32/bin/r.cats
> ln: creating symbolic link
> `/usr/local/src/grass-6.3.0RC6/dist.i686-pc-mingw32/bin/r.cats' to
> `r.category': No such file or directory
...
> what should I do?

r.cats was renamed r.category -- just use the new name.
For backwards compatibility a symbolic link to the old name is created,
but I guess those don't work in MS Windows. If someone cares about that
they'll have to figure out how to make Windows shortcuts instead of UNIX
'ln -s'.

IMHO, we should use a script instead; see d.text.freetype and
d.font.freetype for examples.

--
Glynn Clements <glynn@gclements.plus.com>

Hi Markus,

I did as follows

ln -s -f /usr/local/src/grass-6.3.0RC6/dist.i686-pc-mingw32/bin/r.category /usr/local/src/grass-6.3.0RC6/dist.i686-pc
-mingw32/bin/r.cats

and it created the symbolic link.
When executed, the command line was in /usr/local/src/grass-6.3.0RC6/raster/r.cats, so it’s natural that it didn’t found r.category.

Could it be ok? (I need to complete the packaging before to test it)

Marco


Da: neteler.osgeo@gmail.com per conto di Markus Neteler
Inviato: mer 26/03/2008 13.23
A: marco.pasetti@alice.it
Oggetto: Re: [GRASS-dev] WinGRASS r.cats missing

Ciao again,

I have now seen that “ln” fails. Could you try

MKLINK Link Target
? If that works, we could implement a link tool
selector.

grazie
markus

On Wed, Mar 26, 2008 at 12:24 PM, Markus Neteler neteler@osgeo.org wrote:

Ciao Marco,

it is called r.category
:slight_smile:

Does this help?

Markus

On Wed, Mar 26, 2008 at 11:43 AM, marco.pasetti@alice.it wrote:

Hi all,

some days ago a user reported me that r.cats is missing in WinGRASS, at it
seemed very strange to me, because r.cats is not listed in error.log…
but it’s actually missing! Right now I’m building RC6 and I checked the
make instructions flow to find out why… and I found as follows:

ln -s -f r.category
/usr/local/src/grass-6.3.0RC6/dist.i686-pc-mingw32/bin/r.cats
ln: creating symbolic link
/usr/local/src/grass-6.3.0RC6/dist.i686-pc-mingw32/bin/r.cats' to r.category’: No such file or directory
make[2]: [default] Error 1 (ignored)

attached the whole part of make messages related to r.cats

what should I do?

OT: I just add a little OT here, and never post about that in the future.
Even if I felt very sad by the behaviour of some persons in the list, I’ll
continue to contribuite to the GRASS community. I’m not so smart as the
others in the dev-team, but I just wanted to contribute… some friends tell
me that I’m crazy to always work for FREE in dev-communities as I’m used
to, but I do it because I like it and I believe in OpenSource… BTW, some
hard sentences against me and what I did, let me think that, probably, my
friends are right!

Marco


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


Open Source Geospatial Foundation
http://www.osgeo.org/
http://www.grassbook.org/


Open Source Geospatial Foundation
http://www.osgeo.org/
http://www.grassbook.org/