[R] Installation problems on Solaris 2.6

Ed Hughes ehughes at mrco2.carleton.ca
Fri Sep 3 20:09:28 CEST 2004


I am trying to install R 1.9.1 on a 5-year-old Sun:  here is the
description:

version
Machine hardware:   sun4u
OS version:         5.6
Processor type:     sparc
Hardware:           SUNW,Ultra-4
The following components are installed on your system:
Sun Visual WorkShop C++ 3.0
         Sun WorkShop Compiler C 4.2 
         Sun WorkShop Compiler C++ 4.2 
         Sun WorkShop Tools.h++ 7.0 
         Sun WorkShop Tools.h++ 6.0.4 
         Sun WorkShop Visual 2.0 
         Sun WorkShop IPE 4.0 
         Sun WorkShop CodeManager 2.0 
         Sun WorkShop Distributed Make 2.0 
         Sun WorkShop FileMerge 3.0 
         Sun WorkShop FreezePoint 2.0 
         Sun WorkShop Maketool 2.0 
         Sun WorkShop VersionTool 2.0 
         Sun WorkShop Dbx 4.0 
         Sun WorkShop Performance Analyzer 4.0 
         Sun WorkShop LoopTool 2.1 
         Sun WorkShop LockLint 2.1 
         Sun WorkShop Thread Analyzer 1.2 
         Sun WorkShop XEmacs 20.00 
Sun WorkShop Professional C 3.0
         Sun WorkShop Compiler C 4.2 
         Sun WorkShop IPE 4.0 
         Sun WorkShop Dbx 4.0 
         Sun WorkShop Performance Analyzer 4.0 
         Sun WorkShop IPE 4.0 
Sun WorkShop Compiler FORTRAN 77 4.2 
Sun WorkShop Compiler Fortran 90 1.2 
Sun Performance Library 1.2 

Here are the lines I changed in config.site:
R_PAPERSIZE=letter
CC="cc -xarch=v8plusa"
CFLAGS="-xO3 -dalign"
F77="f90 -xarch=v8plusa"
FFLAGS="-xO3 -dalign"
MAIN_LDFLAGS="-xarch=v8plusa"
LDFLAGS=-L/opt/SUNWspro/lib
CXX="CC -xarch=v8plusa"
CXXFLAGS="-xO3 -dalign"
BLAS_LIBS="-xlic_lib=sunperf"
LAPACK_LIBS="-xlic_lib=sunperf"

The configure step finished apparently OK.  Then the make step failed;
here are the last few lines of the screen log:

CDIR$          NEXT SCALAR
                ^           
cf90-801 f90comp: WARNING DTGEVC, File = dlapack3.f, Line = 21520, Column = 16 
   Unsupported compiler directive.

f90: SunSoft F90 Version 1.0.1.0  (23279289) Thu Sep  2, 2004  15:24:02
f90: COMPILE TIME 103.070000 SECONDS
f90: MAXIMUM FIELD LENGTH 17338406 DECIMAL WORDS
f90: 30323 SOURCE LINES
f90: 0 ERRORS, 6 WARNINGS, 0 OTHER MESSAGES, 0 ANSI
f90: CODE: 5644483 WORDS, DATA: 468584 WORDS
mv .libs/dlapack3.o dlapack3.lo
f90 -xarch=v8  -PIC  -xO3 -dalign -c cmplx.f -o .libs/cmplx.o
f90: Warning: Option -PIC passed to ld, if ld is invoked, ignored otherwise

       DOUBLE COMPLEX   FUNCTION ZLADIV( X, Y )
       ^                                        
cf90-702 f90comp: ERROR $MAIN, File = cmplx.f, Line = 9605, Column = 7 
   Type double complex is not supported with -ep.

f90: SunSoft F90 Version 1.0.1.0  (23279289) Thu Sep  2, 2004  15:25:52
f90: COMPILE TIME 84.880000 SECONDS
f90: MAXIMUM FIELD LENGTH 13488166 DECIMAL WORDS
f90: 19239 SOURCE LINES
f90: 1 ERRORS, 0 WARNINGS, 0 OTHER MESSAGES, 0 ANSI
f90: CODE: 4649293 WORDS, DATA: 145564 WORDS
*** Error code 1
make: Fatal error: Command failed for target `cmplx.lo'
Current working directory /disk4/home4/ehug/newSoft/R-1.9.1/src/modules/lapack
*** Error code 1
make: Fatal error: Command failed for target `R'
Current working directory /disk4/home4/ehug/newSoft/R-1.9.1/src/modules/lapack
*** Error code 1
make: Fatal error: Command failed for target `R'
Current working directory /disk4/home4/ehug/newSoft/R-1.9.1/src/modules
*** Error code 1
make: Fatal error: Command failed for target `R'
Current working directory /disk4/home4/ehug/newSoft/R-1.9.1/src
*** Error code 1
make: Fatal error: Command failed for target `R'


I don't know f90; can anybody tell me what went wrong? 

Following this failure, I tried again with f77, having built a netlib
generic BLAS static library.  This went through the make step seemingly
OK, but on "make check" it failed.  I found that R would start and do 
simple things, but when I tried linear algebra, it gave errors, saying
it couldn't load the Lapack library. 

Any help would be appreciated.

--Ed Hughes




More information about the R-help mailing list