You will need both the Basic Linear Algebra Subroutines (BLAS) and a version of Lapack to install the Matrix package. I'm not sure if pre-compiled versions are available for Solaris 7. I believe that is a rather old version of the Sun OS. After R-1.7.0 is released in April, 2003 it should be possible to use the Matrix package on any platform with R as Brian Ripley has incorporated Lapack sources into the development version of R. I am sending a copy of this reply to the R-devel@R-project.org list in case someone reading that list can advise you on how to install Lapack and BLAS on Solaris 7 Tao Hou <thou_69@yahoo.com> writes:> I try to install Matrix package for R on my Sun Machine. The OS is Solaris 7 > Sparc Version. > > I conduct the following error message: > > bash-2.05# R INSTALL Matrix_0.3-21.tar.gz > * Installing *source* package 'Matrix' ... > checking for gcc... gcc...> ng for sgemm_... no > checking for ATL_xerbla in -latlas... no > checking for sgemm_ in -lblas... no > checking for sgemm_ in -lcxml... no > checking for sgemm_ in -ldxml... no > checking for sgemm_ in -lscs... no > checking for sgemm_ in -lcomplib.sgimath... no > checking for sgemm_ in -lblas... (cached) no > checking for sgemm_ in -lblas... (cached) no > configure: error: could not find your BLAS library > ERROR: configuration failed for package 'Matrix' > > could you tell me what is BLAS libray?
On 30 Jan 2003, Douglas Bates wrote:> You will need both the Basic Linear Algebra Subroutines (BLAS) and a > version of Lapack to install the Matrix package. I'm not sure if > pre-compiled versions are available for Solaris 7. I believe that is > a rather old version of the Sun OS.No, it's not. It's a currently supported version.> > After R-1.7.0 is released in April, 2003 it should be possible to use > the Matrix package on any platform with R as Brian Ripley has > incorporated Lapack sources into the development version of R. > > I am sending a copy of this reply to the R-devel@R-project.org list in > case someone reading that list can advise you on how to install Lapack > and BLAS on Solaris 71) Use the SunPro compiler (if you have it) and -lsunperf, and skip the configure steps. 2) get the sources from netlib and compile them: it works out of the box. It will be much easier come 1.7.0, as Doug says. -- 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