[Rd] R-devel on alpha Tru64: cxml/dxml problem (PR#977)

Prof Brian Ripley ripley@stats.ox.ac.uk
Tue, 12 Jun 2001 09:43:03 +0100 (BST)


On Tue, 12 Jun 2001, Kurt Hornik wrote:

> >>>>> albrecht gebhardt writes:
>
> > Hi,
>
> > I just run a ./configure --enable-R-shlib; make; make check; with a
> recent > (11.6.2001) R-devel snapshot on Tru64 4.0F (with libcxml):
>
> > ...
>
>
> > I guess because we are using gcc/g77 and not DEC cc/f77 we cannot use
> > CXML/DXML libraries.
>
> > And indeed, make check succeeds with "--without-blas" added to the
> > configure options.
>
> > Solution:
>
> > I would suggest to modify the configure script not to use dxml/cxml on
> > alpha-tru64 by default.
>
> R developers: anyone against that?
>
> If not: Albrecht, can you suggest code which fixes the problem?  Should
> we turn off checking for dxml/cxml in general?  I'd rather not special

I think we should just remove the checks.  They are run on all platforms
even though only relevant to one, and they can in any case be specified
via -with-blas=foo for some `foo' (cxml or dxml, I think).

> case a specific platform (or even in combo with a specific compiler).

Even though we are in feature free, zapping the following lines in
m4/R.m4 seems innocent enough:

if test "x$BLAS_LIBS" = x; then
  # BLAS in Alpha CXML library?
  AC_CHECK_LIB(cxml, $dgemm_func, BLAS_LIBS="-lcxml", , $FLIBS)
fi

if test "x$BLAS_LIBS" = x; then
  # BLAS in Alpha DXML library? (now called CXML, see above)
  AC_CHECK_LIB(dxml, $dgemm_func, BLAS_LIBS="-ldxml", , $FLIBS)
fi

If we do this, we need to add the info to R-admin.texi.

Brian


-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._