From Gerrit.Eichner at math.uni-giessen.de  Sat Aug 21 19:49:49 2004
From: Gerrit.Eichner at math.uni-giessen.de (Gerrit Eichner)
Date: Sat Aug 21 19:50:08 2004
Subject: [Rd] Problem loading library Matrix on Solaris machine
In-Reply-To: <Pine.LNX.4.44.0408191421270.10774-100000@gannet.stats>
References: <Pine.LNX.4.44.0408191421270.10774-100000@gannet.stats>
Message-ID: <Pine.A41.4.58.0408211944480.14994@e1.hrz.uni-giessen.de>

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
 gerrit.eichner@math.uni-giessen.de     Justus-Liebig-University Giessen
 Tel: +49-(0)641-99-32104            Arndtstr. 2, 35392 Giessen, Germany
 Fax: +49-(0)641-99-32029      http://www.math.uni-giessen.de/Stochastik


[Rd] Problem loading library Matrix on Solaris machine
Gerrit Eichner