On Wed, 16 Apr 2008, Markus Neteler wrote:
Roger Bivand wrote:
On Wed, 16 Apr 2008, Dylan Beaudette wrote:
> On Wed, Apr 16, 2008 at 7:26 AM, Roger Bivand <Roger.Bivand@nhh.no> > wrote:
> > On two very similar systems built today from the RC6 tarball (i686 > > RHEL5,
> > F7), I see that G_OPT_R_OUTPUT gets defined on F7 as "base", and the
> > traditional "output" on RHEL5. The tarballs have the same md5sums. > > Why?
> > > > r.in.gdal, r.in.ascii, r.los and r.in.bin (at least) are affected.
> > > > lib/gis/parser.c sets Opt->key to "output" in both, and G_OPT_R_BASE > > is a
> > different entry in the enum definition. I find this puzzling ...
> > > > Roger
> > Hi Roger,
> > Did you do a:
> > make distclean
> > before compiling the source?
Hi,
I used the tarball, and untarred to a fresh directory. Should I still have
said make distclean? I'll try - but why the different behaviour? The
windows native binary is "output".
Dear Roger,
on a fresh tarball "make distclean" isn't needed.
I suspect that your binaries pick a wrong library. Could
you check with "ldd"?
I am using the release branch in production and didn't come
across this problem.
This is possible - both affected systems, the F7 system refered to above - documented here:
GRASS 6.3.0RC6 (spearfish60):~ > r.in.bin --interface-description
<?xml version="1.0" encoding="ANSI_X3.4-1968"?>
<!DOCTYPE task SYSTEM "grass-interface.dtd">
<task name="r.in.bin">
<description>
...
</parameter>
<parameter name="output" type="string" required="yes" multiple="no">
<description>
Name for output raster map
</description>
...
GRASS 6.3.0RC6 (spearfish60):~ > R
R version 2.6.2 (2008-02-08)
Copyright (C) 2008 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
...
system("r.in.bin --interface-description")
<?xml version="1.0" encoding="ANSI_X3.4-1968"?>
<!DOCTYPE task SYSTEM "grass-interface.dtd">
<task name="r.in.bin">
<description>
...
</parameter>
<parameter name="base" type="string" required="yes" multiple="no">
<description>
Name of base raster map
</description>
...
and an odd problem on a Cygwin 6.2.3 installation
(key modules do not write to stderr or stdout, documented in: http://spatial.nhh.no/misc/cw.png) - problem started after updating cygwin packages last night,
have odd/stale things in the GRASS_LD_LIBRARY_PATH and in PATH (or LD path) environment variables. I don't have ldd on Cygwin, but will look under F7.
I was just checking a few extra systems to see how the R interface worked on the final RC before release, that's why I'm asking.
Roger
Markus
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand@nhh.no