[R] building 2.11.1 on solaris 10

Dr. David Kirkby david.kirkby at onetel.net
Tue Jun 22 12:07:11 CEST 2010


On 06/15/10 08:07 PM, Coons, Don W wrote:
> Trying to get 2.11.1 built on a solaris 10 machine. This particular
> machine I do not have root access so I have just created an area under
> my home to use. I am currently having issues in the src/library area
> most specifically with getting the datasets area built. Here is the
> output form my most recent compile:
>
> building package 'datasets'
>
> all.R is unchanged
>
> ../../../library/datasets/R/datasets is unchanged
>
> Error in dyn.load(file, DLLpath = DLLpath, ...) :
>
>    unable to load shared library
> '/usr/stat/work/dwc/R/R-2.11.1/library/stats/libs/stats.so':
>
>    ld.so.1: R: fatal: relocation error: file
> /usr/stat/work/dwc/R/R-2.11.1/library/stats/libs/stats.so: symbol
> __i_abs: referenced symbol not found
>
> Calls:<Anonymous>  ... tryCatch ->  tryCatchList ->  tryCatchOne ->
> <Anonymous>
>
> Execution halted
>
> *** Error code 1
>
> The following command caused the error:
>
> echo "tools:::data2LazyLoadDB(\"datasets\", compress=3)" | \
>
>    R_DEFAULT_PACKAGES=NULL LC_ALL=C ../../../bin/R --vanilla --slave>
> /dev/null
>
> make: Fatal error: Command failed for target `all'
>
>
>
> Any specific help would be most appreciated, since I'm running out of
> ideas on my end.
>
>
>
> Thanks

You do not give a lot of information!

  * SPARC or x86?
  * A 32-bit or 64-bit build?
  * gcc or Sun Studio?

I've built 2.10.1 on 32-bit SPARC, though some of the optional modules do not 
install.

http://trac.sagemath.org/sage_trac/ticket/9201

Log at

http://sage.math.washington.edu/home/mpatel/trac/8306/r-2.10.1.p2.log

I have also tried 64-bit on OpenSolaris x64 using gcc, and that fails miserably.

http://trac.sagemath.org/sage_trac/ticket/9040

The R manual says only Sun Studio works on Solaris 11, but that did not work for 
me either. I was intending reporting that one day.

I don't recall seeing an error like yours I must admit.

Dave



More information about the R-help mailing list