From ripley at stats.ox.ac.uk  Fri Jan 30 09:28:37 2004
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Fri Jan 30 09:29:00 2004
Subject: [Rd] Developmental version of Matrix package for R-1.9.0
In-Reply-To: <6rekti5qno.fsf@bates4.stat.wisc.edu>
Message-ID: <Pine.LNX.4.44.0401300803230.974-100000@gannet.stats>

On 29 Jan 2004, Douglas Bates wrote:

> I recently uploaded a developmental version of the Matrix package,
> Matrix_0.6-1.tar.gz, to CRAN where it is in the
> src/contrib/1.9.0/Other directory.  It requires some of the packages
> that will appear in R-1.9.0.

...

> I've only compiled and tested the package on Linux_x86 environments.
> I will be interested in whether Uwe is successful in building it for
> Windows and whether there are problems on 64-bit machines.

I don't think Uwe builds on R-devel routinely.  It didn't work for me and 
I will send you a patch when I have resolved this.


It also did not build under Linux (RH8.0 + gcc 3.3.2), as

Metis/proto.h:462: error: conflicting types for `__log2'
/usr/include/bits/mathcalls.h:145: error: previous declaration of `__log2'


It did build on 64-bit Solaris, but failed to load Matrix.so, with

  ld.so.1: /home/markov/ripley/new/R/R64/bin/R.bin: fatal: relocation 
error: file 
/export/staff/ripley/new/R/Matrix.Rcheck/Matrix/libs/Matrix.so: symbol 
isinf: referenced symbol not found

There appears to be an attempted define for this in src/taucs/taucs.h,
but isinf is only used in an earlier define!  Again, patch to follow.


My impression was that the packages you are using had not been written 
very carefully, so there may be a lot more of this sort of thing.

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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


[Rd] Developmental version of Matrix package for R-1.9.0
Prof Brian Ripley