HowToBuildR ForSolaris: Difference between revisions

From BRF-Software
Jump to navigation Jump to search
imported>MichaelDondrup
No edit summary
imported>MichaelDondrup
No edit summary
Line 3: Line 3:


== Synopsis ==
== Synopsis ==
This pages gives some hints on how R and Boioconductor can be compiled using the Sun Compilers. This works at the [[CeBiTec]]. If you try that somwhere else your milage may vary. Most tips are given as shell commands.
This pages gives some hints on how R and Boioconductor can be compiled using the Sun Compilers. This works at the [[CeBiTec]]. If you try that somwhere else your milage may vary. Using gcc everything might be different.  Most tips are given as shell commands.


== Preconditions ==
== Preconditions ==
Line 30: Line 30:


== Reporting Problems ==
== Reporting Problems ==
* read [http://cran.r-project.org/doc/manuals/R-admin.html "R Installation and Administration" ] document from [ "http://cran.r-project.org/mirrors.html" "CRAN"]
* report build or compilation errors of R to the '''R-devel''' mailing list not to R-help
* report build or compilation errors of R to the '''R-devel''' mailing list not to R-help
* report error in Bioconductor errors to the bioconductor mailing list not to R
* report error in Bioconductor errors to the bioconductor mailing list not to R
Line 41: Line 42:
* http://cran.r-project.org/mirrors.html and choose a mirror
* http://cran.r-project.org/mirrors.html and choose a mirror
* if having problems with building, use R-patched: ftp://ftp.stat.math.ethz.ch/Software/R/
* if having problems with building, use R-patched: ftp://ftp.stat.math.ethz.ch/Software/R/
* check the md5 sums to verify package integrity <code><nowiki>  </nowiki></code>
* unpack the sources to your build directory: <code><nowiki> tar xvzf R-<rversion>.tar.gz  </nowiki></code>
* see the '''R Installation and Administration''' from CRAN document for more details

Revision as of 15:34, 8 April 2009

Tips how to build R and Bioconductor using the SunPro 12 Compiler Suite

Synopsis

This pages gives some hints on how R and Boioconductor can be compiled using the Sun Compilers. This works at the CeBiTec. If you try that somwhere else your milage may vary. Using gcc everything might be different. Most tips are given as shell commands.

Preconditions

Checking the versions of the compilers, yours should be same or higher:


dizzy~> which cc
/opt/SUNWspro/bin/cc
dizzy:~> cc -V
cc: Sun C 5.8 Patch 121015-06 2007/10/03
dizzy:~> which CC
/opt/SUNWspro/bin/CC
dizzy:~> CC -V
CC: Sun C++ 5.8 Patch 121017-17 2008/11/12
dizzy:~> which f95
/opt/SUNWspro/bin/f95
dizzy:~> f95 -V
f95: Sun Fortran 95 8.2 Patch 121019-10 2008/04/16
dizzy:~> uname -a
SunOS dizzy 5.10 Generic_118833-03 sun4u sparc SUNW,Sun-Fire-V440 Solaris


This information must as minimum be provided when reporting build problems.

Reporting Problems

  • read "R Installation and Administration" document from [ "http://cran.r-project.org/mirrors.html" "CRAN"]
  • report build or compilation errors of R to the R-devel mailing list not to R-help
  • report error in Bioconductor errors to the bioconductor mailing list not to R
  • before reporting an error you must download and try to build the latest R-patched from the R-homepage
  • search first for a related problem using search terms Sun Pro, Sun C, Solaris
  • add the output of the compiler including the error message
  • try to analyse the problem in depth before making any complaint, try to be helpful

Download sources