[GRASS-user] d.histogram in 6.3?

Carlos "Guâno" Grohmann carlos.grohmann at gmail.com
Tue Oct 9 19:59:33 EDT 2007


Interesting, I use both version on my machine for a while and never
had any problem. 6.2 is from ubuntu packages and 6.3 from cvs.


> Check your $PATH and $LD_LIBRARY_PATH settings; also, try running "ldd
> $GISBASE/bin/d.histogram".

GRASS 6.3.cvs (kingston):~ > $PATH
bash: /usr/local/grass-6.3.cvs/bin:/usr/local/grass-6.3.cvs/scripts:/usr/local/gmt42/GMT4.2.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:
No such file or directory

GRASS 6.3.cvs (kingston):~ > $LD_LIBRARY_PATH
bash: /usr/local/grass-6.3.cvs/lib:/usr/lib: No such file or directory


GRASS 6.3.cvs (kingston):~ > ldd $GISBASE/bin/d.histogram
        linux-gate.so.1 =>  (0xffffe000)
        libgrass_display.so =>
/usr/local/grass-6.3.cvs/lib/libgrass_display.so (0xb7fd2000)
        libgrass_gis.so =>
/usr/local/grass-6.3.cvs/lib/libgrass_gis.so (0xb7f82000)
        libgrass_datetime.so =>
/usr/local/grass-6.3.cvs/lib/libgrass_datetime.so (0xb7f79000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7f64000)
        libgrass_raster.so =>
/usr/local/grass-6.3.cvs/lib/libgrass_raster.so (0xb7f5a000)
        libgrass_pngdriver.so =>
/usr/local/grass-6.3.cvs/lib/libgrass_pngdriver.so (0xb7f53000)
        libgrass_driver.so =>
/usr/local/grass-6.3.cvs/lib/libgrass_driver.so (0xb7f47000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7ed6000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7eb3000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7e75000)
        libgrass_psdriver.so =>
/usr/local/grass-6.3.cvs/lib/libgrass_psdriver.so (0xb7e71000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d27000)
        /lib/ld-linux.so.2 (0xb7fde000)
GRASS 6.3.cvs (kingston):~ >


Seems to me they all point to 6.3?


cheers


carlos




On 10/10/07, Glynn Clements <glynn at gclements.plus.com> wrote:
>
> "Carlos \"Guâno\" Grohmann" wrote:
>
> > > > > > Any changes to d.histogram in 6.3 cvs?
> > > > > > just updated and now I can't get a histogram. always got an error msg:
> > > > > >
> > > > > > <bgcolor> is not valid
> > > ..
> > > > Yes, what I meant is that this wasn't a "major upgrade" was a clean
> > > > system, fresh OS install, first time I downloaded from CVS in this
> > > > machine.
> > >
> > > what were the command line parameters you used?
> >
> > for d.histogram?
> >
> > d.histogram --q map=a17_25 at drumlims style=bar  color=0:0:0
> > bgcolor=255:255:255 nsteps=255
> >
> > straight from gis.m, just picked the map and got this:
> >
> >
> > Sorry, <bgcolor> is not a valid parameter
> >
> >
> > if I try in the CLI, without the bgcolor option, I get this:
> > ERROR: [|]: No such color
> >
> >
> > It works fine in 6.2.2..
>
> This is *definitely* caused by using a version of libgis which is
> incompatible with the d.histogram executable, e.g. using 6.2.2 libgis
> with 6.3-cvs d.histogram or vice-versa.
>
> Check your $PATH and $LD_LIBRARY_PATH settings; also, try running "ldd
> $GISBASE/bin/d.histogram".
>
> --
> Glynn Clements <glynn at gclements.plus.com>
>


-- 
+-----------------------------------------------------------+
              Carlos Henrique Grohmann - Guano
  Visiting Researcher at Kingston University London - UK
  Geologist M.Sc  - Doctorate Student at IGc-USP - Brazil
Linux User #89721  - carlos dot grohmann at gmail dot com
+-----------------------------------------------------------+
_________________
"Good morning, doctors. I have taken the liberty of removing Windows
95 from my hard drive."
--The winning entry in a "What were HAL's first words" contest judged
by 2001: A SPACE ODYSSEY creator Arthur C. Clarke

Can't stop the signal.




More information about the grass-user mailing list