Re: [Rd] Problem loading library Matrix on Solaris machine

From: Douglas Bates <>
Date: Mon 23 Aug 2004 - 01:23:17 EST

Gerrit Eichner wrote:
> Dear Prof. Ripley,
> thank you for your offer for assistance. Here are some more details from
> our sys admin (who sincerely thanks you for the hint to
> Matrix/src/taucs/taucs.h):
> --- the system administrator says: ---
> Since we don't have a license for the cc compiler anymore I have to use
> gcc. Trying to compile the Matrix package via the Makefile in Matrix/src
> doesn't work as this uses the cc compiler and I don't know how to change
> that in an appropriate way (there is no configure script for example).
> As I don't really understand how R compiles downloaded packages and how
> and where I could change the configuration for that, I tried the following
> dirty hack:
> - added '#define OSTYPE_solaris' in Matrix/src/taucs/taucs.h
> - made a new tarball (Matrix_0.8-10.tar.gz) of the directory Matrix
> - put PACKAGES and Matrix_0.8-10.tar.gz on my own website
> - installed the changed package via
> > options(CRAN = 'http://my_own_website...')
> > install.packages("Matrix")
> ... which did the trick. But where should OSTYPE_solaris really be set?
> --- end system administrator ---
> I hope these informations can shed some light onto our problem and assist
> you in tracking down the reason. Thanks again.
> Best regards -- Gerrit Eichner
> -------------------------------------------------------------------------
> AR Dr. Gerrit Eichner Mathematical Institute
> Justus-Liebig-University Giessen
> Tel: +49-(0)641-99-32104 Arndtstr. 2, 35392 Giessen, Germany
> Fax: +49-(0)641-99-32029
> ______________________________________________
> mailing list

The problem stems from my not understanding the configuration of the taucs package, which I have included in the Matrix package for one routine only. I configured the taucs package on a Linux machine then copied it into Matrix/src/taucs/.

Rather than redoing the taucs package so that it works properly I will probably use the LDL' form of the Cholesky decomposition from Tim Davis's LDL package and remove taucs entirely.

Watch for a new upload of the Matrix package in the next two days. mailing list Received on Mon Aug 23 01:33:26 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:45:08 EST