[R] Problems installing R-2.4.1 on Solaris 11 x-86 from source: error in "gmake" after successful "configure"

廖宮毅 gongyi.liao at msa.hinet.net
Fri Feb 2 04:58:22 CET 2007


On Thu, 2007-02-01 at 20:39 +0000, Prof Brian Ripley wrote:
> What is 'Solaris 11'?  According to www.sun.com, the latest Solaris 
> version is 10, and my sysadmins have not heard of Solaris 11.
> 
That is the solaris express community release, or the pre-release of the
upcoming OpenSolaris
http://www.opensolaris.org

> You seem to be missing the Solaris compilation tools, ar in this case.
> In Solaris <= 10 they are in /usr/ccs/bin, not in the path by default.
> 
> On Wed, 31 Jan 2007, Octavio Tourinho wrote:
> 
> > Dear friends,
> > I am trying to install R-2.4.1 from source on Solaris 11 x-86. 64 bits,
> 
> There is 32-bit x86 and 64-bit amd64 or x86_64.
> 
> > running on Sun Ultra-20 workstation, and using the SunStudio 11 compilers.
> > I was able to "configure" R correctly, but received an error in "gmake", 
> > aparently related to bzip2 which I have been unable to debug.
> > The messages are listed below.
> > The configure.log and configure.status files are attached.
> >
> > Any help would be sincerely appreciated.
> >
> > Octavio Tourinho
> >
> > =============================================
> > R is now configured for i386-pc-solaris2.11
> >
> > Source directory:          .
> > Installation directory:    /usr/local
> >
> > C compiler:                gcc -std=gnu99 -D__NO_MATH_INLINES -g -O2
> > Fortran 77 compiler:       g77  -g -O2
> >
> > C++ compiler:              g++  -g -O2
> > Fortran 90/95 compiler:    f95 -g
> >
> > Interfaces supported:      X11, tcltk
> > External libraries:        readline
> > Additional capabilities:   PNG, JPEG, NLS
> > Options enabled:           shared BLAS, R profiling
> >
> > Recommended packages:      yes
> >
> > configure: WARNING: you cannot build DVI versions of the R manuals
> > configure: WARNING: you cannot build PDF versions of the R manuals
> > # gmake
> > gmake[1]: Entering directory `/usr/local/R-2.4.1/m4'
> > gmake[1]: Nothing to be done for `R'.
> > gmake[1]: Leaving directory `/usr/local/R-2.4.1/m4'
> > gmake[1]: Entering directory `/usr/local/R-2.4.1/tools'
> > gmake[1]: Nothing to be done for `R'.
> > gmake[1]: Leaving directory `/usr/local/R-2.4.1/tools'
> > gmake[1]: Entering directory `/usr/local/R-2.4.1/doc'
> > gmake[2]: Entering directory `/usr/local/R-2.4.1/doc/html'
> > gmake[3]: Entering directory `/usr/local/R-2.4.1/doc/html/search'
> > gmake[3]: Leaving directory `/usr/local/R-2.4.1/doc/html/search'
> > gmake[2]: Leaving directory `/usr/local/R-2.4.1/doc/html'
> > gmake[2]: Entering directory `/usr/local/R-2.4.1/doc/manual'
> > gmake[2]: Nothing to be done for `R'.
> > gmake[2]: Leaving directory `/usr/local/R-2.4.1/doc/manual'
> > gmake[1]: Leaving directory `/usr/local/R-2.4.1/doc'
> > gmake[1]: Entering directory `/usr/local/R-2.4.1/etc'
> > gmake[1]: Leaving directory `/usr/local/R-2.4.1/etc'
> > gmake[1]: Entering directory `/usr/local/R-2.4.1/share'
> > gmake[1]: Leaving directory `/usr/local/R-2.4.1/share'
> > gmake[1]: Entering directory `/usr/local/R-2.4.1/src'
> > gmake[2]: Entering directory `/usr/local/R-2.4.1/src/scripts'
> > creating src/scripts/R.fe
> > gmake[3]: Entering directory `/usr/local/R-2.4.1/src/scripts'
> > gmake[3]: Leaving directory `/usr/local/R-2.4.1/src/scripts'
> > gmake[2]: Leaving directory `/usr/local/R-2.4.1/src/scripts'
> > gmake[2]: Entering directory `/usr/local/R-2.4.1/src/include'
> > config.status: creating src/include/config.h
> > config.status: src/include/config.h is unchanged
> > Rmath.h is unchanged
> > gmake[3]: Entering directory `/usr/local/R-2.4.1/src/include/R_ext'
> > gmake[3]: Nothing to be done for `R'.
> > gmake[3]: Leaving directory `/usr/local/R-2.4.1/src/include/R_ext'
> > gmake[2]: Leaving directory `/usr/local/R-2.4.1/src/include'
> > gmake[2]: Entering directory `/usr/local/R-2.4.1/src/extra'
> > gmake[3]: Entering directory `/usr/local/R-2.4.1/src/extra/blas'
> > gmake[4]: Entering directory `/usr/local/R-2.4.1/src/extra/blas'
> > gmake[4]: `libRblas.so' is up to date.
> > gmake[4]: Leaving directory `/usr/local/R-2.4.1/src/extra/blas'
> > gmake[4]: Entering directory `/usr/local/R-2.4.1/src/extra/blas'
> > /usr/local/R-2.4.1/lib/libRblas.so is unchanged
> > gmake[4]: Leaving directory `/usr/local/R-2.4.1/src/extra/blas'
> > gmake[3]: Leaving directory `/usr/local/R-2.4.1/src/extra/blas'
> > gmake[3]: Entering directory `/usr/local/R-2.4.1/src/extra/bzip2'
> > gmake[4]: Entering directory `/usr/local/R-2.4.1/src/extra/bzip2'
> > gmake[4]: Leaving directory `/usr/local/R-2.4.1/src/extra/bzip2'
> > gmake[4]: Entering directory `/usr/local/R-2.4.1/src/extra/bzip2'
> > rm -f libbz2.a
> > false cr libbz2.a blocksort.o bzlib.o compress.o crctable.o decompress.o 
> > huffman.o randtable.o
> > gmake[4]: *** [libbz2.a] Error 1
> > gmake[4]: Leaving directory `/usr/local/R-2.4.1/src/extra/bzip2'
> > gmake[3]: *** [R] Error 2
> > gmake[3]: Leaving directory `/usr/local/R-2.4.1/src/extra/bzip2'
> > gmake[2]: *** [R] Error 1
> > gmake[2]: Leaving directory `/usr/local/R-2.4.1/src/extra'
> > gmake[1]: *** [R] Error 1
> > gmake[1]: Leaving directory `/usr/local/R-2.4.1/src'
> > gmake: *** [R] Error 1
> > ============================================================
> >
> 
I have build R-2.4.1 on my Solaris 11 box (which is, the Nevada build
55) which Sun studio 11's CC, but the configure file cannot detect the
malloc of SUN's, my installed R is using GNU malloc.



More information about the R-help mailing list